easyMultiple ChoiceObjective-mapped
XK0-006 The /home partition is nearly full Practice Question
Exhibit
Refer to the exhibit. Filesystem Size Used Avail Use% Mounted on /dev/sda1 976M 120M 789M 14% /boot /dev/mapper/vg-root 18G 5.2G 12G 31% / tmpfs 1.9G 0 1.9G 0% /dev/shm /dev/mapper/vg-home 2.0G 1.9G 68M 97% /home
The /home partition is nearly full. The administrator wants to increase the size of the home filesystem. Which action should be taken first?
⚠ Common exam trap
The trap here is that candidates often jump to extending the logical volume (lvextend) or resizing the filesystem (resize2fs) without first unmounting, forgetting that the filesystem must be offline for safe metadata manipulation.
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
✓
Unmount the /home filesystem
Before any logical volume or filesystem operations can be performed on a partition that is in use, the filesystem must be unmounted to prevent data corruption and ensure the metadata is in a consistent state. The /home filesystem is actively used by user processes, so unmounting it first is mandatory before resizing or extending the underlying logical volume.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Unmount the /home filesystem
Why this is correct
Unmounting ensures no writes occur during the resize process, minimizing risk of data corruption.
- ✗
Use resize2fs on /dev/mapper/vg-home
Why it's wrong here
resize2fs resizes the filesystem but is done after extending the logical volume; also, it requires the filesystem to be prepared.
- ✗
Use lvextend to extend the logical volume
Why it's wrong here
lvextend extends the logical volume but should be done after unmounting for data integrity, though online resizing is possible.
- ✗
Add a new disk to the volume group
Why it's wrong here
This may be necessary if no free space exists, but it is not the first step; checking existing free space is more immediate.
Go deeper
Related to this question
Learn chapter
Navigating the Filesystem
Key term
Logical volume
A logical volume is a virtual storage unit created from one or more physical hard drives that can be resized, moved, or snapshotted without disrupting the system.
Key term
User
A user is any person, system, or device that interacts with an IT service, resource, or identity system, typically authenticated through credentials and authorized to perform specific actions.
About these practice questions
One of 979 original XK0-006 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 XK0-006 practice question is part of Courseiva's free CompTIA 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 XK0-006 exam.