Re: Change in /dev/disk behaviour ?
- Original Message - On 05/19/2011 09:22 AM, --[ UxBoD ]-- wrote: Hi, On a previous release of OpeniSCSI devices were created in the format: lrwxrwxrwx 1 root root 9 May 8 03:35 ip-172.XXX.XXX.XXX:3260-iscsi-iqn.1986-03.com.sun:02:XXX-lun-9 - ../../sdl where as with the latest release they are: [root@kvm02 ~]# ls -l /dev/disk/by-path/ip-172.XXX.XXX.XXX\:3260-iscsi-iqn.1986-03.com.sun\:02\:XXX-lun-16 total 0 lrwxrwxrwx 1 root root 12 May 19 07:01 block - ../../../sdd What is the difference? The \ by the colons? is it possible to switch back to the old naming convention or do we need to modify our in-house scripts to take into account this new formatting ? -- Thanks, Phil open-iscsi does not have any control over the device naming. Udev handles this. Mike, the difference is that the path is now a directory with the link underneath that back to the actual device name. Before it was just a standard link. Will take a look at udev. -- Thanks, Phil -- 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 open-iscsi+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/open-iscsi?hl=en.
Re: Change in /dev/disk behaviour ?
On 05/20/2011 02:55 AM, --[ UxBoD ]-- wrote: - Original Message - On 05/19/2011 09:22 AM, --[ UxBoD ]-- wrote: Hi, On a previous release of OpeniSCSI devices were created in the format: lrwxrwxrwx 1 root root 9 May 8 03:35 ip-172.XXX.XXX.XXX:3260-iscsi-iqn.1986-03.com.sun:02:XXX-lun-9 - ../../sdl where as with the latest release they are: [root@kvm02 ~]# ls -l /dev/disk/by-path/ip-172.XXX.XXX.XXX\:3260-iscsi-iqn.1986-03.com.sun\:02\:XXX-lun-16 total 0 lrwxrwxrwx 1 root root 12 May 19 07:01 block - ../../../sdd What is the difference? The \ by the colons? is it possible to switch back to the old naming convention or do we need to modify our in-house scripts to take into account this new formatting ? -- Thanks, Phil open-iscsi does not have any control over the device naming. Udev handles this. Mike, the difference is that the path is now a directory with the link underneath that back to the actual device name. Before it was just a standard link. Will take a look at udev. Ah, I see. Check out your distros udev rules too. open-iscsi does not distribute any, but some distros might add them. I think udev itself has its own iscsi rule, but I am not sure what various distros do. And I am not sure, but if you updated kernels then it might be due to a change in how the core driver model code works and that might throwing off the udev rules. Sometimes sysfs might change on the iscsi/scsi/block lyaer in a way we have no control over and sometimes older udevs do not handle it. And so you might have to update udev. -- 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 open-iscsi+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/open-iscsi?hl=en.
Re: Change in /dev/disk behaviour ?
On 05/20/2011 10:34 AM, Mike Christie wrote: On 05/20/2011 02:55 AM, --[ UxBoD ]-- wrote: - Original Message - On 05/19/2011 09:22 AM, --[ UxBoD ]-- wrote: Hi, On a previous release of OpeniSCSI devices were created in the format: lrwxrwxrwx 1 root root 9 May 8 03:35 ip-172.XXX.XXX.XXX:3260-iscsi-iqn.1986-03.com.sun:02:XXX-lun-9 - ../../sdl where as with the latest release they are: [root@kvm02 ~]# ls -l /dev/disk/by-path/ip-172.XXX.XXX.XXX\:3260-iscsi-iqn.1986-03.com.sun\:02\:XXX-lun-16 total 0 lrwxrwxrwx 1 root root 12 May 19 07:01 block - ../../../sdd What is the difference? The \ by the colons? is it possible to switch back to the old naming convention or do we need to modify our in-house scripts to take into account this new formatting ? -- Thanks, Phil open-iscsi does not have any control over the device naming. Udev handles this. Mike, the difference is that the path is now a directory with the link underneath that back to the actual device name. Before it was just a standard link. Will take a look at udev. Ah, I see. Check out your distros udev rules too. open-iscsi does not distribute any, but some distros might add them. I think udev itself has its own iscsi rule, but I am not sure what various distros do. Ah, I see that you are using Centos in the other mail. Is this bug with centos 5.6 too? What version of open-iscsi are you using? Is it the one that came with centos? When you say it changed, what is the previous version you are comparing it to? -- 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 open-iscsi+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/open-iscsi?hl=en.
Change in /dev/disk behaviour ?
Hi, On a previous release of OpeniSCSI devices were created in the format: lrwxrwxrwx 1 root root 9 May 8 03:35 ip-172.XXX.XXX.XXX:3260-iscsi-iqn.1986-03.com.sun:02:XXX-lun-9 - ../../sdl where as with the latest release they are: [root@kvm02 ~]# ls -l /dev/disk/by-path/ip-172.XXX.XXX.XXX\:3260-iscsi-iqn.1986-03.com.sun\:02\:XXX-lun-16 total 0 lrwxrwxrwx 1 root root 12 May 19 07:01 block - ../../../sdd is it possible to switch back to the old naming convention or do we need to modify our in-house scripts to take into account this new formatting ? -- Thanks, Phil -- 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 open-iscsi+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/open-iscsi?hl=en.
Re: Change in /dev/disk behaviour ?
On 05/19/2011 09:22 AM, --[ UxBoD ]-- wrote: Hi, On a previous release of OpeniSCSI devices were created in the format: lrwxrwxrwx 1 root root 9 May 8 03:35 ip-172.XXX.XXX.XXX:3260-iscsi-iqn.1986-03.com.sun:02:XXX-lun-9 - ../../sdl where as with the latest release they are: [root@kvm02 ~]# ls -l /dev/disk/by-path/ip-172.XXX.XXX.XXX\:3260-iscsi-iqn.1986-03.com.sun\:02\:XXX-lun-16 total 0 lrwxrwxrwx 1 root root 12 May 19 07:01 block - ../../../sdd What is the difference? The \ by the colons? is it possible to switch back to the old naming convention or do we need to modify our in-house scripts to take into account this new formatting ? -- Thanks, Phil open-iscsi does not have any control over the device naming. Udev handles this. -- 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 open-iscsi+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/open-iscsi?hl=en.