From 453cdee51c1c1d1499de12c5b00ba1a52db4f930 Mon Sep 17 00:00:00 2001 From: Alasdair Kergon Date: Wed, 1 Jun 2011 19:21:03 +0000 Subject: Permit --available with lvcreate so non-snapshot LVs need not be activated. --- man/lvcreate.8.in | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'man') 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 -- cgit