On 12/27/2010 04:20 AM, Or Gerlitz wrote:
Mike Christie wrote:
Or Gerlitz wrote:
I think you said at some point this may happen if I use "old" udev
bits, what version of udev you're using?
147. I do not have any udev wait_for_sysfs: waiting messages in my log
so it looks like a udev issue.
yep, using that udev version eliminated the errors and the lun appear without
any delay.
I still have the problem of the luns not being displayed by "iscsiadm -m session -P
3", though.
Now its a RHEL6 system and I noted that with the RHEL kernel that command does
show the luns, I noted that there's a difference in the SYSFS related configs
between the RHEL kernel and the way I build the upstream one, I assume this can
explain the problem as you said, iscsiadm sysfs scanning isn't doing well with
the
_deprecated env, correct?
Yeah, there is no sysfs linkage from the scsi_device/LUN to the block
device that I can see, so I can find the logical unit number and its
mapping to the host and target and bus numbers (the H:B:T:L info you
see) but I do not know how to get the block device from it (Or I guess
flipped around I can find the block devices but I cannot see how they
are linked to the scsi_device/LUN). So I am not sure how to make the
mapping. In older kernels there is a symlink or dir that links the two
objects. Going to look at sg_map to see how it does it when I get some time.
--
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.