Corrupted Filesystem * IDEAS *

Andrew Cunningham ac1 at rosemary.cs.reading.ac.uk
Wed May 2 23:54:41 AEST 1990


In article <RW33-1Dggpc2 at ficc.uu.net> peter at ficc.uu.net (Peter da Silva) writes:
>I know the horses have already got out, but what we do at FICC is to
>dd the superblock out of every file system every night, so if it *does*
>get clobbered we can just dd it back and run fsck, which generally puts
>everything back together.


You could also try fsck -b<number>. This number if the superblock location.

I've yet to see a disk drive without a second superblock at 16 (/etc/fsck -b16)
though yours may be different.  Look in /etc/sbtab for a list if it's
not your root partition that's gone with the wind......



AndyC


Andrew Cunningham			 	JANET:ac1 at uk.ac.reading.cs.csug
SNAIL: Dept. of Computer Science, Whiteknights, READING RG6 2AX
FROM UselessCapitals IMPORT Disclaimer;
"Sodomy non sapiens" (Buggered if I know)  -Terry Pratchett "Mort"



More information about the Comp.unix.questions mailing list