[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [dm-devel] [PATCH] [RFC] persistent readable names

On Wed, Oct 05, 2005 at 05:09:23PM +0200, Christophe Varoqui wrote:
> On Wed, Oct 05, 2005 at 03:14:52PM +0100, Patrick Caulfield wrote:
> > This patch is more for discussion than inclusion at the moment. Basically it's
> > unrealistic for users with hundreds of disks to alias them all in
> > /etc/multipath.conf and the default names are very unwieldy.
> > 
> > What this patch does is attach a name to any un-aliased path and write that name
> > to /etc/multipath.names. The file is read again every time the paths are added
> > so they are persistent.

I haven't recently looked at dm or dm multipath naming, but dm and dm
multipath should not have a different naming scheme outside of udev.

udev now has persistent naming, and probably could or should have a dm_id
(dm_id could run scsi_id on a single path, unless dm is passing down scsi
ioctl's). The udev persistent naming scheme is not intuitive (i.e.  not
easy for people to create and use).

Intuitive names could be built upon the persistent names as part of udev,
like an alias, or if you could "match" a NAME, and have a new udev rule

	NAME=="disk/by-id/foo" SYMLINK+="disk/by-simple/my-database"

I hesitate to bring this up on the appropriate list, here:

	linux-hotplug-devel lists sourceforge net 

without any patches :-/

-- Patrick Mansfield

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]