summaryrefslogtreecommitdiffstats
path: root/man
diff options
context:
space:
mode:
authorZdenek Kabelac <zkabelac@redhat.com>2012-06-28 14:52:23 +0200
committerZdenek Kabelac <zkabelac@redhat.com>2012-07-18 14:38:34 +0200
commit48367c5be9b39cd118caeb6b8e554be347d2fd8c (patch)
tree8c159876a15394de789b74b15b67da1cff8d75ca /man
parent46b9cc1248941cc43f953e1a6b285ebe64a62077 (diff)
downloadlvm2-48367c5be9b39cd118caeb6b8e554be347d2fd8c.tar.gz
lvm2-48367c5be9b39cd118caeb6b8e554be347d2fd8c.tar.xz
lvm2-48367c5be9b39cd118caeb6b8e554be347d2fd8c.zip
thin: add lvchange for discard and zero change
Update lvchange to allow change of 'zero' flag for thinpool. Add support for changing discard handling. N.B. from/to ignore could be only changed for inactive pool.
Diffstat (limited to 'man')
-rw-r--r--man/lvchange.8.in14
1 files changed, 13 insertions, 1 deletions
diff --git a/man/lvchange.8.in b/man/lvchange.8.in
index bf9ef480..beb77a86 100644
--- a/man/lvchange.8.in
+++ b/man/lvchange.8.in
@@ -16,6 +16,8 @@ lvchange \- change attributes of a logical volume
.RB [ \-d | \-\-debug ]
.RB [ \-\-deltag
.IR Tag ]
+.RB [ \-\-discard
+.RI { ignore | nopassdown | passdown }]
.RB [ \-\-resync ]
.RB [ \-h | \-? | \-\-help ]
.RB [ \-\-ignorelockingfailure ]
@@ -37,7 +39,9 @@ lvchange \- change attributes of a logical volume
.RI { ReadAheadSectors | auto | none }]
.RB [ \-\-refresh ]
.RB [ \-t | \-\-test ]
-.RB [ \-v | \-\-verbose]
+.RB [ \-v | \-\-verbose ]
+.RB [ \-Z | \-\-zero
+.RI { y | n }]
.I LogicalVolumePath
.RI [ LogicalVolumePath ...]
.SH DESCRIPTION
@@ -68,6 +72,9 @@ logical volumes. It's only possible to change a non-contiguous
logical volume's allocation policy to contiguous, if all of the
allocated physical extents are already contiguous.
.TP
+.BR \-\-discard " {" \fIignore | \fInopassdown | \fIpassdown }
+Change discard behavior.
+.TP
.B \-\-resync
Forces the complete resynchronization of a mirror. In normal
circumstances you should not need this option because synchronization
@@ -142,6 +149,11 @@ If the logical volume is active, reload its metadata.
This is not necessary in normal operation, but may be useful
if something has gone wrong or if you're doing clustering
manually without a clustered lock manager.
+.TP
+.BR \-Z ", " \-\-zero " {" \fIy | \fIn }
+Set zeroing mode for thin pool. Note: already provisioned blocks from pool
+in non-zero mode are not cleared in unwritten parts when setting zero to
+\fIy\fP.
.SH Examples
Changes the permission on volume lvol1 in volume group vg00 to be read-only:
.sp