lvm
Manage physical volumes, volume groups, and logical volumes using the Logical Volume Manager (LVM) interactive shell. tldr-pages
On Linux
Linux
Start the Logical Volume Manager interactive shell
sudo lvmIdentifyInitialize a drive or partition to be used as a physical volume
sudo lvm pvcreate /dev/sdXYIdentifyDisplay information about physical volumes
sudo lvm pvdisplayIdentifyCreate a volume group called vg1 from the physical volume on /dev/sdXY
sudo lvm vgcreate vg1 /dev/sdXYIdentifyDisplay information about volume groups
sudo lvm vgdisplayIdentifyCreate a logical volume with size 10G from volume group vg1
sudo lvm lvcreate --size 10G vg1IdentifyDisplay information about logical volumes
sudo lvm lvdisplayIdentifyDisplay help for a specific command
lvm help commandIdentify