The server required the file system check “fsck” but we can’t run it because we have lost or don’t know the server root password, in that case case we can reboot the server by using the rescue mode, now a days all the servers are using the ext4 file system therefore simple fsck command won’t. To run the FSCK on ext4 file system server refer to the following steps.
1st) Login in to server with the rescue mode password and install e4fsprogs module.
yum install e4fsprogs -y
2nd) Now check the partition by running the command
fdisk -l
3rd) Now run the fsck by using the proper hard dirve partition one by one.
e4fsck -y -C0 /dev/sda1
e4fsck -y -C0 /dev/sda2
..etc
4th) Once FSCK completed, reboot the server.
As soon as server reboot completed try to access the server, if your server still using the ext3 file system then refer to the following URL for FSCK COMMAND FOR EXT3