More running-with-scissors and fsck.

Poul-Henning Kamp phk at phk.freebsd.dk
Tue Nov 2 23:55:10 PST 2004


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.


More information about the freebsd-current mailing list