A Recovery Plan for a Superbad Superblock
Note that before doing any of the below the filesystem must be unmounted! If the problem filesystem is /, you must boot off a LiveCD or rescue disk.
First, get the superblock information for the problem filesystem.
dumpe2fs /dev/hda2 | grep superblock
Primary superblock at 0, Group descriptors at 1-3 Backup superblock at 32768, Group descriptors at 32769-32771 Backup superblock at 98304, Group descriptors at 98305-98307 Backup superblock at 163840, Group descriptors at 163841-163843 [ etc ... ]
The next step is to pass in a backup superblock as an option tofsck:
fsck -b 32768 /dev/hda2
mount sb=32768 /dev/hda2 /mnt
IT Solutions Builder TOP IT RESOURCES TO MOVE YOUR BUSINESS FORWARD
Which topic are you interested in?
What is your company size?
What is your job title?
What is your job function?
Searching our resource database to find your matches...