[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Google
  Web www.spinics.net

RE: ISCSI Device Recovery after failure.



welcome. my pleasure.

ming

On Wed, 2005-11-09 at 15:56 -0600, Brian Kerhin wrote:
> WOW, ok that's a big change... I'll do some reading :).
> 
> Thanks a lot Ming.
> BK
> 
> -----Original Message-----
> From: Ming Zhang [mailto:mingz@xxxxxxxxxxx] 
> Sent: Wednesday, November 09, 2005 3:54 PM
> To: Brian Kerhin
> Cc: linux-iscsi development team
> Subject: RE:  ISCSI Device Recovery after failure.
> 
> http://open-iscsi.org/
> 
> it in fact is linux-iscsi 5.x. 2 projects merged quite a while ago.
> 
> ming
> 
> 
> On Wed, 2005-11-09 at 15:52 -0600, Brian Kerhin wrote:
> > I'm not familure with open-iscsi, could you give me some info on it??
> I
> > was only aware of cisco's linux iscsi implementation.
> > 
> > Thanks,
> > Brian
> > 
> > 
> > -----Original Message-----
> > From: Ming Zhang [mailto:mingz@xxxxxxxxxxx] 
> > Sent: Wednesday, November 09, 2005 3:50 PM
> > To: Brian Kerhin
> > Subject: RE:  ISCSI Device Recovery after failure.
> > 
> > On Wed, 2005-11-09 at 15:45 -0600, Brian Kerhin wrote:
> > > Checked via iscsi-ls and it still shows the same device name.
> > 
> > ic. i am not good at linux-iscsi. i use open-iscsi most of the time.
> > 
> > this is because the reference count on sda is not zero, so need to
> > reassign a device name.
> > 
> > 
> > > 
> > > If it became a new device name wouldn't that appear via that
> command?
> > > 
> > > Thanks,
> > > BK
> > > 
> > > -----Original Message-----
> > > From: Ming Zhang [mailto:mingz@xxxxxxxxxxx] 
> > > Sent: Wednesday, November 09, 2005 3:30 PM
> > > To: Brian Kerhin
> > > Cc: linux-iscsi-users@xxxxxxxxxxxxxxxxxxxxx
> > > Subject: Re:  ISCSI Device Recovery after
> failure.
> > > 
> > > check if it becomes sdb or something else.
> > > 
> > > ming
> > > 
> > > On Wed, 2005-11-09 at 15:18 -0600, Brian Kerhin wrote:
> > > > 
> > > > I need to know how to make a device usable again after it's
> failed.
> > > > 
> > > > I have an iscsi-target that I unplug the Ethernet card to. I then
> > run
> > > > iscsi-ls and after 5 seconds (my time out) the device shows it's
> > > > disconnected.
> > > > 
> > > > When I plug the target back in the initiator finds the target,
> says
> > > the
> > > > session is "ESTABLISHED" in iscsi-ls and the state shows "running"
> > in:
> > > > 
> > > > cat
> > /sys/class/iscsi_host/host3/device/target3\:0\:0/3\:0\:0\:0/state
> > > 
> > > > 
> > > > Yet when I run:
> > > > fdisk /dev/sda 
> > > > (the device was originally running on sda and iscsi-ls shows it's
> > > device
> > > > to be sda) the system says there is no sda.
> > > > 
> > > > If I restart the initiator software on the linux box the target
> > works
> > > > just fine again.
> > > > 
> > > > In my test environment I have 4 targets, I made the above example
> as
> > a
> > > > single target to make the explanation simple. When this test is
> done
> > > the
> > > > remaining 3 devices all work with out problem.
> > > > 
> > > > My Initiator is: 
> > > > Centos 4.2
> > > > Kernel: 2.6.9-22.0.1.EL
> > > > Iscsi: iscsi-initiator-utils-4.0.3.0-2
> > > > 
> > > > Iscsi.conf
> > > > 
> > > > ConnFailTimeout=5
> > > > DiskCommandTimeout=5
> > > > Continuous=yes
> > > > 
> > > > DiscoveryAddress=10.10.10.34
> > > > DiscoveryAddress=10.10.10.30
> > > > DiscoveryAddress=10.10.10.26
> > > > DiscoveryAddress=10.10.10.36 
> > > > 
> > > > How can I turn sda back on after a failure??
> > > > 
> > > > This problem by the way doesn't ALLWAYS happen, it's more likely
> to
> > > > happen if I leave the target unplugged for a long time (5 minutes
> or
> > > > more).
> > > > 
> > > > Thanks,
> > > > BK
> > > > 
> > > > 
> > > > 
> > > > -------------------------------------------------------
> > > > SF.Net email is sponsored by:
> > > > Tame your development challenges with Apache's Geronimo App
> Server.
> > > Download
> > > > it for free - -and be entered to win a 42" plasma tv or your very
> > own
> > > > Sony(tm)PSP.  Click here to play:
> > http://sourceforge.net/geronimo.php
> > > > _______________________________________________
> > > > linux-iscsi-users mailing list
> > > > linux-iscsi-users@xxxxxxxxxxxxxxxxxxxxx
> > > > https://lists.sourceforge.net/lists/listinfo/linux-iscsi-users
> > > 
> > > 
> > > 
> > 
> > 
> > 
> 
> 
> 



-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
linux-iscsi-users mailing list
linux-iscsi-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/linux-iscsi-users

[IP Storage]     [IETF]     [Linux SCSI]     [iSCSI Book]     [Linux Resources]     [Yosemite News]     [Photo]     [Home]     [IETF Announcements]     [IETF Discussion]     [SCSI Hardware]