[CentOS] run fsck manually

Mon Jul 9 18:03:22 UTC 2012
m.roth at 5-cent.us <m.roth at 5-cent.us>

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
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
b) Buy new disk, *now*, insert, rsync over.