Re: More running-with-scissors and fsck.

From: Poul-Henning Kamp <phk_at_phk.freebsd.dk>
Date: Wed, 03 Nov 2004 08:54:59 +0100
In message <41887A33.2060608_at_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_at_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.
Received on Wed Nov 03 2004 - 06:55:10 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:20 UTC