[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Google
  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
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.

In this dir
/sys/class/iscsi_host/host3/device/target3\:0\:0/3\:0\:0\:0/

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
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]