Free CompTIA Linux+ XK0-005 Practice Question

A system administrator has noticed that applications are having trouble accessing configuration files stored on a mounted filesystem. Upon inspection, the system logs indicate read errors on the filesystem in question. The administrator suspects filesystem corruption. Which command should be executed to check and repair the filesystem while it’s unmounted, preventing further damage or potential data loss?

  • mkfs -t ext4 /dev/sda2

  • fdisk /dev/sda2

  • e2fsck /dev/sda2

  • fsck /dev/sda2

This question's topic:
CompTIA Linux+ XK0-005 / 
Troubleshooting
Your Score:

Check or uncheck an objective to set which questions you will receive.

SAVE $45