Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Feb 2004 20:38:23 +0300
From:      Sergey 'DoubleF' Zaharchenko <doublef@tele-kom.ru>
To:        scott@sremick.net
Cc:        FreeBSD <freebsd-questions@freebsd.org>
Subject:   Re: "Cannot find file system superblock" error - how to recover?
Message-ID:  <20040219203823.370957e7@Hal.localdomain>
In-Reply-To: <20040219144222.78195.qmail@web41111.mail.yahoo.com>
References:  <20040219151211.3c6d72ed@Hal.localdomain> <20040219144222.78195.qmail@web41111.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--Signature=_Thu__19_Feb_2004_20_38_23_+0300_iVDn_fOlDFfj/7=M
Content-Type: text/plain; charset=US-ASCII
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

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

> 
> --- Sergey 'DoubleF' Zaharchenko <doublef@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...@.....|
> 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...@.....|
> 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

--Signature=_Thu__19_Feb_2004_20_38_23_+0300_iVDn_fOlDFfj/7=M
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQFANPSbwo7hT/9lVdwRAgx7AJwJV217kRpgxha/NxvbZNSDh/wh9gCeKb2Z
mD099aGC+CeC3pRyAvPpJ4U=
=pFpm
-----END PGP SIGNATURE-----

--Signature=_Thu__19_Feb_2004_20_38_23_+0300_iVDn_fOlDFfj/7=M--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040219203823.370957e7>