Pete Wyckoff wrote:
> I need this on top of git head to be able to get status
> from iscsi using 2.6.25-rc1.  You'll probably want
> to go looking for host in both sysfs paths, to handle
> old and new kernels.  Here's an example of how it works
> in a recent one.
> 
> Others testing recent kernels may want to hack this
> in temporarily.
> 
> Here are the error message from old iscsi utils,
> iscsi-initiator-utils-6.2.0.868-0.3.fc9.x86_64.
> 
>     aib01# iscsiadm -m session
>     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
>     iscsiadm: Can not get list of active sessions (6)
> 
>     aib01# iscsiadm -m node -p 10.100.2.32,3260 -T aib02 -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
> 
>               -- Pete
> 
> 
> Sysfs layout changed yet again.  Accommodate new kernels (2.6.25-rc1
> at least), but probably break the parsing on older ones.
> 

Damn you sysfs! :) I am in the middle of trying to use udev's sysfs code 
instead of our crap. I will send out a test patch later this week.

Thanks for the patch and the bug report.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"open-iscsi" group.
To post to this group, send email to open-iscsi@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/open-iscsi
-~----------~----~----~----~------~----~------~--~---

Reply via email to