From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Surekha.PC" Date: Wed, 19 Nov 2003 13:49:45 +0000 Subject: RE: Persistent naming for iSCSI devices Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: linux-hotplug@vger.kernel.org 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]=20 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 =20 Thanks, surekha -----Original Message----- From: Ihno Krumreich [mailto:ihno@suse.de]=20 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: >=20 > Hi, >=20 > Just a slight correction for my earlier mail. >=20 > The example should have been >=20 > NUMBER, BUS=3D"scsi", ID=3DC:B:T:L, NAME=3D"cCbBtTlL" >=20 > And with the new field to be used for iSCSI devices, >=20 > NUMBER, BUS=3D"scsi", id=3DC:B:T:L, device_type=3D"iscsi", > NAME=3D"iscsi-bBtTlL" >=20 > Thanks, > surekha >=20 > -----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 >=20 >=20 >=20 > Hi, >=20 > The persistent naming for iscsi disks cannot not achieved with the > following rule in udev.config. >=20 > NUMBER, BUS=3D"scsi", ID=3DC:B:T:L, NAME=3D"c0b0t6l0" >=20 > The controller number is not unique for a particular HBA. Hence > persistency is not retained. To overcome this problem for iSCSI=20 > devices, I would like to introduce another field in the following rule > for udev. >=20 > NUMBER, BUS=3D"scsi", id=3DC:B:T:L, device_type=3D"iscsi", > NAME=3D"iscsi-b0t6l0" >=20 > With this approach the naming for iSCSI devices will be persistent > regardless of controller id. >=20 --=20 Best regards/Mit freundlichen Gr=FC=DFen 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=FCrnberg 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