mirror of
git://sourceware.org/git/lvm2.git
synced 2025-04-21 14:50:36 +03:00
vdo: man documenting resize
This commit is contained in:
parent
a16d914d34
commit
01cbdc4e67
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user