Table of ContentsView in Frames

Warning messages displayed when using LVM with multipathing software

When you use LVM in a multipathing environment, it displays a warning message.

In a default configuration, LVM scans all attached disks and identifies the disks that contain physical volumes. In environments that use multipathing software, each path to a particular LUN is registered as a different SCSI device. LVM detects this and chooses one of the devices. LVM then displays a warning message.

To avoid this problem, you should modify the paths to the preferred_names parameter in the/etc/lvm/lvm.conf file.

The following is an example of a how the preferred_names parameter line should look:

preferred_names = [ "^/dev/mapper/*" ]

After you make the change, perform a rescan (pvscan and vgscan) to ensure all devices are properly displayed.