[linux-lvm] LVM preference for multipath verses disk/by-id/scsi
Bryn M. Reeves
bmr at redhat.com
Mon Jan 4 12:54:18 UTC 2010
On Wed, 2009-12-30 at 12:52 +0100, brem belguebli wrote:
> Hi,
>
> see man 5 lvm.conf there is an option called preferred_names which is
> well explained
>
> It'll instruct lvm to use the preferred_names you configured in the
> lvm.conf file if they exist
>
> ie : preferred_names = "/dev/mpath/" will use /dev/mpath/XXX instead
> of /dev/mapper/XXX
It's best not to use the symlinks in /dev/mpath - they are not always
reliable. Use the device nodes created in /dev/mapper instead.
Regards,
Bryn.
More information about the linux-lvm
mailing list