LFCS Storage Management Practice Question
A system administrator is troubleshooting a server that fails to mount an XFS filesystem on /dev/sdb1 during boot. The filesystem was recently created. Which command should the administrator run to check the filesystem for corruption?
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_repair /dev/sdb1
Xfs_repair is the appropriate tool for checking and repairing XFS filesystems. Option A is wrong because fsck.ext4 is for ext4 filesystems, not XFS. Option B is wrong because xfs_check is deprecated and not recommended; it has been replaced by xfs_repair. Option D is wrong because xfs_admin is used for tuning parameters, not checking for corruption.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
fsck.ext4 /dev/sdb1
Why it's wrong here
fsck.ext4 is for ext4 filesystems, not XFS.
- ✗
xfs_check /dev/sdb1
Why it's wrong here
xfs_check is deprecated and not recommended; use xfs_repair instead.
- ✓
xfs_repair /dev/sdb1
Why this is correct
xfs_repair is the tool for checking and repairing XFS filesystems.
- ✗
xfs_admin /dev/sdb1
Why it's wrong here
xfs_admin is used for tuning XFS filesystem parameters, not checking corruption.
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.