On Thu, 2008-01-17 at 15:18 +0100, Klemens Kittan wrote:
> My question is -- will this be the order even if i reboot?
> Obviously the order of the nodes defines the order of the session. Will 
> allways it be the same order?

I don't think you can get a guarantee to always have the same ordering.

It is much easier to create a custom udev rules.

/etc/udev/rules.d/75-custom.rules

KERNEL=="sd[b-z][1-9]" BUS=="scsi" SYSFS{serial}=="00000000014defbe2755"
NAME="iscsi1" SYMLINK+="some_name1"
KERNEL=="sd[b-z][1-9]" BUS=="scsi" SYSFS{serial}=="00000000014defbe2756"
NAME="iscsi2" SYMLINK+="some_name2"
KERNEL=="sd[b-z][1-9]" BUS=="scsi" SYSFS{serial}=="00000000014defbe2757"
NAME="iscsi3" SYMLINK+="some_name3"
KERNEL=="sd[b-z][1-9]" BUS=="scsi" SYSFS{serial}=="00000000014defbe2758"
NAME="iscsi4" SYMLINK+="some_name4"

And get the SYSFS number from you're iSCSI disk using the udevinfo
command.

udevinfo -a -p $(udevinfo -q path -n /dev/sdd)

udev gives you a lot of flexibility. Give it a try.

Regards,
Erik




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