From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Surekha.PC" Date: Fri, 14 Nov 2003 14:43:01 +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, 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",=20 > 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=20 > 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=20 > 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=20 > 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",=20 > NAME=3D"iscsi-b0t6l0" >=20 > With this approach the naming for iSCSI devices will be persistent=20 > 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 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