* Persistent naming for iSCSI devices
@ 2003-11-14 9:42 Surekha.PC
2003-11-14 10:47 ` Surekha.PC
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: Surekha.PC @ 2003-11-14 9:42 UTC (permalink / raw)
To: linux-hotplug
Hi,
The persistent naming for iscsi disks cannot not achieved with the
following rule in udev.config.
NUMBER, BUS="scsi", ID=C:B:T:L, NAME="c0b0t6l0"
The controller number is not unique for a particular HBA. Hence
persistency is not retained. To overcome this problem for iSCSI devices,
I would like to introduce another field in the following rule for udev.
NUMBER, BUS="scsi", id=C:B:T:L, device_type="iscsi", NAME="iscsi-b0t6l0"
With this approach the naming for iSCSI devices will be persistent
regardless of controller id.
Please let me know your comments.
thanks,
surekha
-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
^ permalink raw reply [flat|nested] 6+ messages in thread
* RE: Persistent naming for iSCSI devices
2003-11-14 9:42 Persistent naming for iSCSI devices Surekha.PC
@ 2003-11-14 10:47 ` Surekha.PC
2003-11-14 14:20 ` Ihno Krumreich
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: Surekha.PC @ 2003-11-14 10:47 UTC (permalink / raw)
To: linux-hotplug
Hi,
Just a slight correction for my earlier mail.
The example should have been
NUMBER, BUS="scsi", ID=C:B:T:L, NAME="cCbBtTlL"
And with the new field to be used for iSCSI devices,
NUMBER, BUS="scsi", id=C:B:T:L, device_type="iscsi", NAME="iscsi-bBtTlL"
Thanks,
surekha
-----Original Message-----
From: linux-hotplug-devel-admin@lists.sourceforge.net
[mailto:linux-hotplug-devel-admin@lists.sourceforge.net] On Behalf Of
Surekha.PC
Sent: Friday, November 14, 2003 3:00 PM
To: linux-hotplug-devel@lists.sourceforge.net
Subject: Persistent naming for iSCSI devices
Hi,
The persistent naming for iscsi disks cannot not achieved with the
following rule in udev.config.
NUMBER, BUS="scsi", ID=C:B:T:L, NAME="c0b0t6l0"
The controller number is not unique for a particular HBA. Hence
persistency is not retained. To overcome this problem for iSCSI devices,
I would like to introduce another field in the following rule for udev.
NUMBER, BUS="scsi", id=C:B:T:L, device_type="iscsi", NAME="iscsi-b0t6l0"
With this approach the naming for iSCSI devices will be persistent
regardless of controller id.
Please let me know your comments.
thanks,
surekha
-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest developments in
Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more!
http://www.apachecon.com/
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Persistent naming for iSCSI devices
2003-11-14 9:42 Persistent naming for iSCSI devices Surekha.PC
2003-11-14 10:47 ` Surekha.PC
@ 2003-11-14 14:20 ` Ihno Krumreich
2003-11-14 14:43 ` Surekha.PC
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: Ihno Krumreich @ 2003-11-14 14:20 UTC (permalink / raw)
To: linux-hotplug
hi,
How does the name reflect the source where the disks
come from. Target, Lun and what does B stand for?
Ihno
On Fri, Nov 14, 2003 at 04:05:04PM +0530, Surekha.PC wrote:
>
> Hi,
>
> Just a slight correction for my earlier mail.
>
> The example should have been
>
> NUMBER, BUS="scsi", ID=C:B:T:L, NAME="cCbBtTlL"
>
> And with the new field to be used for iSCSI devices,
>
> NUMBER, BUS="scsi", id=C:B:T:L, device_type="iscsi", NAME="iscsi-bBtTlL"
>
> Thanks,
> surekha
>
> -----Original Message-----
> From: linux-hotplug-devel-admin@lists.sourceforge.net
> [mailto:linux-hotplug-devel-admin@lists.sourceforge.net] On Behalf Of
> Surekha.PC
> Sent: Friday, November 14, 2003 3:00 PM
> To: linux-hotplug-devel@lists.sourceforge.net
> Subject: Persistent naming for iSCSI devices
>
>
>
> Hi,
>
> The persistent naming for iscsi disks cannot not achieved with the
> following rule in udev.config.
>
> NUMBER, BUS="scsi", ID=C:B:T:L, NAME="c0b0t6l0"
>
> The controller number is not unique for a particular HBA. Hence
> persistency is not retained. To overcome this problem for iSCSI devices,
> I would like to introduce another field in the following rule for udev.
>
> NUMBER, BUS="scsi", id=C:B:T:L, device_type="iscsi", NAME="iscsi-b0t6l0"
>
> With this approach the naming for iSCSI devices will be persistent
> regardless of controller id.
>
--
Best regards/Mit freundlichen Grüßen
Ihno Krumreich
"Never trust a computer you can lift."
--
Ihno Krumreich ihno@suse.de
SuSE Linux AG Projectmanager S390 & zSeries
Deutschherrnstr. 15-19 +49-911-74053-439
90429 Nürnberg http://www.suse.de
-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
^ permalink raw reply [flat|nested] 6+ messages in thread
* RE: Persistent naming for iSCSI devices
2003-11-14 9:42 Persistent naming for iSCSI devices Surekha.PC
2003-11-14 10:47 ` Surekha.PC
2003-11-14 14:20 ` Ihno Krumreich
@ 2003-11-14 14:43 ` Surekha.PC
2003-11-19 13:49 ` Surekha.PC
2003-11-20 0:02 ` Greg KH
4 siblings, 0 replies; 6+ messages in thread
From: Surekha.PC @ 2003-11-14 14:43 UTC (permalink / raw)
To: linux-hotplug
Hi,
I have the device type listed in the iSCSI device attributes under sysfs
just like vendor information. This will ensure the device is a iSCSI
device.
B stands for bus id. This is part of the quadruplet in the sysfs
hierarchy as shown below.
#ls -l /sys/class/scsi_device/
0:0:0:0 0:0:1:0 0:0:8:0 7:0:68:0 7:0:69:0
Thanks,
surekha
-----Original Message-----
From: Ihno Krumreich [mailto:ihno@suse.de]
Sent: Friday, November 14, 2003 7:51 PM
To: Surekha.PC
Cc: linux-hotplug-devel@lists.sourceforge.net
Subject: Re: Persistent naming for iSCSI devices
hi,
How does the name reflect the source where the disks
come from. Target, Lun and what does B stand for?
Ihno
On Fri, Nov 14, 2003 at 04:05:04PM +0530, Surekha.PC wrote:
>
> Hi,
>
> Just a slight correction for my earlier mail.
>
> The example should have been
>
> NUMBER, BUS="scsi", ID=C:B:T:L, NAME="cCbBtTlL"
>
> And with the new field to be used for iSCSI devices,
>
> NUMBER, BUS="scsi", id=C:B:T:L, device_type="iscsi",
> NAME="iscsi-bBtTlL"
>
> Thanks,
> surekha
>
> -----Original Message-----
> From: linux-hotplug-devel-admin@lists.sourceforge.net
> [mailto:linux-hotplug-devel-admin@lists.sourceforge.net] On Behalf Of
> Surekha.PC
> Sent: Friday, November 14, 2003 3:00 PM
> To: linux-hotplug-devel@lists.sourceforge.net
> Subject: Persistent naming for iSCSI devices
>
>
>
> Hi,
>
> The persistent naming for iscsi disks cannot not achieved with the
> following rule in udev.config.
>
> NUMBER, BUS="scsi", ID=C:B:T:L, NAME="c0b0t6l0"
>
> The controller number is not unique for a particular HBA. Hence
> persistency is not retained. To overcome this problem for iSCSI
> devices, I would like to introduce another field in the following rule
> for udev.
>
> NUMBER, BUS="scsi", id=C:B:T:L, device_type="iscsi",
> NAME="iscsi-b0t6l0"
>
> With this approach the naming for iSCSI devices will be persistent
> regardless of controller id.
>
--
Best regards/Mit freundlichen Grüßen
Ihno Krumreich
"Never trust a computer you can lift."
--
Ihno Krumreich ihno@suse.de
SuSE Linux AG Projectmanager S390 & zSeries
Deutschherrnstr. 15-19 +49-911-74053-439
90429 Nürnberg http://www.suse.de
-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
^ permalink raw reply [flat|nested] 6+ messages in thread
* RE: Persistent naming for iSCSI devices
2003-11-14 9:42 Persistent naming for iSCSI devices Surekha.PC
` (2 preceding siblings ...)
2003-11-14 14:43 ` Surekha.PC
@ 2003-11-19 13:49 ` Surekha.PC
2003-11-20 0:02 ` Greg KH
4 siblings, 0 replies; 6+ messages in thread
From: Surekha.PC @ 2003-11-19 13:49 UTC (permalink / raw)
To: linux-hotplug
Hi all,
Can I submit a patch with the change I have proposed below for iSCSI
device naming ?
Thanks,
surekha
-----Original Message-----
From: Surekha.PC [mailto:surekhap@cisco.com]
Sent: Friday, November 14, 2003 8:01 PM
To: 'Ihno Krumreich'
Cc: 'linux-hotplug-devel@lists.sourceforge.net'
Subject: RE: Persistent naming for iSCSI devices
Hi,
I have the device type listed in the iSCSI device attributes under sysfs
just like vendor information. This will ensure the device is a iSCSI
device.
B stands for bus id. This is part of the quadruplet in the sysfs
hierarchy as shown below.
#ls -l /sys/class/scsi_device/
0:0:0:0 0:0:1:0 0:0:8:0 7:0:68:0 7:0:69:0
Thanks,
surekha
-----Original Message-----
From: Ihno Krumreich [mailto:ihno@suse.de]
Sent: Friday, November 14, 2003 7:51 PM
To: Surekha.PC
Cc: linux-hotplug-devel@lists.sourceforge.net
Subject: Re: Persistent naming for iSCSI devices
hi,
How does the name reflect the source where the disks
come from. Target, Lun and what does B stand for?
Ihno
On Fri, Nov 14, 2003 at 04:05:04PM +0530, Surekha.PC wrote:
>
> Hi,
>
> Just a slight correction for my earlier mail.
>
> The example should have been
>
> NUMBER, BUS="scsi", ID=C:B:T:L, NAME="cCbBtTlL"
>
> And with the new field to be used for iSCSI devices,
>
> NUMBER, BUS="scsi", id=C:B:T:L, device_type="iscsi",
> NAME="iscsi-bBtTlL"
>
> Thanks,
> surekha
>
> -----Original Message-----
> From: linux-hotplug-devel-admin@lists.sourceforge.net
> [mailto:linux-hotplug-devel-admin@lists.sourceforge.net] On Behalf Of
> Surekha.PC
> Sent: Friday, November 14, 2003 3:00 PM
> To: linux-hotplug-devel@lists.sourceforge.net
> Subject: Persistent naming for iSCSI devices
>
>
>
> Hi,
>
> The persistent naming for iscsi disks cannot not achieved with the
> following rule in udev.config.
>
> NUMBER, BUS="scsi", ID=C:B:T:L, NAME="c0b0t6l0"
>
> The controller number is not unique for a particular HBA. Hence
> persistency is not retained. To overcome this problem for iSCSI
> devices, I would like to introduce another field in the following rule
> for udev.
>
> NUMBER, BUS="scsi", id=C:B:T:L, device_type="iscsi",
> NAME="iscsi-b0t6l0"
>
> With this approach the naming for iSCSI devices will be persistent
> regardless of controller id.
>
--
Best regards/Mit freundlichen Grüßen
Ihno Krumreich
"Never trust a computer you can lift."
--
Ihno Krumreich ihno@suse.de
SuSE Linux AG Projectmanager S390 & zSeries
Deutschherrnstr. 15-19 +49-911-74053-439
90429 Nürnberg http://www.suse.de
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Persistent naming for iSCSI devices
2003-11-14 9:42 Persistent naming for iSCSI devices Surekha.PC
` (3 preceding siblings ...)
2003-11-19 13:49 ` Surekha.PC
@ 2003-11-20 0:02 ` Greg KH
4 siblings, 0 replies; 6+ messages in thread
From: Greg KH @ 2003-11-20 0:02 UTC (permalink / raw)
To: linux-hotplug
On Wed, Nov 19, 2003 at 07:07:45PM +0530, Surekha.PC wrote:
>
> Hi all,
>
> Can I submit a patch with the change I have proposed below for iSCSI
> device naming ?
Sure, patches are always good.
But have you looked at the %b modifier in the 006 release? That might
work for you.
thanks,
greg k-h
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2003-11-20 0:02 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-11-14 9:42 Persistent naming for iSCSI devices Surekha.PC
2003-11-14 10:47 ` Surekha.PC
2003-11-14 14:20 ` Ihno Krumreich
2003-11-14 14:43 ` Surekha.PC
2003-11-19 13:49 ` Surekha.PC
2003-11-20 0:02 ` Greg KH
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).