summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorZdenek Kabelac <zkabelac@redhat.com>2012-06-28 14:47:34 +0200
committerZdenek Kabelac <zkabelac@redhat.com>2012-07-18 14:36:57 +0200
commitebbf7d8e68f37c1a1e448a07676cca0a6e7f1430 (patch)
tree323db958763100efbf951dd619c78b18f1b3d3a7 /man
parent260e8f24768d7a6e7c6a8018b5c2b08e7a35e35c (diff)
downloadlvm2-ebbf7d8e68f37c1a1e448a07676cca0a6e7f1430.tar.gz
thin: add discard support for thin pool
Add arg support for discard. Add discard ignore, nopassdown, passdown (=default) support. Flags could be set per pool. lvcreate [--discard {ignore|no_passdown|passdown}] vg/thinlv
Diffstat (limited to 'man')
-rw-r--r--man/lvcreate.8.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/man/lvcreate.8.in b/man/lvcreate.8.in
index 2917775aa..1911605a8 100644
--- a/man/lvcreate.8.in
+++ b/man/lvcreate.8.in
@@ -54,6 +54,8 @@ lvcreate \- create a logical volume in an existing volume group
.RB [ \-T | \-\-thin
.RB [ \-c | \-\-chunksize
.IR ChunkSize ]
+.RB [ \-\-discard
+.RI { ignore | nopassdown | passdown }]
.RB [ \-\-poolmetadatasize
.IR MetadataSize [ bBsSkKmMgG ]]]
.RB [ \-\-thinpool
@@ -138,6 +140,10 @@ Sets or resets the contiguous allocation policy for
logical volumes. Default is no contiguous allocation based
on a next free principle.
.TP
+.BR \-\-discard " {" \fIignore | \fInopassdown | \fIpassdown }
+Set discard behavior.
+Default is \fIpassdown\fP.
+.TP
.BR \-i ", " \-\-stripes " " \fIStripes
Gives the number of stripes.
This is equal to the number of physical volumes to scatter