I have FSCKFIX=yes
in /etc/default/rcS
, however, when I drove down to the site and connected a monitor to this server today, I saw this:
I ran fsck.ext4 -fy /dev/sda1
and rebooted and now the server is back up and running.
I understand there are situations where just blindly running fsck -fy
is dangerous and can lead to data loss. However, in my case, this is a physically inaccessible server and all the data is backed up in the cloud. It is paramount that Ubuntu does any and all steps possible to try to get it online.
Is there any way to force Ubuntu to always run fsck -fy
, even if there are any "UNEXPECTED INCONSISTENCY" problems?