diff options
author | Peter Rajnoha <prajnoha@redhat.com> | 2012-07-10 13:49:46 +0200 |
---|---|---|
committer | Peter Rajnoha <prajnoha@redhat.com> | 2012-07-10 14:01:33 +0200 |
commit | cd8ea8b437de53f0019bd69d542a7d01f3d5b7d3 (patch) | |
tree | d26c30313bf3ff302ca22873f86b1d8958802f52 /man | |
parent | 8767435ef847831455fadc1f7e8f4d2d94aef0d5 (diff) | |
download | lvm2-cd8ea8b437de53f0019bd69d542a7d01f3d5b7d3.tar.gz lvm2-cd8ea8b437de53f0019bd69d542a7d01f3d5b7d3.tar.xz lvm2-cd8ea8b437de53f0019bd69d542a7d01f3d5b7d3.zip |
activate: skip manual activation for --sysinit -aay
When --sysinit -a ay is used with vg/lvchange and lvmetad is up and running,
we should skip manual activation as that would be a useless step - all volumes
are autoactivated once all the PVs for a VG are present.
If lvmetad is not active at the time of the vgchange --sysinit -a ay
call, the activation proceeds in standard 'manual' way.
This way, we can still have vg/lvchange --sysinit -a ay called
unconditionally in system initialization scripts no matter if lvmetad
is used or not.
Diffstat (limited to 'man')
-rw-r--r-- | man/lvchange.8.in | 5 | ||||
-rw-r--r-- | man/vgchange.8.in | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/man/lvchange.8.in b/man/lvchange.8.in index c7507d47..bf9ef480 100644 --- a/man/lvchange.8.in +++ b/man/lvchange.8.in @@ -105,6 +105,11 @@ this is equivalent to using \fB\-\-ignorelockingfailure\fP, \fB\-\-ignoremonitoring\fP, \fB\-\-poll n\fP and setting \fBLVM_SUPPRESS_LOCKING_FAILURE_MESSAGES\fP environment variable. + +If \fB\-\-sysinit\fP is used in conjunction with lvmetad(8) enabled and running, +autoactivation is preferred over manual activation via direct lvchange call. +Logical volumes are autoactivated according to auto_activation_volume_list +set in lvm.conf(5). .TP .B \-\-noudevsync Disable udev synchronisation. The diff --git a/man/vgchange.8.in b/man/vgchange.8.in index 28e26236..0f5fc588 100644 --- a/man/vgchange.8.in +++ b/man/vgchange.8.in @@ -121,6 +121,11 @@ this is equivalent to using .B \-\-poll n and setting \fBLVM_SUPPRESS_LOCKING_FAILURE_MESSAGES\fP environment variable. + +If \fB\-\-sysinit\fP is used in conjunction with lvmetad(8) enabled and running, +autoactivation is preferred over manual activation via direct vgchange call. +Logical volumes are autoactivated according to auto_activation_volume_list +set in lvm.conf(5). .TP .BR \-\-noudevsync Disable udev synchronisation. The |