Storage Management with LVM Flashcards
7 cards from real LFCS Certification practice questions. Tap to flip, then mark Knew It or Still Learning — missed cards come back until you master them.
Read the first 7 Storage Management with LVM flashcards as text
Which command reduces the size of a logical volume named /dev/vg0/lv_data to 10G?
Answer: lvreduce -L 10G /dev/vg0/lv_data
lvreduce is the dedicated command for shrinking a logical volume, accepting an absolute size with -L.
Before shrinking an ext4 filesystem on a logical volume, which step is mandatory?
Answer: Unmount the filesystem, then run resize2fs to shrink it first
The filesystem must be unmounted and resized with resize2fs before the logical volume itself is reduced to avoid data corruption.
What does the command 'vgextend vg0 /dev/sdc' accomplish?
Answer: Adds physical volume /dev/sdc to the volume group vg0
vgextend adds an already-initialized physical volume to an existing volume group, increasing available space.
Which LVM metadata backup file location stores automatic backups of volume group metadata?
Answer: /etc/lvm/backup/
/etc/lvm/backup/ holds the most recent automatic metadata backup for each volume group.
A physical volume /dev/sdb is part of vg0 but has no extents allocated. Which command safely removes it from the VG?
Answer: vgreduce vg0 /dev/sdb
vgreduce removes a physical volume from a volume group; pvremove then wipes the PV label entirely.
What is the purpose of the 'pvmove /dev/sdb' command?
Answer: Migrates all allocated extents off /dev/sdb to other PVs in the same VG
pvmove relocates allocated physical extents from one PV to free extents on other PVs in the volume group without data loss.
Which command displays the physical extents allocation map for a specific logical volume?
Answer: lvdisplay -m /dev/vg0/lv_data
lvdisplay -m (or --maps) shows a segment-by-segment map of which physical extents back each segment of the logical volume.
How this page was made: written with AI tools and published by Nathan Beja, founder of Practice Test Geeks, who is responsible for its content. Exam facts are checked against the official sources listed below. Not reviewed by a subject-matter expert. Editorial policy
Sources & references
Exam facts on this page (fees, format, dates, passing scores) are checked against these official sources; the date is our last check. Editorial policy
- docs.linuxfoundation.org — Renewal, score release, exam format, passing score · verified Oct 2026
- training.linuxfoundation.org — Test delivery, eligibility, fees, registration deadline, time limit, score validity · verified Oct 2026