LVM stacking.
Logical Volume Manager turns physical disks into pools you can carve, grow, snapshot, and migrate without downtime. Build the stack layer by layer; then extend live and snapshot. Maps to the RH134 storage objectives.
LVM (Logical Volume Manager) explained with animations. Physical volumes, volume groups, logical volumes, filesystems, extension, and snapshots. Covers the RHCSA EX200 exam objectives on LVM storage.LVM is a layer between your disks and your filesystem. The payoff: combine multiple disks into one pool, carve flexible "virtual partitions" out of it, grow them online, and snapshot for backup. Build the stack one layer at a time.
- ·Mounting a filesystem (mount, /etc/fstab)
- ·Reading block devices with lsblk and df
- ·Comfortable as root or with sudo
Build a Volume Group, carve a Logical Volume out of it, format/mount it, then extend it online and snapshot it for backup — explaining each layer.
pace: 8 minutes
Before LVM — bare disks
Without LVM, you'd partition each disk with fdisk/parted and put a filesystem directly on the partition. Need more space? Back up, repartition, restore — usually with downtime.
$lsblkThe LVM commands all start with the layer they operate on: pv* for physical volumes, vg* for volume groups, lv* for logical volumes. Master the naming and the rest follows: pvs / pvdisplay, vgs / vgdisplay / vgextend, lvs / lvdisplay / lvextend / lvreduce / lvremove.
$pvs / pvdisplay$pvcreate /dev/sdX1$vgs / vgdisplay$vgcreate vg_data /dev/sdX1 /dev/sdY1$vgextend vg_data /dev/sdZ1$lvs / lvdisplay$lvcreate -L 10G -n NAME vg_data$lvcreate -l 100%FREE -n NAME vg_data$lvextend -L +5G --resizefs /dev/vg/NAME$lvreduce -L -2G --resizefs /dev/vg/NAME$lvcreate -s -L 2G -n NAME_snap /dev/vg/NAME$lvremove /dev/vg/NAME$vgrename / lvrename$pvmove /dev/sdoldWhich LVM layer pools multiple physical volumes into a single space?
Your /var/www LV is full. Disk has free space. One-line fix?
You want to take a consistent backup of /var/www without stopping writes. What's the LVM move?
Which file system can NOT be shrunk online (or at all without unusual tools)?
These aren't graded — they're just for active recall, which is what actually makes the lesson stick.
keep going — these pair well with what you just learned.
SELinux contexts
Why Apache can't read your file. Watch the policy engine decide — and learn the workflow for fixing denials. RHCSA-ready.
Linux boot process
From power button to login prompt. Every stage in the chain — UEFI, GRUB, kernel, initramfs, systemd — with the rescue moves that save you. RHCSA-ready.
systemd targets
How systemd organizes services with dependencies and targets. Visual dependency graph, target nesting, and the isolate trick. RHCSA-ready.