to Filesystem consistency check and repair use:

CODE:
fsck