Exam XK0-005 Topic 2 Question 206 Discussion
Actual exam question for CompTIA's XK0-005 exam
Question #: 206
Topic #: 2
Question #: 206
Topic #: 2
A systems administrator detected corruption in the /data file system. Given the following output:

Which of the following commands can the administrator use to BEST address this issue?

Which of the following commands can the administrator use to BEST address this issue?
Suggested Answer: B Vote an answer
The xfs repair command is used to check and repair an XFS filesystem, which is the type of filesystem used for the /data partition, as shown in the output. The administrator needs to unmount the /data partition before running the xfs repair command on it, and then mount it back after the repair is done. For example: umount /data; xfs_repair /dev/sdcl; mount /data. The mkfs.xfs command is used to create a new XFS filesystem, which would erase all the data on the partition. The fsck command is used to check and repair other types of filesystems, such as ext4, but not XFS. The pvs command is used to display information about physical volumes in a logical volume manager (LVM) setup, which is not relevant for this issue.
by Blake at May 29, 2025, 05:52 AM
0
0
0
10
Comments
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Report Comment
Commenting
You can sign-up / login (it's free).