RHCSA LVM Storage Management Flashcards
7 cards from real RHCSA practice questions. Tap to flip, then mark Knew It or Still Learning — missed cards come back until you master them.
Read the first 7 RHCSA LVM Storage Management flashcards as text
Which command displays detailed information about a specific logical volume, including its size and status?
Answer: lvdisplay /dev/vg0/lv0
lvdisplay shows detailed attributes of a logical volume including size, status, and path.
After extending a logical volume with lvextend, what must you do to make the extra space usable on an XFS filesystem?
Answer: xfs_growfs /dev/vg0/lv0
xfs_growfs expands an XFS filesystem to fill the newly extended logical volume.
What is the correct command to remove a logical volume named 'data' from volume group 'vg1'?
Answer: lvremove /dev/vg1/data
lvremove is the correct command to delete a logical volume; the LV must be unmounted first.
Which file contains persistent LVM configuration metadata backed up automatically on changes?
Answer: /etc/lvm/backup/
LVM automatically archives volume group metadata to /etc/lvm/backup/ after each configuration change.
You want to create a logical volume using 100% of the free space in vg0. Which command achieves this?
Answer: lvcreate -l 100%FREE -n lv0 vg0
The -l 100%FREE syntax tells lvcreate to use all remaining free extents in the volume group.
What does the 'pe_start' value represent in LVM physical volume metadata?
Answer: The offset where the first physical extent begins on the disk
pe_start is the offset in kilobytes from the beginning of the disk where the first physical extent starts.
Which command would you use to scan all block devices and report any LVM physical volumes found?
Answer: pvscan
pvscan scans all block devices in the system and reports any that contain LVM physical volume signatures.