mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-02 01:18:26 +03:00
.
This commit is contained in:
parent
9d527965a3
commit
3cde54c50e
@ -1,5 +1,6 @@
|
|||||||
Version 2.02.34 - 10th April 2008
|
Version 2.02.34 - 10th April 2008
|
||||||
=================================
|
=================================
|
||||||
|
Improve preferred_names lvm.conf example.
|
||||||
Fix vgdisplay 'Cur LV' field to match lvdisplay output.
|
Fix vgdisplay 'Cur LV' field to match lvdisplay output.
|
||||||
Fix lv_count report field to exclude hidden LVs.
|
Fix lv_count report field to exclude hidden LVs.
|
||||||
Add vg_is_clustered() helper function.
|
Add vg_is_clustered() helper function.
|
||||||
|
@ -25,9 +25,8 @@ devices {
|
|||||||
# list of regular expressions in turn and the first match is used.
|
# list of regular expressions in turn and the first match is used.
|
||||||
preferred_names = [ ]
|
preferred_names = [ ]
|
||||||
|
|
||||||
# If device-mapper multipath is used, more descriptive names might
|
# Try to avoid using undescriptive /dev/dm-N names, if present.
|
||||||
# be preferred over the dm-N names:
|
# preferred_names = [ "^/dev/mpath/", "^/dev/mapper/mpath", "^/dev/[hs]d" ]
|
||||||
# preferred_names = [ "^/dev/mapper/mpath" ]
|
|
||||||
|
|
||||||
# A filter that tells LVM2 to only use a restricted set of devices.
|
# A filter that tells LVM2 to only use a restricted set of devices.
|
||||||
# The filter consists of an array of regular expressions. These
|
# The filter consists of an array of regular expressions. These
|
||||||
|
@ -373,7 +373,7 @@ static int _mirrored_target_present(const struct lv_segment *seg __attribute((un
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* Check only for modules if atttributes requested and no previous check.
|
* Check only for modules if atttributes requested and no previous check.
|
||||||
* FIXME: need better check
|
* FIXME: Fails incorrectly if cmirror was built into kernel.
|
||||||
*/
|
*/
|
||||||
if (attributes) {
|
if (attributes) {
|
||||||
if (!_mirror_attributes && module_present("cmirror"))
|
if (!_mirror_attributes && module_present("cmirror"))
|
||||||
|
@ -84,7 +84,7 @@ Defaults to "/dev".
|
|||||||
\fBpreferred_names\fP \(em List of patterns compared in turn against
|
\fBpreferred_names\fP \(em List of patterns compared in turn against
|
||||||
all the pathnames referencing the same device in in the scanned directories.
|
all the pathnames referencing the same device in in the scanned directories.
|
||||||
The pathname that matches the earliest pattern in the list is the
|
The pathname that matches the earliest pattern in the list is the
|
||||||
one used in any output. As an example, if device mapper multipathing
|
one used in any output. As an example, if device-mapper multipathing
|
||||||
is used, the following will select multipath device names:
|
is used, the following will select multipath device names:
|
||||||
.br
|
.br
|
||||||
\fBdevices { preferred_names = [ "^/dev/mapper/mpath" ] }\fP
|
\fBdevices { preferred_names = [ "^/dev/mapper/mpath" ] }\fP
|
||||||
|
Loading…
Reference in New Issue
Block a user