LVM volume group, two logical volumes and persistent mounts
Scenario lfcs-sto-001 · about 6 minutes · 8 points · 7 grader checks
Turn two block devices into a volume group, carve an ext4 and an XFS logical volume, and mount both persistently, one of them by UUID.
- lvm
- ext4
- xfs
- fstab
- mount
What you will practise
- Create physical volumes, a volume group and logical volumes
- Create ext4 and XFS filesystems
- Mount filesystems persistently by UUID through /etc/fstab
Start this lab
With the CLI installed and signed in, this command provisions a fresh Ubuntu 24.04 LTS virtual machine on your Mac, applies the scenario setup and prints the task below.
goldenkube start lfcs-sto-001Task
The task text exactly as the CLI shows it. Solve it on the machine, then run goldenkube submit.
Requirements and details
- Certification
- LFCS · Linux Foundation Certified System Administrator
- Domain
- Storage
- Difficulty
- Medium
- Environment
- Single Linux VM
- Recommended time
- 6 minutes
- Points
- 8
- Grader checks
- 7
- Operating system
- Ubuntu 24.04 LTS
- Minimum CLI version
- 0.1.0
- Scenario version
- 1
- Published
Grading runs locally: 7 state checks read your machine when you submit; the scenario passes when every check passes. Hints, the reference solution and the check definitions are available only inside the CLI, not on this page.
More Storage labs
Grow a logical volume online and share it over NFS
Extend a mounted logical volume and its filesystem without unmounting it, then export a directory read-only over NFS and mount the export persistently.
Single Linux VM · ~7 min · 8 points
- lvm
- lvextend
- resize2fs
- nfs
- exports
- fstab
goldenkube start lfcs-sto-002
Swap file, tmpfs and a device under I/O load
Add a persistent swap file and a size-limited tmpfs, then find the block device under constant write load and stop the service causing it.
Single Linux VM · ~6 min · 8 points
- swap
- tmpfs
- fstab
- iostat
- performance
goldenkube start lfcs-sto-003
Repair a damaged filesystem and mount it on demand
Recover an ext4 filesystem whose primary superblock is destroyed, then make autofs mount it read-only on first access.
Single Linux VM · ~7 min · 8 points
- e2fsck
- superblock
- filesystem-repair
- autofs
- automount
goldenkube start lfcs-sto-004
Independent community project, not affiliated with or endorsed by CNCF or The Linux Foundation. Lab results are practice feedback, not an exam score.