[linux-lvm] LVM preference for multipath verses disk/by-id/scsi

brem belguebli brem.belguebli at gmail.com
Mon Jan 4 13:17:24 UTC 2010


Never had no problem with it.

The only problem I've hit was due to the binding file being, by
default, located in /var/lib/multipath, which is in my setup on a
separate LV than /, during boot time the devices were not correctly

Just had to switch the binding file to /etc and now no more problem.

extract of my /etc/multipath.conf :

defaults {
        flush_on_last_del       yes
        user_friendly_names     yes
        bindings_file "/etc/multipath_bindings"

2010/1/4 Bryn M. Reeves <bmr at redhat.com>:
> 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.
> _______________________________________________
> linux-lvm mailing list
> linux-lvm at redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

More information about the linux-lvm mailing list