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.
# 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
/*
* 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"))
\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