Good one's............LVM Issues with IET

View: New views
2 Messages — Rating Filter:   Alert me  

Good one's............LVM Issues with IET

by himanshu padmanabhi :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Two more problems..................

1. Initiator is using one disk,Creates VG,LV on it.....automounts LV.............

    But these VG,LV become visible(accessible) on the target side also.......

    This is not desirable feature.........Right?...........Any solution??

    M using IET 16.1 and open-iscsi(865-0.2)..........................


2. Initiator is using one disk,Creates VG,LV on it.....automounts LV.............
  
    Writes some data on it...........

    It logouts that disk................Again logins to same disk..........

    Data written previously becomes Read Only.........

    Seems like LVM  couldn't understand login-logout funda's and got crashed......

    getting this error after "vgs".........

    /dev/sdh: read failed after 0 of 4096 at 0: Input/output error
    /dev/sdj: read failed after 0 of 4096 at 0: Input/output error

   2nd time login should allow me to access the data written at 1st time on the LV's.

   If i manually create partition,file system and mount it somewhere,then Data is accessible at the later logins...This is desirable.

   Solutions are most welcome!!!!!!!!!!!!!!!!!!
----------------------------------------------------------------------------
   

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Iscsitarget-devel mailing list
Iscsitarget-devel@...
https://lists.sourceforge.net/lists/listinfo/iscsitarget-devel

Parent Message unknown Re: Good one's............LVM Issues with IET

by rswwalker :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Re: [Iscsitarget-devel] Good one's............LVM Issues with IET

1) If you want to reset the target and have initiators re-connect you need to use iptables to block tcp port 3260 right before the reset then re-enable right after the reset. Reason being is as soon as the initiators get a port unreachable they will mark the volume failed (not offline but failed). If they don't get a response back they will keep trying until they connect or their iSCSI timeout limit is reached and then mark the volume as failed.

2) You MUST unmount a volume before you log out or else you will corrupt the file systems. Same is true for iSCSI as any other storage on Linux.

3) To prevent LVM Volumes from leaking on the target set exclusions for those PVs.

-Ross



----- Original Message -----
From: iscsitarget-devel-bounces@... <iscsitarget-devel-bounces@...>
To: iscsitarget-devel@... <iscsitarget-devel@...>
Sent: Thu Jun 19 08:17:44 2008
Subject: [Iscsitarget-devel] Good one's............LVM Issues with IET

Two more problems..................

1. Initiator is using one disk,Creates VG,LV on it.....automounts LV.............

    But these VG,LV become visible(accessible) on the target side also.......

    This is not desirable feature.........Right?...........Any solution??

    M using IET 16.1 and open-iscsi(865-0.2)..........................


2. Initiator is using one disk,Creates VG,LV on it.....automounts LV.............
  
    Writes some data on it...........

    It logouts that disk................Again logins to same disk..........

    Data written previously becomes Read Only.........

    Seems like LVM  couldn't understand login-logout funda's and got crashed......

    getting this error after "vgs".........

    /dev/sdh: read failed after 0 of 4096 at 0: Input/output error
    /dev/sdj: read failed after 0 of 4096 at 0: Input/output error

   2nd time login should allow me to access the data written at 1st time on the LV's.

   If i manually create partition,file system and mount it somewhere,then Data is accessible at the later logins...This is desirable.

   Solutions are most welcome!!!!!!!!!!!!!!!!!!
----------------------------------------------------------------------------
   


This e-mail, and any attachments thereto, is intended only for use by the addressee(s) named herein and may contain legally privileged and/or confidential information. If you are not the intended recipient of this e-mail, you are hereby notified that any dissemination, distribution or copying of this e-mail, and any attachments thereto, is strictly prohibited. If you have received this e-mail in error, please immediately notify the sender and permanently delete the original and any copy or printout thereof.
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Iscsitarget-devel mailing list
Iscsitarget-devel@...
https://lists.sourceforge.net/lists/listinfo/iscsitarget-devel
LightInTheBox - Buy quality products at wholesale price