*BSD News Article 76516


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!news.ececs.uc.edu!news.cs.indiana.edu!news.nstn.ca!ott.istar!istar.net!n3ott.istar!news.citenet.net!usenet
From: philh@cdngateway.pe.ca (Phil Holmstrom)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Major problem with disc syncing
Date: Tue, 20 Aug 1996 22:43:39 GMT
Organization: Canadian Gateway
Lines: 81
Message-ID: <4vd0vq$f6a@cti01.citenet.net>
References: <4uvvp8$580@cti01.citenet.net> <4v1v3v$2qc@sol.ctr.columbia.edu>
NNTP-Posting-Host: 205.151.204.75
X-Newsreader: Forte Free Agent 1.0.82

wpaul@ctr.columbia.edu (Bill Paul) wrote:

>Daring to challenge the will of the almighty Leviam00se, Phil Holmstrom
>(philh@cdngateway.pe.ca) had the courage to say:

>: 	We have the unfortunate incident of a power outage (our UPS ran out
>: after 4 hrs) and now my freebsd machine is non operational. Anyhow
>: here's the specs :
>: pent 100,32mb ram, quantum fireball (1080A) (its IDE), intel pro 100b
>: card running the May snap version.

>Well, you're quite a bit out of date, but anyway...

>: Heres whats happening:
>: Machine boots the kernal off the had no problem, probes and detects
>: all the stuff normally however after the detection of wd0, it comes up
>: with this :
>: WARNING: / was not properly dismounted
>: /: bad dir ino 182 at offset 1536: mangled entry
>: bad dir
>: syncing disks 1 1 1 1 1 1 1 1 1 1 1 1 1 1 giving up

>Double-plus ungood.

>: it then requests a reboot, I let it and the similar thing happens over
>: and over again. Is there a simple fix to this problem or am I screwed?

>You are screwed. There's a small chance that fsck might help you,
>but you can't get far along into the boot process to reach a shell
>and run it, so you're stuck unless you can bootstrap the system off
>an altername boot device. (Or remove the hard disk from this machine
>and install it on another FreeBSD machine as an IDE slave just long
>enough to repair the fs damage.)

>: I still have the boot floppy (it boots off it ok, just no hd),if that
>: will help. Can someone explain what is happening and if there is a way
>: to fix it?

>The fixit floppy is supposed to be useful for these sorts of things.
>Presumeably it has a few tools on it that will net you unmangle your
>filesystem damage. You will almost certainly lose some data no matter
>what you do though. Of that there is little doubt. Try booting from the
>install floppy and selecting the fixit option, keeping the fixit floppy
>handy. I think it will mount it for you and give you a shell so you
>can play.

>Of course you did make backups of your system so you can always recover
>everything later, right?

>Right?

>Beuller?

>-Bill

>PS: I would recommend upgrading to a later SNAP if possible. This
>    problem has a familiar ring to it and it could happen again with
>    the older kernel you're using.

>--
>=============================================================================
>-Bill Paul            (212) 854-6020 | System Manager, Master of Unix-Fu
>Work:         wpaul@ctr.columbia.edu | Center for Telecommunications Research
>Home:  wpaul@skynet.ctr.columbia.edu | Columbia University, New York City
>=============================================================================
> "If you're ever in trouble, go to the CTR. Ask for Bill. He will help you."
>=============================================================================
Woooo hoooo. I think I may have found something, then again maybe not.
When I use the fixit floppy to try to fsck, I keep getting cannot find
/etc/fstab errors. And I can't mount the hd either. However I can cat
/dev/rwd0 and its coming up with all the stuff thats on the drive (low
and behold it seems to be still valid....ran across a recent email :).
As well when I do a disklabel on wd0, it gives me the partitions for
the drive as being 4.2BSD. Is there still hope? Or are there any other
commands off the fixit floppy that may possibly be able to help me in
the conquest of resurection :). This is like totally new territory for
me and really have no clue as to what I am doing. Anyhow, thx for
those who have helped so far and maybe I can get it back some how :)

Phil