1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

man: add some resizing examples

Add some examples with -l% usage.
This commit is contained in:
Zdenek Kabelac 2021-04-23 12:53:14 +02:00
parent a21028dea7
commit 348c46c8fc
3 changed files with 12 additions and 1 deletions

View File

@ -14,3 +14,9 @@ space on PV /dev/sdk3. This is equivalent to specifying
Extend an LV by 16MiB using specific physical extents.
.br
.B lvextend -L+16m vg01/lvol01 /dev/sda:8-9 /dev/sdb:8-9
.P
Extend an LV to use all remaining free space in volume group
and all resize its filesystem with
.BR fsadm (8).
.br
.B lvextend -l+100%FREE -r vg01/lvol01

View File

@ -1,6 +1,10 @@
.
.SH EXAMPLES
.
Extend an LV by 16MB using specific physical extents:
Extend an LV by 16MB using specific physical extents.
.br
.B lvresize -L+16M vg1/lv1 /dev/sda:0-1 /dev/sdb:0-1
.P
Resize an LV to use 50% of the size volume group.
.br
.B lvresize -l50%VG vg1/lv1

View File

@ -63,6 +63,7 @@
.BR lvmlockctl (8),
.BR cmirrord (8),
.BR lvmdbusd (8),
.BR fsadm (8),
.P
.BR lvmsystemid (7),
.BR lvmreport (7),