Re: UUID in fstab for device mapper devices?
Guido Günther <email@example.com> writes:
> On Sun, Aug 09, 2009 at 04:57:28PM +0200, Ferenc Wagner wrote:
>> OK, so the problem is identifying multipath devices in d-i. So that
>> option would be better called d-i_friendly_names, because from the
>> user PoV losing name persistence -- which this option implies --,
>> isn't friendly or useful, in my opinion. If only multipath used
> To avoid we're furhter talking past each other: which device names
> aren't persistent from your PoV when using user_friendly_names?
I was wrong. The "friendly" mpath<n> names are persistent, because
/var/lib/multipath/bindings takes care of the persistence. But they
are arbitrary, and subject to change between machines. (Actually,
I've never used them, please correct me if I'm wrong again.)
> Dropping user_friendly_names won't give you name persistence with and
> without mp all by itself. You'll either have to use disk/by-id or
> disk/by-uuid to achive that.
Why not? The WWIDs, which are used to name the devices by default,
are persistent and also consistent between machines, aren't they?
I've been using them on this assumption for years, and it seems to
work out... Please explain why the udev symlinks would be any better
(given that I'm not interested in using filesystem UUIDs).
To get really friendly names, I define aliases in multipath.conf, but
that's mostly sugar, I could do without them. Losing name consistency
amongst different machines would be a major inconvenience, though.