summaryrefslogtreecommitdiffstats
path: root/man/lvcreate.8.in
diff options
context:
space:
mode:
authorAlasdair Kergon <agk@redhat.com>2011-06-01 19:21:03 +0000
committerAlasdair Kergon <agk@redhat.com>2011-06-01 19:21:03 +0000
commit453cdee51c1c1d1499de12c5b00ba1a52db4f930 (patch)
tree278697acd26235a10017eda42e617a3307a2c1d5 /man/lvcreate.8.in
parent677ec408bf6d3d82452d9357947c5d9691e968d8 (diff)
downloadlvm2-453cdee51c1c1d1499de12c5b00ba1a52db4f930.tar.gz
lvm2-453cdee51c1c1d1499de12c5b00ba1a52db4f930.tar.xz
lvm2-453cdee51c1c1d1499de12c5b00ba1a52db4f930.zip
Permit --available with lvcreate so non-snapshot LVs need not be activated.
Diffstat (limited to 'man/lvcreate.8.in')
-rw-r--r--man/lvcreate.8.in13
1 files changed, 13 insertions, 0 deletions
diff --git a/man/lvcreate.8.in b/man/lvcreate.8.in
index 0d0976ff..4dced001 100644
--- a/man/lvcreate.8.in
+++ b/man/lvcreate.8.in
@@ -5,6 +5,7 @@ lvcreate \- create a logical volume in an existing volume group
.B lvcreate
[\-\-addtag Tag]
[\-\-alloc AllocationPolicy]
+[\-a|\-\-available y|n|ey|en|ly|ln]
[\-A|\-\-autobackup y|n] [\-C|\-\-contiguous y|n] [\-d|\-\-debug]
[\-h|\-?|\-\-help] [\-\-noudevsync]
[\-\-ignoremonitoring]
@@ -55,6 +56,18 @@ keep the contents of the original logical volume for backup purposes.
.SH OPTIONS
See \fBlvm\fP for common options.
.TP
+.I \-a, \-\-available y|n|ey|en|ly|ln
+Controls the availability of the Logical Volumes for immediate use after
+the command finishes running.
+By default, new Logical Volumes are activated automatically (-ay).
+If it is possible technically, -an will leave the new Logical Volume inactive.
+But for example, snapshots can only be created
+in the active state so -an cannot be used with --snapshot.
+Normally the --zero n argument has to be supplied too because zeroing (the
+default behaviour) also requires activation.
+If clustered locking is enabled, -aey will activate exclusively
+on one node and -aly will activate only on the local node.
+.TP
.I \-c, \-\-chunksize ChunkSize
Power of 2 chunk size for the snapshot logical volume between 4k and 512k.
.TP