CompTIA Linux+ XK0-005 Practice Question
A system administrator notices that an important server is experiencing intermittent problems with data integrity, and suspects filesystem corruption on one of its disks. After running fsck
on the unmounted filesystem and fixing several errors, the administrator needs to ensure that the filesystem will be checked and repaired if necessary during the next system boot. Which of the following commands should the administrator use to schedule a filesystem check on boot?
tune2fs -c 1 /dev/sda1
tune2fs -i 0 /dev/sda1
tune2fs -C 0 /dev/sda1
e2fsck -p /dev/sda1