I implemented daily auto-restart of my Ubuntu 16.04 LTS Server. Most of the time it restarts properly, but sometimes, it shows the following message.
inodes that were part of a corrupted orphan linked list found. UNEXPECTED INCONSISTENCY : Run fsck manually (without -a or -p option) fsck extend with status code 4 done. failure: File System check of the root filesystem found. The root filesystem on /dev/sda1 requires a manual fsck . (initramfs):
It gets stuck with this error message. Yes, it goes further after I run the command
fsck -yf /dev/sda1
But this is server, I want to execute this command automatically if any such problem comes and boot into the Ubuntu system, so that I do not need to check the server-status every-time.