summaryrefslogtreecommitdiffstats
path: root/man
diff options
context:
space:
mode:
authorZdenek Kabelac <zkabelac@redhat.com>2012-03-06 09:22:02 +0000
committerZdenek Kabelac <zkabelac@redhat.com>2012-03-06 09:22:02 +0000
commit34a45b0029c767827d4a9ef10cc62cf6a42d9b72 (patch)
tree6c7a9f96dd9fd049071d5b566aefbe00914afc0d /man
parenta17ac481ab96d428436651d24cddba0e05880399 (diff)
downloadlvm2-34a45b0029c767827d4a9ef10cc62cf6a42d9b72.tar.gz
lvm2-34a45b0029c767827d4a9ef10cc62cf6a42d9b72.tar.xz
lvm2-34a45b0029c767827d4a9ef10cc62cf6a42d9b72.zip
Fix warn message and update man page
Fix regression in man page. The chunk size is in kilobyte units on command line input though in the source code we work with sector size unit so make it clear in the man page. Update chunksize for thin pool in man page - it's max value is 1024M == 1G. Fix warning range message to show proper max value.
Diffstat (limited to 'man')
-rw-r--r--man/lvcreate.8.in13
1 files changed, 8 insertions, 5 deletions
diff --git a/man/lvcreate.8.in b/man/lvcreate.8.in
index e8520d99..1090a1e7 100644
--- a/man/lvcreate.8.in
+++ b/man/lvcreate.8.in
@@ -120,11 +120,14 @@ If clustered locking is enabled, \fB-a\fIey\fR will activate exclusively
on one node and \fB-a\fIly\fR will activate only on the local node.
.TP
.BR \-c ", " \-\-chunksize " " \fIChunkSize
-Power of 2 chunk size in sector units (512b).
-For snapshot logical volume the value must be between 8 (4KB) and 1024 (512KB)
-and the default value is 8.
-For thin pool logical volume the value must be between 128 (64KB) and
-2097152 (1MB) and the default value is 128.
+Gives the size of chunk for snapshot and thin pool logical volumes.
+For snapshots the value must be power of 2 between 4KiB and 512KiB
+and the default value is 4.
+For thin pools the value must be power of 2 between 64KiB and
+1048576KiB and the default value starts with 64 and scales
+up to fit the pool metadata size within 128MB,
+if the poolmetadata size is not specified.
+Default unit is in kilobytes.
.TP
.BR \-C ", " \-\-contiguous " {" \fIy | \fIn }
Sets or resets the contiguous allocation policy for