From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrey Borzenkov Date: Tue, 06 Apr 2010 02:41:24 +0000 Subject: Re: More consistent /dev/ mapping for ISCSI volumes in udev. Message-Id: <201004060641.31887.arvidjaar@mail.ru> MIME-Version: 1 Content-Type: multipart/mixed; boundary="nextPart2133663.vH65OLOaJ9" List-Id: References: In-Reply-To: To: linux-hotplug@vger.kernel.org --nextPart2133663.vH65OLOaJ9 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable On Monday 05 of April 2010 22:28:14 Mike Ely wrote: > On 4/5/10 11:15 AM, "Andrey Borzenkov" wrote: > > On Monday 05 of April 2010 22:00:49 Mike Ely wrote: > >> (resending because our clunky old MTA doesn=B9t know how to handle > >> greylisting) > >>=20 > >> I'm wondering how to get open-iscsi and udev folks to work > >> together on a good solution for getting ISCSI volumes to map > >> consistently to a /dev/ entry. What would be a good starting > >> point for getting the discussion going? Currently the only > >> solutions I can find are some scripting tricks, but it=B9d be nice > >> to see something a bit more integrated. Not all use cases > >> support filesystem labels. > >=20 > > udev already includes path_id that generates persistent name for > > iSCSI device. Could you be more specific what exactly it misses? >=20 > I'm not sure how to get path_id to work then. Here's an example of > it not working through several remounts on RHEL 5 - look at the > number of partitions in each volume to see how it's randomly > remapping: >=20 path_id is used to generate persistent link under /dev/disk/by-path. sdX=20 are not guaranteed to be persistent. > iqn.2001-05.com.equallogic:0-8a0906-4f489fb03-3c60003e5c34bb68-delete > me, portal: 10.1.xx.xx,3260] I always find obfuscating of private addresses amusing :) --nextPart2133663.vH65OLOaJ9 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEABECAAYFAku6n1QACgkQR6LMutpd94xlmgCeO7rshW7VPAEJvj+xdldTLr0J JGsAn2BAkrzBG0j6m4aCvBMeMPIWl+uQ =27iX -----END PGP SIGNATURE----- --nextPart2133663.vH65OLOaJ9--