diff options
author | Milan Broz <mbroz@redhat.com> | 2011-11-11 15:11:08 +0000 |
---|---|---|
committer | Milan Broz <mbroz@redhat.com> | 2011-11-11 15:11:08 +0000 |
commit | 07113beea3c9ef6405fb66b4ae710553f59a45ca (patch) | |
tree | 7851b1461bb2e55c88662705ee85fb830d02dd76 /doc/example.conf.in | |
parent | 7891cead1174829900b1779d4dfaa6423883fb97 (diff) | |
download | lvm2-07113beea3c9ef6405fb66b4ae710553f59a45ca.tar.gz lvm2-07113beea3c9ef6405fb66b4ae710553f59a45ca.tar.xz lvm2-07113beea3c9ef6405fb66b4ae710553f59a45ca.zip |
Do not scan device if it is part of active multipath.
Add filter which tries to check if scanned device is part
of active multipath.
Firstly, only SCSI major number devices are handled in filter.
Then it checks if device has exactly one holder (in sysfs) and
if it is device-mapper device and DM-UUID is prefixed by "MPATH-".
If so, this device is filtered out.
The whole filter can be switched off by setting
mpath_component_detection in lvm.conf.
https://bugzilla.redhat.com/show_bug.cgi?id=597010
Signed-off-by: Milan Broz <mbroz@redhat.com>
Diffstat (limited to 'doc/example.conf.in')
-rw-r--r-- | doc/example.conf.in | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/example.conf.in b/doc/example.conf.in index ed15db6c..2dd18089 100644 --- a/doc/example.conf.in +++ b/doc/example.conf.in @@ -103,6 +103,11 @@ devices { # 1 enables; 0 disables. sysfs_scan = 1 + # By default, LVM2 will ignore devices used as component paths + # of device-mapper multipath devices. + # 1 enables; 0 disables. + multipath_component_detection = 1 + # By default, LVM2 will ignore devices used as components of # software RAID (md) devices by looking for md superblocks. # 1 enables; 0 disables. |