O'Reilly logo

Linux Utilities Cookbook by James Kent Lewis

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Logical Volume Management (LVM)

LVM for Linux allows one to manage disks or arrays of disks as one large pool of storage. An LVM consists of one or more physical volumes along with one or more logical volumes.

Directories such as /root and /home for example, are located in a logical volume. Several commands exist to manage the LVM. Some operate on physical volumes, some operate on logical volumes, and some on both.

The following list can be used as a quick reference guide for the LVM commands:

  • pvcreate: It initializes a disk or partition
  • pvchange: It changes the allocation permissions of one or more physical volumes
  • pvck: It checks the physical volume metadata
  • pvdisplay: It displays the attributes of a physical volume
  • pvmove: It moves physical extents ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required