From 0fd4d3f64705e285c46fd53ee6fcf571f43ac268 Mon Sep 17 00:00:00 2001 From: Marcos Sebastian <7796644+sne4ky@users.noreply.github.com> Date: Sat, 29 Aug 2020 11:48:30 +0200 Subject: [PATCH] Fixed flag Tested it with LVM version: 2.02.187(2) (2020-03-24) Library version: 1.02.170 (2020-03-24) Driver version: 4.42.0 The correct parameter is -l and not -L in the case of a percentage augment --- sheets/lvextend | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sheets/lvextend b/sheets/lvextend index 03858a7..526d17f 100644 --- a/sheets/lvextend +++ b/sheets/lvextend @@ -15,7 +15,7 @@ lvextend -L +1G /dev/vg0/mylv # Extend volume in volume mylv in groug vg0 # (defined by volume path /dev/vg0/mylv) # to use all of the unallocated space in the volume group vg0: -lvextend -L +100%FREE /dev/vg0/mylv +lvextend -l +100%FREE /dev/vg0/mylv # Extend ext4 filesystem after changing a logical volume # (takes volume path as parameter):