When I boot my machine either in normal mode or runlevel 1 it throws following error and I'm unable to boot the machine:
checking filesystems
/dev/MyGroup/LogVol00: UNEXPECTED INCONSISTENCY; RUN fsck MANNUALLY
(i.e., without -a or -p options)
\*** An error occured during the file system check
\*** Dropping you to a shell; the system will reboot
\*** when you leave the shell
Give root password for maintenance (or type Control-D to continue):
I enter the password and run fsck and e2fsck, but both gives the same error format as shown below:
(Repair filesystem) 1 # fsck
fsck 1.39 (29-May-2006)
OR
(Repair filesystem) 1 # e2fsck -y /dev/MyGroup/LogVol00
e2fsck 1.39 (29-May-2006)
/dev/MyGroup/LogVol001: clean, 141289/1402144 files, 804207/1400832 blocks
e2fsck 1.39 (29-May-2006)
The filesystem size of the device is 131072 blocks
Either the superblock or the partition table is likely to be corrupt!
Now I decide to use alternate superblock as follows:
(Repair filesystem) 6 #dumpe2fs /dev/MyGroup/LogVol00 | grep -i superblock
To repair file system by alternative-superblock use command as follows:
(Repair filesystem) 7 #e2fsck -f -b 8193 /dev/MyGroup/LogVol00
After using all alternate superblocks I am getting the same error message as shown below:
e2fsck 1.39 (29-May-2006)
/dev/MyGroup/LogVol00: recovering journel
e2fsck: unable to set superblock flags on /dev/MyGroup/LogVol00:
How can I troubleshoot this type of problem?