February 2020
Intermediate to advanced
734 pages
38h 13m
English
We hope you noticed the naming scheme that's inherent in all of the LVM commands. Commands prefixed with pv are meant for physical volume management. Similarly, vg is used for volume groups, and lv is for logical volumes. This greatly simplifies the management of LVM devices.
We used pvcreate, vgcreate, and lvcreate in this recipe. However, it shouldn't surprise you that there are also analogous pvremove, vgremove, and lvremove commands as well. There are also commands to retrieve information about volumes and groups: pvdisplay, vgdisplay, and lvdisplay.
This is one of the reasons we enjoy working with LVM; we rarely have to guess at commands.
Read now
Unlock full access