*BSD News Article 71678


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!nntp.coast.net!howland.reston.ans.net!newsfeed.internetmci.com!news.mathworks.com!nntp.primenet.com!news.cais.net!wvnvms!marshall.edu!copley1
Newsgroups: comp.unix.bsd.netbsd.misc
Subject: Re: Major panic with ffs partitions
Message-ID: <1996Jun21.181240.4600@hobbit>
From: copley1@marshall.edu (Ronald Copley)
Date: 21 Jun 96 18:12:40 EDT
References: <1996Jun19.125026.4576@hobbit> <Dt9L7H.56u@deshaw.com>
Organization: Marshall University
Lines: 25

> I suspect 1c partition is the whole disk (traditionally) I suspect
> that your disktab entry for wd1 is wrong and 'c' and 'g' overlap.
> Sorry, you just newfs'ed your disk and your data is gone. Strings
> on the raw device for the ascii files...

Nope, I'm very familiar with BSD-style UNIX (my home machine is a 
SPARCstation) and was very careful not to allow this to happen. My 
biggest point of confusion is why the disk space shows up as used in a 
df, but the ls does not show directory entries. I'm beginning to be 
certain that somehow a few important inodes got hosed... however, I'm not 
that experienced in manipulating ffs at a low level, so I'm still 
searching. 

Witness my disktab entry...

wd31000|Western Digital 1084MB IDE:\
        :dt=ST506:ty=winchester:se#512:nt#16:ns#63:nc#2100: \
        :rm#4500:sf: \
        :oc#0:pc#1058396:tc=4.2BSD:bc#4096:fc#512: \
        :og#1058398:pg#1058394:tg=4.4LFS:bg#4096:fg#512:


Cheers,
Ron