EX200 Deploy, configure, and maintain systems Practice Question
An administrator extends a logical volume by 5GB. The filesystem is XFS. Which command must be run to make the additional space available?
⚠ Common exam trap
Test-takers frequently confuse the logical volume resize (lvresize) with the filesystem resize, assuming the filesystem automatically expands when the LV grows, or they mistakenly apply ext4 tools like resize2fs to an XFS filesystem.
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
✓
xfs_growfs /mount
After extending a logical volume with lvresize, the XFS filesystem does not automatically recognize the new space. The xfs_growfs command must be run on the mounted filesystem to expand it to fill the enlarged logical volume. This command can target the mount point directly and works online without unmounting.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
xfs_growfs /mount
Why this is correct
xfs_growfs /mount is correct because it is the only command that actually expands the XFS filesystem to fill the newly available space in the underlying logical volume. It operates online on a mounted filesystem, takes the mount point as an argument, and grows the filesystem to consume all unallocated space in the LV without requiring an unmount or reboot.
- ✗
mount -o remount /mount
Why it's wrong here
mount -o remount /mount is incorrect because remounting an XFS filesystem only reapplies mount options (e.g., ro/rw, noatime) and re-reads the mount table; it does not trigger any filesystem resizing operation. The kernel does not use a remount to discover or allocate the extra space added to the logical volume, so the filesystem remains at its original size.
- ✗
resize2fs /dev/vg/lv_root
Why it's wrong here
resize2fs /dev/vg/lv_root is incorrect because resize2fs is the resizing tool for ext2/ext3/ext4 filesystems only. Running it against an XFS filesystem will fail with a superblock mismatch or an "unknown filesystem" error, since XFS uses a completely different on-disk format and must be grown with xfs_growfs, not resize2fs.
- ✗
lvresize -L +5G /dev/vg/lv_root
Why it's wrong here
lvresize -L +5G /dev/vg/lv_root is incorrect in this context because that command was very likely the one already used to extend the logical volume by 5 GB. It resizes only the block device (the LV), leaving the XFS filesystem unaware of the new space; a separate step to grow the filesystem with xfs_growfs is still required.
Go deeper
Related to this question
About these practice questions
One of 427 original EX200 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This EX200 practice question is part of Courseiva's free Red Hat 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 EX200 exam.