mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
docs: host tags has a default volume_list
Document that lvm.conf activation/volume_list defaults to @* when there's a host tag.
This commit is contained in:
parent
999952c5b9
commit
5ef6ca00b9
@ -569,15 +569,21 @@ activation {
|
|||||||
|
|
||||||
# If volume_list is defined, each LV is only activated if there is a
|
# If volume_list is defined, each LV is only activated if there is a
|
||||||
# match against the list.
|
# match against the list.
|
||||||
|
#
|
||||||
# "vgname" and "vgname/lvname" are matched exactly.
|
# "vgname" and "vgname/lvname" are matched exactly.
|
||||||
# "@tag" matches any tag set in the LV or VG.
|
# "@tag" matches any tag set in the LV or VG.
|
||||||
# "@*" matches if any tag defined on the host is also set in the LV or VG
|
# "@*" matches if any tag defined on the host is also set in the LV or VG
|
||||||
#
|
#
|
||||||
|
# If any host tags exist but volume_list is not defined, a default
|
||||||
|
# single-entry list containing "@*" is assumed.
|
||||||
|
#
|
||||||
# volume_list = [ "vg1", "vg2/lvol1", "@tag1", "@*" ]
|
# volume_list = [ "vg1", "vg2/lvol1", "@tag1", "@*" ]
|
||||||
|
|
||||||
# If auto_activation_volume_list is defined, each LV that is to be
|
# If auto_activation_volume_list is defined, each LV that is to be
|
||||||
# activated is checked against the list while using the autoactivation
|
# activated with the autoactivation option (--activate ay/-a ay)
|
||||||
# option (--activate ay/-a ay), and if it matches, it is activated.
|
# is first checked against the list. If it does not match, the LV
|
||||||
|
# is not activated. This list is checked as well as volume_list.
|
||||||
|
#
|
||||||
# "vgname" and "vgname/lvname" are matched exactly.
|
# "vgname" and "vgname/lvname" are matched exactly.
|
||||||
# "@tag" matches any tag set in the LV or VG.
|
# "@tag" matches any tag set in the LV or VG.
|
||||||
# "@*" matches if any tag defined on the host is also set in the LV or VG
|
# "@*" matches if any tag defined on the host is also set in the LV or VG
|
||||||
@ -588,6 +594,7 @@ activation {
|
|||||||
# is checked against the list, and if it matches, it as activated
|
# is checked against the list, and if it matches, it as activated
|
||||||
# in read-only mode. (This overrides '--permission rw' stored in the
|
# in read-only mode. (This overrides '--permission rw' stored in the
|
||||||
# metadata.)
|
# metadata.)
|
||||||
|
#
|
||||||
# "vgname" and "vgname/lvname" are matched exactly.
|
# "vgname" and "vgname/lvname" are matched exactly.
|
||||||
# "@tag" matches any tag set in the LV or VG.
|
# "@tag" matches any tag set in the LV or VG.
|
||||||
# "@*" matches if any tag defined on the host is also set in the LV or VG
|
# "@*" matches if any tag defined on the host is also set in the LV or VG
|
||||||
|
@ -447,6 +447,8 @@ metadata for a match.
|
|||||||
\fBtags\fP above).
|
\fBtags\fP above).
|
||||||
Logical volume and volume groups can also be included in the list
|
Logical volume and volume groups can also be included in the list
|
||||||
by name e.g. vg00, vg00/lvol1.
|
by name e.g. vg00, vg00/lvol1.
|
||||||
|
If this setting is not present but at least one host tag is defined
|
||||||
|
then a default single-entry list containing @* is assumed.
|
||||||
.IP
|
.IP
|
||||||
\fBauto_activation_volume_list\fP \(em This acts as a filter through
|
\fBauto_activation_volume_list\fP \(em This acts as a filter through
|
||||||
which all requests to autoactivate a logical volume on this machine
|
which all requests to autoactivate a logical volume on this machine
|
||||||
|
Loading…
Reference in New Issue
Block a user