On 08/24/2010 11:43 AM, agshekeloh wrote:
Hi,

I'm running open-iscsi 2.0-871, on Ubuntu 10.04 amd64, straight from
the operating system package.  Mounting an iSCSI drive works perfectly
when booting from a hard drive, but not when booting diskless via
NFS.  The iSCSI server is OpenSolaris.

The diskless node can discover the iSCSI node and log in:

# iscsiadm -m session -P1
Target: iqn.1986-03.com.sun:02:2293f889-f1bb-e764-e45f-b7931c6c86a5
         Current Portal: XXX.XXX.64.168:3260,1
         Persistent Portal: XXX.XXX.64.168:3260,1
                 **********
                 Interface:
                 **********
                 Iface Name: default
                 Iface Transport: tcp
                 Iface Initiatorname: iqn.1993-08.org.debian:
01:cd00198dd976
                 Iface IPaddress: XXX.XXX.199.20
                 Iface HWaddress:<empty>
                 Iface Netdev:<empty>
                 SID: 1
                 iSCSI Connection State: LOGGED IN
                 iSCSI Session State: LOGGED_IN
                 Internal iscsid Session State: NO CHANGE

I would expect to see /dev/sda at this point, but it doesn't appear.


What does iscsiadm -m session -P 3 print out? Could you also send the /var/log/messages output when you run the login command that fails to find disks.

Also if you do

echo - - - > /sys/class/scsi_host/hostX/scan

X is the host number you will see from the -P3 command.


Does that find disks (check /var/log/messages and /dev after the echo has completed).

--
You received this message because you are subscribed to the Google Groups 
"open-iscsi" group.
To post to this group, send email to open-is...@googlegroups.com.
To unsubscribe from this group, send email to 
open-iscsi+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/open-iscsi?hl=en.

Reply via email to