main - man: add some resizing examples
Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=348c46c8fcc285b1c7495a3792f2c3b1c2939e8e Commit: 348c46c8fcc285b1c7495a3792f2c3b1c2939e8e Parent: a21028dea71464f93cd1c0836aee63ebfc3add10 Author: Zdenek Kabelac <[email protected]> AuthorDate: Fri Apr 23 12:53:14 2021 +0200 Committer: Zdenek Kabelac <[email protected]> CommitterDate: Fri Apr 23 23:00:55 2021 +0200
man: add some resizing examples
Add some examples with -l% usage.
--- man/lvextend.8_end | 6 ++++++ man/lvresize.8_end | 6 +++++- man/see_also.end | 1 + 3 files changed, 12 insertions(+), 1 deletion(-)
man/lvextend.8_end +6 -0
@@ -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
man/lvresize.8_end +5 -1
@@ -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
man/see_also.end +1 -0
@@ -63,6 +63,7 @@ .BR lvmlockctl (8), .BR cmirrord (8), .BR lvmdbusd (8), +.BR fsadm (8), .P .BR lvmsystemid (7), .BR lvmreport (7),