Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: Recover Corrupted Partition From A Bad Superblock  (Read 3954 times)

0 Members and 1 Guest are viewing this topic.

nirmal

  • Jr. Member
  • **
  • Posts: 56
  • Karma: +0/-0
Recover Corrupted Partition From A Bad Superblock
« on: November 17, 2013, 04:16:57 pm »
Hi all,

Recover Corrupted Partition From A Bad Superblock

If a filesystem check fails and returns the error message “Damaged Superblock”

Solution:
There are backups of the superblock located on several positions and we can restore them with a simple command. Backup locations are: 8193, 32768, 98304, 163840, 229376 and 294912. ( 8193 in many cases only on older systems, 32768 is the most current position for the first backup )
Now, suppose you get a ¨Damaged Superblock¨ error message at filesystem check ( after a power failure ) and you get a root-prompt in a recovery console, then you give the command:
# e2fsck -b 32768 /dev/hda5
System will then check the filesystem with the information stored in that backup superblock and if the check was successful it will restore the backup to position 0.
If this is not working try using the other copy of Superblock located at the above mention location in.

Thank you
Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!