lv LV shrink and expand

See vgs vg size and a few
lvs lv Several View size and
df -h + (mount point path) see how much memory is used
find / -name view lv specific path
refine lv:
the lvreduce -L -1g / dev / datavg02 / local (/ dev / datavg02 / local path which is specific for the lv)
to create the lV:
the lvcreate -n Specifies the name of the new logical volume lv -L specified size sIZE (M, G) (-l : l specified small number LE ) vgname

lvcreate -n lv01 -L 16M datavg02 (datavg02 is specified that vg disk)

LV dilatation:
the lvextend -L 1g / dev / datavg02 / lv01 (/ dev / datavg02 / lv01 path to increased LV) +

Guess you like

Origin www.cnblogs.com/lijibing123456/p/11261553.html
lv