LFCS Storage Management Practice Question
An administrator wants to ensure that a specific LVM logical volume is automatically resized when the underlying physical volume is extended. Which steps are required?
⚠ Common exam trap
Candidates often assume extending the LV automatically resizes the filesystem, but LVM requires a separate filesystem-specific command (resize2fs or xfs_growfs) to complete the operation.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Extend the physical volume, extend the logical volume, and then run resize2fs (or xfs_growfs) to resize the filesystem.
After extending the underlying physical volume (PV) and the logical volume (LV), the filesystem must be resized to utilize the new space. For ext4, this is done with `resize2fs`; for XFS, `xfs_growfs` is used. LVM does not automatically resize the filesystem when the PV or LV is extended; manual intervention is required to grow the filesystem.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Add the logical volume to the volume group with '--auto-resize' flag.
Why it's wrong here
The flag does not exist.
- ✗
Extend the physical volume, extend the logical volume, and update /etc/fstab with 'auto-resize' option.
Why it's wrong here
No such mount option.
- ✗
Mount the filesystem with the 'extend' option to allow automatic resize on PV changes.
Why it's wrong here
No such mount option exists.
- ✓
Extend the physical volume, extend the logical volume, and then run resize2fs (or xfs_growfs) to resize the filesystem.
Why this is correct
Filesystem resize is a manual step after LV extension.
Go deeper
Related to this question
About these practice questions
Courseiva writes every LFCS question from scratch — 507 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This LFCS practice question is part of Courseiva's free Linux Foundation certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the LFCS exam.