The Superblock is the most important part of a Linux computer that contains the basic information about file system like its size, its type etc. This information allows file system manager to maintain the file system.
Generally the superblock stored in the Block Group 0 is read by the operating system when file system is mounted, but every Block Group stores a copy of superblock. This copy can be used to restore the superblock if primary superblock gets corrupted.
Every Linux file system contains these redundant copies of the superblock. It is very helpful to overcome several emergency situations. You can see the primary and the backup superblock location by using the following command:
dumpe2fs /dev/hda3 | grep -i superblock
Here /dev/hd3 is the name of drive on which your file system and superblock are located.
You can identify the superblock corruption by checking the failed file system. You can restore the superblock using simple Linux commands.
By using th above command, you will see the location of primary superblock and first backup. Now use the following command to restore the superblock from first backup:
This article is free for republishing
Source: http://jonnydefh.articlealley.com/what-to-do-when-superblock-recovery-fails-799527.html