1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-02 01:18:26 +03:00
This commit is contained in:
Alasdair Kergon 2008-04-10 18:53:36 +00:00
parent 9d527965a3
commit 3cde54c50e
4 changed files with 5 additions and 5 deletions

View File

@ -1,5 +1,6 @@
Version 2.02.34 - 10th April 2008
=================================
Improve preferred_names lvm.conf example.
Fix vgdisplay 'Cur LV' field to match lvdisplay output.
Fix lv_count report field to exclude hidden LVs.
Add vg_is_clustered() helper function.

View File

@ -25,9 +25,8 @@ devices {
# list of regular expressions in turn and the first match is used.
preferred_names = [ ]
# If device-mapper multipath is used, more descriptive names might
# be preferred over the dm-N names:
# preferred_names = [ "^/dev/mapper/mpath" ]
# Try to avoid using undescriptive /dev/dm-N names, if present.
# 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

View File

@ -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.
* FIXME: need better check
* FIXME: Fails incorrectly if cmirror was built into kernel.
*/
if (attributes) {
if (!_mirror_attributes && module_present("cmirror"))

View File

@ -84,7 +84,7 @@ Defaults to "/dev".
\fBpreferred_names\fP \(em List of patterns compared in turn against
all the pathnames referencing the same device in in the scanned directories.
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:
.br
\fBdevices { preferred_names = [ "^/dev/mapper/mpath" ] }\fP