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

Re: ISCSI Device Recovery after failure.

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

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.

In this dir

is there a "block" symlink that points to sda and make sure there is then a /dev node for sda.

Is there any /var/log/messages output?

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

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