Port-i386 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: ffs can't find superblock



On Thu, Feb 03, 2011 at 02:35:06PM +0100, mortee wrote:
> 
> Hello!
> 
> I had my NetBSD 5.0.1 i386 box crash, and now it can't mount its backup
> hdd. fsck keeps telling:
> 
> $ sudo fsck_ffs /dev/rwd3a
> ** /dev/rwd3a
> BAD SUPER BLOCK: CAN'T FIND SUPERBLOCK
> 
> I've already tried specifying a few other possible superblock backup
> locations using -b, but it reports wrong magic number for each one tried.

I'd 'hexdump -C' the first part of the partition to a file and look at it!
For ffsv1 the superblock is 8k at 8k.
For ffsv2 it is at (IIRC) 64k.

Comparing it to the header file might be illuminative.

        David

-- 
David Laight: david%l8s.co.uk@localhost


Home | Main Index | Thread Index | Old Index