|
Solution to problem
Hello to all that find this thread through Google :-)
I had a similar problem with my HDD and FreeBSD saying there was a bad superblock.
I followed the first step of the procedure and discovered (to my relief) the backup superblocks.
Once past this point the next reccomendation was to use fsck -b 160 /dev/"my partition"
This doesn't work as FreeBSD's fsck command doesn't acknowledge the -b flag as valid.
The trick is to use fsck_ffs which *does* recognise the -b flag and takes the appropriate action. i.e. fsck_ffs -b 160 /dev/"my partition"
Second tip (don't flame me for it's obviousness, not everyone is a super sysop). Make sure you are have root access otherwise no errors will be corrected.
Third Tip. If it looks like your filesystem is in a really bad way, look at the -y flag in the man page. i.e. read man fsck_ffs looking for -y :-)
I hope this is usefull for anyone else that has the problem.
Cheers,
Neil S Davenport
|