kesto.de Cheatsheets

lvm

Create logical volume in specified volume group

lvcreate --size 2TB --name example-lv example-vg

List physical volumes (PV), volume groups (VG) and logical volumes (LV)

pvs
vgs
lvs

Remove logical volume

lvremove vg0/lvol0