Wednesday, March 22, 2006

reiserfs /dev/hde5 bad superblock

Great! My harddrive connected to the newly purchased Dell 9150 Duo through Adaptec UATA card is corrupted. By my own stupidity, I hard power off the comp when the new FC5 is not responding....tsk tsk....
So now I have a 100 gig of stuff lost in the partition I cannot mount.

It is not a good idea to create large partition when using meta-journalling filesystem. It's NOT pure atomic. And when having a bad superblock, try and do the following:

resierfsck --create-superblock /dev/hde1
reiserfsck --check /dev/hde1
reiserfsck --rebuild-tree /dev/hde1
reiserfsck --check /dev/hde1
It might be able to save the data, but go through the options in the --create-superblock very carefully....

No comments: