1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

cleanup: clarify man pages about lvchange/vgchange -aay, use -aay in lvm2-cluster-activation script

This commit is contained in:
Peter Rajnoha 2014-02-11 13:48:04 +01:00
parent a092cd33be
commit 1a5062c9a7
4 changed files with 11 additions and 7 deletions

View File

@ -1,6 +1,6 @@
Version 2.02.106 -
====================================
Add systemd native service for clvmd, cmirrord and cluster activation.
Add systemd native service for clvmd, cmirrord and clustered LV activation.
Remove ExecReload from lvmetad systemd unit: lvmetad -R undefined. (2.02.98)
Do not fork lvmetad if running under systemd.
Wipe DM_snapshot_cow signature without prompt in new LVs with blkid wiping.

View File

@ -74,8 +74,9 @@ logical volumes. If autoactivation option is used (\-aay),
the logical volume is activated only if it matches an item in
the activation/auto_activation_volume_list set in lvm.conf.
If this list is not set, then all volumes are considered for
autoactivation. The autoactivation is not yet supported for
logical volumes that are part of partial or clustered volume groups.
activation. The \-aay option should be also used during system
boot so it's possible to select which volumes to activate using
the activation/auto_activation_volume_list setting.
.IP
If clustered locking is enabled, -aey will activate exclusively
on one node and -aly will activate only on the local node.

View File

@ -76,9 +76,10 @@ In other words, makes the logical volumes known/unknown to the kernel.
If autoactivation option is used (\-aay), each logical volume in
the volume group is activated only if it matches an item in the
activation/auto_activation_volume_list set in lvm.conf. If this
list is not set, then all volumes are considered for autoactivation.
The autoactivation is not yet supported for partial or clustered
volume groups.
list is not set, then all volumes are considered for activation.
The \-aay option should be also used during system boot so it's
possible to select which volumes to activate using the
activation/auto_activation_volume_list settting.
.IP
If clustered locking is enabled, add 'e' to activate/deactivate
exclusively on one node or 'l' to activate/deactivate only

View File

@ -31,7 +31,9 @@ activate() {
fi
echo -n "Activating ${LVM_VGS:-"all VG(s)"}: "
${lvm_vgchange} -ayl $LVM_VGS || return 1
# Respect activation/auto_activation_volume_list!
# Call "-aay" which is equal to "-aly" but respects this list.
${lvm_vgchange} -aay $LVM_VGS || return 1
return 0
}