On 07/15/2010 12:21 PM, Christopher Barry wrote:
All,

having a perplexing problem: logging in 'kinda' works, but the device
never shows up (fdisk -l), but the /dev/disk-by/path link is there.


If you just fdisk /dev/sdX does it work? Does just the -l command not work? Is there any IO errors in /var/log/messages when you run that command?


when I try to logout, then back in I get this:


This looks like a sysfs compat issue.

What version of the iscsi tools are you using and for your kernel what is your CONFIG_SYSFS_DEPRECATED and CONFIG_SYSFS_DEPRECATED_V2 settings in your .config?

Older tools need them set to y. New tools can have it on or off.


thebox # iscsiadm -m node
-Tiqn.1992-01.com.lsi:1535.600a0b8000370de1000000004b7bc1df  -p
192.168.111.50 -u
iscsiadm: Could not get host for sid 1.
iscsiadm: could not get host_no for session 6.
iscsiadm: could not find session info for session1

thebox # iscsiadm -m node
-Tiqn.1992-01.com.lsi:1535.600a0b8000370de1000000004b7bc1df  -p
192.168.111.50 -l
Logging in to [iface: default, target:
iqn.1992-01.com.lsi:1535.600a0b8000370de1000000004b7bc1df, portal:
192.168.111.50,3260]
iscsiadm: Could not login to [iface: default, target:
iqn.1992-01.com.lsi:1535.600a0b8000370de1000000004b7bc1df, portal:
192.168.111.50,3260]:
iscsiadm: initiator reported error (15 - already exists)


sorry for the wrapped lines. Any ideas on where to begin investigating
this?


regards,
-C


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

Reply via email to