"Cannot find file system superblock" error - how to recover?

Scott I. Remick scott at sremick.net
Wed Feb 4 06:37:15 PST 2004


--- Sergey 'DoubleF' Zaharchenko <doublef at tele-kom.ru> wrote:
> And /dev/ad2s1e?

bash-2.05b# mount -r /dev/ad2s1e /data
mount: /dev/ad2s1e on /data: incorrect super block
bash-2.05b# fsck /dev/ad2s1e
** /dev/ad2s1e
BAD SUPER BLOCK: MAGIC NUMBER WRONG

LOOK FOR ALTERNATE SUPERBLOCKS? [yn] y

USING ALTERNATE SUPERBLOCK AT 32
** Last Mounted on
** Phase 1 - Check Blocks and Sizes
416 BAD I=2
412 BAD I=3
424 BAD I=4
414 BAD I=4
417 BAD I=5
INCORRECT BLOCK COUNT I=4257794 (8928 should be 9952)
CORRECT? [yn]

Hmmm that looks more promising, although I'm not sure exactly what it's
trying to warn me about, or how bad things are from that, so I'm going to
leave it there for now. :)

And if I remember correctly, even though fsck has used an alternate
superblock to perform the repair process, it hasn't actually replaced the
master superblock with the alternate one, so I'd still need to fix that
manually somehow... correct? 


More information about the freebsd-questions mailing list