LVM Partition Filesystem and Mount Checklist for RHCSA
Storage is a major RHCSA area. System admins need to create partitions, physical volumes, volume groups, logical volumes, filesystems and persistent mounts without losing data.
Core principle
Storage has layers: disk, partition, physical volume, volume group, logical volume, filesystem and mount point. If one layer is missing, the storage path does not work.
Checklist
- Identify available disks.
- Create a partition safely.
- Create a physical volume.
- Create a volume group.
- Create a logical volume.
- Create a filesystem.
- Create a mount point.
- Mount the filesystem.
- Add persistent mount to fstab.
- Verify mount after reboot or remount test.
Reusable lesson
This applies to website storage, database storage, backup volumes, log partitions, Docker data volumes and cloud disk expansion.
When to Use This Checklist
Use this checklist when practicing RHCSA storage tasks or building Linux storage layouts for real servers.
Required Tools
Linux VM with extra disk, sudo access, lsblk, parted or fdisk, LVM tools, mkfs, mount, fstab backup
Before You Start
Practice storage tasks on a lab disk. Do not partition or format production disks without confirmed backup and disk identity.
Structured Checklist Steps
- Identify disk.
- Create partition.
- Create physical volume.
- Create volume group.
- Create logical volume.
- Create filesystem.
- Create mount point.
- Mount filesystem.
- Edit fstab.
- Verify mount.
Verification Steps
- Correct disk is used.
- LVM layers are visible.
- Filesystem mounts successfully.
- fstab entry is valid.
- Mount survives remount or reboot test.
Rollback Plan
If a new fstab entry prevents boot or mount, use rescue mode or console access to remove the bad entry and restore the previous fstab backup.
Common Mistakes
- Formatting the wrong disk.
- Skipping fstab backup.
- Using device names that may change.
- Not testing mount before reboot.
- Confusing LV path with mount point.
Related Commands
lsblk
sudo pvcreate /dev/sdb1
sudo vgcreate data_vg /dev/sdb1
sudo lvcreate -n web_lv -L 5G data_vg
sudo mkfs.xfs /dev/data_vg/web_lv
sudo mkdir -p /data/web
sudo mount /dev/data_vg/web_lv /data/web
df -h
sudo cp /etc/fstab /etc/fstab.bak
sudo mount -a