Change default preferred_names until we fix the upstream code.
This commit is contained in:
parent
c03e5bbdac
commit
f49c5363e1
15
lvm2-set-default-preferred_names.patch
Normal file
15
lvm2-set-default-preferred_names.patch
Normal file
@ -0,0 +1,15 @@
|
||||
--- LVM2.2.02.58/doc/example.conf 2010-01-07 19:54:21.000000000 +0000
|
||||
+++ LVM2.2.02.58-new/doc/example.conf 2010-01-20 18:30:32.000000000 +0000
|
||||
@@ -23,10 +23,10 @@
|
||||
# same block device and the tools need to display a name for device,
|
||||
# all the pathnames are matched against each item in the following
|
||||
# list of regular expressions in turn and the first match is used.
|
||||
- preferred_names = [ ]
|
||||
+ # preferred_names = [ ]
|
||||
|
||||
# Try to avoid using undescriptive /dev/dm-N names, if present.
|
||||
- # preferred_names = [ "^/dev/mpath/", "^/dev/mapper/mpath", "^/dev/[hs]d" ]
|
||||
+ preferred_names = [ "^/dev/mpath/", "^/dev/mapper/mpath", "^/dev/[hs]d" ]
|
||||
|
||||
# A filter that tells LVM2 to only use a restricted set of devices.
|
||||
# The filter consists of an array of regular expressions. These
|
Loading…
Reference in New Issue
Block a user