Код: Выделить всё
# lvresize --resizefs --size -100G /dev/vg/root
Код: Выделить всё
root@book:/home/user# lvs
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
home vg -wi-ao---- 178,00g
root vg -wi-ao---- <51,93g
swap_1 vg -wi-ao---- 980,00m
Код: Выделить всё
--units r|R|h|H|b|B|s|S|k|K|m|M|g|G|t|T|p|P|e|E
All sizes are output in these units: human-(r)eadable with '<'
rounding indicator, (h)uman-readable, (b)ytes, (s)ectors,
(k)ilobytes, (m)egabytes, (g)igabytes, (t)erabytes,
(p)etabytes, (e)xabytes. Capitalise to use multiples of 1000
(S.I.) instead of 1024. Custom units can be specified, e.g.
--units 3M.