lvm Command Examples

Manage physical volumes, volume groups, and logical volumes using the Logical Volume Manager (LVM) interactive shell. More information: https://manned.org/lvm.

sudo lvm

sudo lvm pvcreate {{/dev/sdXY}}

sudo lvm pvdisplay

sudo lvm vgcreate {{vg1}} {{/dev/sdXY}}

sudo lvm vgdisplay

sudo lvm lvcreate -L {{10G}} {{vg1}}

sudo lvm lvdisplay

lvm help {{command}}