Skip to contentSkip to conversation

master - vdo: man documenting resize

PATCH Zdenek Kabelac 1 participant 1 message Jan 21, 2019

lore
Share & tools
lore
#0 lore raw
Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=01cbdc4e673989c4d432e6bea8cde1f8f9e8cda5
Commit:        01cbdc4e673989c4d432e6bea8cde1f8f9e8cda5
Parent:        a16d914d34fff420c663ba34ac8dabfc4403de51
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Fri Jan 18 20:28:35 2019 +0100
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Mon Jan 21 12:53:16 2019 +0100

vdo: man documenting resize

---
 man/lvmvdo.7_main |   36 ++++++++++++++++++++++++++++++++++++
 1 files changed, 36 insertions(+), 0 deletions(-)
man/lvmvdo.7_main +36 -0
index e789f7f..11ca3ac 100644
@@ -219,6 +219,42 @@ Note: vdostats currently understands only /dev/mapper device names.
 
 .fi
 
+.SS 4. Extending VDOPoolLV size
+
+Adding more space to hold VDO data and metadata can be made via
+extension of VDODataLV.
+
+Note: Size of VDOPoolLV cannot be reduced.
+
+.B lvextend -L+AddingSize VG/VDOPoolLV
+
+.I Example
+.br
+.nf
+# lvextend -L+50G vg/vdopool0
+# lvresize -L300G vg/vdopool1
+.fi
+
+.SS 4. Extending or reducing VDOLV size
+
+VDO LV can be extended or reduced as standard LV.
+
+Note: Reduction needs to process TRIM for reduced disk area
+to unmap used data blocks from VDOPoolLV and it may take
+a long time.
+
+.B lvextend -L+AddingSize VG/VDOLV
+.B lvreduce -L-ReducingSize VG/VDOLV
+
+.I Example
+.br
+.nf
+# lvextend -L+50G vg/vdo0
+# lvreduce -L-50G vg/vdo1
+# lvresize -L200G vg/vdo2
+.fi
+
+
 .SH VDO Topics
 
 .br