Is there a way in centos to just go ahead and do this automatically? /dev/sdal: Unexpected Inconsistency; [FAILED] Run fsck Manually (ie. Without ?a or ?p options) ***An error occurred during the File system check ***Dropping you to a shell; system will reboot when you leave the shell Give root password for Maintenance (or type Control-D to continue) I have some remote stations - and if something goes wrong as it did, I just want the fsck to be ran automatically and auto reboot Can the behaviour be changed in a config file? Jerry
Jerry Geis wrote:> Is there a way in centos to just go ahead and do this automatically? > > /dev/sdal: Unexpected Inconsistency; [FAILED] > > Run fsck Manually > > (ie. Without ?a or ?p options) > > ***An error occurred during the File system check<snip> a) fsck -y -C [-c] /dev/sda1 (-c will check for bad blocks; it will take a *while*; run it overnight, or over dinner, or over the next looong meeting) b) Buy new disk, *now*, insert, rsync over. mark