On 03/09/2010 01:41 PM, Dmitry V. Krivenok wrote:
Hello!

I have a very basic question about open-iscsi.
I successfully logged in using iscsiadm and open-iscsi created two
block devices corresponding to
10th and 15th LUNs:

# ls -l /dev/disk/by-path/ip*
lrwxrwxrwx 1 root root 9 Mar  9 18:51 /dev/disk/by-path/
ip-10.64.75.96:3260-iscsi-iqn.1992-05.com.emc:iscsi-lun-10 ->  ../../
sdb
lrwxrwxrwx 1 root root 9 Mar  9 18:51 /dev/disk/by-path/
ip-10.64.75.96:3260-iscsi-iqn.1992-05.com.emc:iscsi-lun-15 ->  ../../
sdc
#

Is it possible to change the format of device name
(i.e.ip-10.64.75.96:3260-iscsi-iqn.1992-05.com.emc:iscsi-lun-15)?


You can change the name to whatever makes you happy by changing the udev rule. open-iscsi does not maintain or ship any rules. They are part of your distro. I think they are normally in /etc/udev/rules.d, but I think it depends on the version of udev on how you can can change the names.

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