*BSD News Article 71500


Return to BSD News archive

Newsgroups: comp.unix.bsd.netbsd.misc
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!spool.mu.edu!howland.reston.ans.net!tank.news.pipex.net!pipex!oleane!jussieu.fr!math.ohio-state.edu!deshaw.com!christos
From: christos@deshaw.com (Christos Zoulas)
Subject: Re: Major panic with ffs partitions
Message-ID: <Dt9L7H.56u@deshaw.com>
Sender: usenet@deshaw.com
Nntp-Posting-Host: deshaw.com
Organization: D. E. Shaw & Co.
References: <1996Jun19.125026.4576@hobbit>
Date: Wed, 19 Jun 1996 20:35:41 GMT
Lines: 29

In article <1996Jun19.125026.4576@hobbit> copley1@marshall.edu (Ronald Copley) writes:
>Major panic time, folks. All the data has disappeared off one of my 
>partitions (the /home one). Here's what I have:
>
>root:/root:128$ df
>Filesystem  1K-blocks     Used    Avail Capacity  Mounted on
>/dev/wd0a       29199    12172    15567    44%    /
>/dev/wd0e       39023      669    36402     2%    /var
>/dev/wd0f      585582   288173   268129    52%    /usr
>/dev/wd1c      497235   170795   301578    36%    /home/mue57.marshall.edu
>/dev/wd1g      497235        0   472373     0%    /mnt
>
>However, whenever I change to /home/mue57.marshall.edu and do this:
>root:/home/mue57.marshall.edu:132$ ls -la
>total 3
>drwxr-xr-x  12 root  wheel  512 Jun 14 23:46 ./
>drwxr-xr-x   3 root  wheel  512 Apr 29 19:07 ../
>
>What the hell is going on here? The only thing I've done is mount the 
>/dev/wd1g on /mnt and newfs it. Then, all my user accounts disappear, 
>along with all of my research data and projects! Major panic time. If 
>anyone can help in *any* way, please do and accept my sincerest thanks!!

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...

christos