fsck stands for "file system check" and it is used to check and optionally repair one or more Linux file systems. Normally, the fsck program will try to handle filesystems on different physical disk drives in parallel to reduce the total amount of time needed to check all of the filesystems
Login as the root:
Change directory to root (/) directory:
Create a file called forcefsck:
Now reboot the system:
login as root and type the following command to reboot and run fsck:
shutdown -rF now
The -F option force fsck on reboot.