CertGrid CertGrid
Hands-on Lab·Red Hat Certified System Administrator

LVM Volume Groups

The middle layer, and the one that makes LVM worth using: a volume group can grow by absorbing another disk while everything above it stays running. The physical extent size is set here and cannot be changed afterwards, which is why it gets a step.

Local Storage Guide 33 of 67 Intermediate

The default physical extent is 4 MiB, set with -s at vgcreate time. It is the granularity of every allocation in the group and cannot be changed once the group exists, so a group intended for very large volumes is usually created with a larger extent.

Every command on this page runs on RHCSA-A01.
Server NameIP AddressOSRolesCPURAMHDD
RHCSA-A01192.168.0.31RHEL 10.0Practice node (graded) - spare /dev/sda2 Core4 GB50 GB + 15 GB

This guide includes

Use this for the layer that makes LVM worth using. This matters because a volume group pools several devices into one allocation space - and the extent is the unit everything gets rounded to.

Before you start

  1. Creating a group

  2. Growing it

  3. Extents are the unit of allocation

  4. Shrinking and removing

Official sources