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

Sergey 'DoubleF' Zaharchenko doublef at tele-kom.ru
Thu Feb 19 09:35:01 PST 2004


On Thu, 19 Feb 2004 06:42:22 -0800 (PST)
"Scott I. Remick" <scott at sremick.net> probably wrote:

> 
> --- Sergey 'DoubleF' Zaharchenko <doublef at tele-kom.ru> wrote:
> > Try
> > 
> > $ hd /dev/...| grep -A 5 "02 00 00 00 0c 00 04 01  2e 00 00 00 02 00 00
> > 00"
> 
> Well that definitely produced something:
> 
> bash-2.05b# hd /dev/ad2s1e | grep -A 5 "02 00 00 00 0c 00 04 01  2e 00 00 00 02 00 00"
> 002d0000  02 00 00 00 0c 00 04 01  2e 00 00 00 02 00 00 00  |................|
> 002d0010  0c 00 04 02 2e 2a 00 00  00 a0 09 00 10 00 04 00  |.....*..........|
> 002d0020  70 69 63 73 00 10 6a c0  00 f8 40 00 14 00 04 08  |pics..j... at .....|
> 002d0030  6f 68 64 5b 6e 70 66 73  00 00 00 00 03 00 00 00  |ohd[npfs........|
> 002d0040  14 00 08 0a 58 42 38 32  43 6b 6e 62 69 63 00 d9  |....XB82Cknbic..|
> 002d0050  00 00 63 00 0c 00 04 03  65 70 63 00 00 58 63 00  |..c.....epc..Xc.|
> --
> 002f4000  02 00 00 00 0c 00 04 01  2e 00 00 00 02 00 00 00  |................|
> 002f4010  0c 00 04 02 2e 2e 00 00  00 a0 09 00 10 00 04 04  |................|
> 002f4020  70 69 63 73 00 14 6a c4  00 f8 40 00 14 00 04 08  |pics..j... at .....|
> 002f4030  6f 6c 64 5f 6e 74 66 73  00 00 00 00 03 00 00 00  |old_ntfs........|
> 002f4040  14 00 08 0a 58 46 38 36  43 6f 6e 66 69 67 00 d9  |....XF86Config..|
> 002f4050  00 00 63 00 0c 00 04 03  65 74 63 00 00 58 63 00  |..c.....etc..Xc.|

You created directories in / of that drive (that is, /data) recently,
didn't you?

> That second one seems to be more intact. "pics" and "old_ntfs" and "X" were
> directories off /data (there were others). The first match would appear to
> be slightly corrupted (that "etc" might have been a backup I made of /etc at
> some point in case of / failure).

If you are feeling adventurous (not in the sense of writing anything
there yet), you could `walk' the directory structure manually so as to
find out if it's still there. Just mask out the inode numbers, use
this

# hd /dev/ad2s1e | grep -A 5 ".. .. .. .. 0c 00 04 01  2e 00 00 00 .. .. .. .."

and be ready to read a huge amount of hexdump:). If you wish to see
more of a directory, increase the `5' in -A (afterwards context line
count).

> It's still churning away but I'm going to assume that it's found all it's
> going going to and send this email now.
> 
> For what it's worth, FedEx is estimating Monday the 23rd as delivery of the
> spare 80GB.


-- 
DoubleF
"The illegal we do immediately. The unconstitutional takes a bit
longer."
		-- Henry Kissinger
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20040219/39a2232c/attachment.bin


More information about the freebsd-questions mailing list