*BSD News Article 79675


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.wildstar.net!cancer.vividnet.com!hunter.premier.net!news-peer.gsl.net!news.gsl.net!swrinde!cs.utexas.edu!news.sprintlink.net!news-peer.sprintlink.net!uunet!news-in2.uu.net!news.zipnet.net!zip0.zipnet.net!not-for-mail
From: kot@zipnet.net (Mikhail Teterin)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Need your suggestions recovering partition
Date: 1 Oct 1996 13:49:08 -0400
Organization: Cats unlimited
Lines: 25
Message-ID: <52rlik$qib@zip0.zipnet.net>
NNTP-Posting-Host: zip0.zipnet.net
Summary: destroyed partition -- need to recover as much as possible
X-Newsreader: TIN [version 1.2 PL2]

I think, I interrupted fsck at a bad-moment (can it make itself
uninterruptable at such moments?)... No, the FS was not mounted at
that moment. Whatever. The way, things are now, I only have a copy
of the super-block, that seems valid at block 32786 ...

If I start `fsck -b 32786' it will run, finding a LOT of damage
(do not know which details are important). Judging by fsck's output
it does not do the right thing -- huge positive and negative numbers.

At some point (always the same point on my machine), fsck hangs for
a while consuming all of the available CPU, and in ~5 minutes machine
reboots...

The file-system was created by 2.1.0. Now I have 2.1.5 on my machine.
The drive (1Gb Seagate) was all FreeBSD -- it's sd2s1e used to
be /usr and there was also a 16Mb swap chunk on it (do not remember
where exactly).

I can now (after unsuccessful fsck-s) mount the partition as /mnt
but `ls /mnt' gives `bad file descriptor'.

I would appreciate your help with recovery -- `fsck' is the only tool
I know. My back-up is month old :( Thanks for your time!

	-mi