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

LVM Logical Volumes

The top LVM layer and the one you actually put a filesystem on. Both ways of specifying size are used here, including the percentage forms that save arithmetic under time pressure, and the rounding LVM performs is shown announcing itself.

Local Storage Guide 34 of 67 Intermediate

Written against the versions above. A logical volume appears under two paths: `/dev/<vg>/<lv>` and `/dev/mapper/<vg>-<lv>`. Both are symlinks to the same `/dev/dm-N`. Either works in `/etc/fstab`, though a UUID is better still - see {{guide:mounting-by-uuid-and-label}}.

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

Before you start

  1. Creating them

  2. Where the device appears

  3. Two ways to say how big, and the rounding

  4. Removing them

Official sources