Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 03 Nov 2004 08:54:59 +0100
From:      "Poul-Henning Kamp" <phk@phk.freebsd.dk>
To:        David Gilbert <dgilbert@dclg.ca>
Cc:        freebsd-current@freebsd.org
Subject:   Re: More running-with-scissors and fsck. 
Message-ID:  <12706.1099468499@critter.freebsd.dk>
In-Reply-To: Your message of "Wed, 03 Nov 2004 01:26:59 EST." <41887A33.2060608@dclg.ca> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <41887A33.2060608@dclg.ca>, David Gilbert writes:

>Well... the recoverdisk is a cool tool.  I can see it coming in handy 
>many times.  While there isn't much documentation, I've tended to use it 
>by creating a vnode md disk of exactly the right size to recover the 
>partition in question.

You could just have used a regular file for it and connected it to a
md later on.

>However, it's all right around something key.  When I run fsck on the 
>recovered image, fsck continuously complains that it can't create 
>lost+found.

Try running dump on it instead, dump will pull as much out of the
wreckage as possible.

If that doesn't work, you'll need to learn about the internals of
the UFS/FFS filesystem (read Kirks book) and grab fscb and get
to work.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.



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