*BSD News Article 84719


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!solace!nntp.uio.no!www.nntp.primenet.com!nntp.primenet.com!arclight.uoregon.edu!news.bc.net!info.ucla.edu!news.ucdavis.edu!usenet
From: Michael White <mdwhite@ucdavis.edu>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Disk crash problem...any ideas of what is going wrong?
Date: Wed, 11 Dec 1996 18:00:49 -0800
Organization: University of California, Davis
Lines: 72
Message-ID: <32AF6751.41C6@ucdavis.edu>
NNTP-Posting-Host: tioga.engr.ucdavis.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.0 (X11; I; IRIX 5.3 IP20)
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:32425

FreeBSD version: 2.1.5 installed from CD Rom
Disk: 1G WD Cavier
IDE controller: DC-4030VL
CPU: 66Mhz 486DX2

Sorry to bug everyone, but I am having a problem with keeping my
BSD machine running.  Specifically the problem is that my disk
keeps having problems.  I am running a Western Digital Cavier 1G
drive on a 486DX2 system with a DC-4030VL IDE controller.  The
problem I seem to have is with the 3rd partition (only one slice).
The best I can figure is that once the disk gets past half full, 
it starts clobbering inode information.

My filesystems (which are okay) are:

Filesystem    512-blocks    used   avail   cap.   
/dev/wd1a         38974    31806    4052    89%   /
/dev/wd1s1e      793790   265758  464530    36%   /usr
procfs                8        8       0   100%   /proc


The last partition had numerious inode errors (which I attempted
to fix with fsck... which hangs with a number that is too big and
can't even seem to patch up).

I have looked at information at startup using newfs & fdisk:

#newfs -N rwd1s1
 /dev/rwd1s1:  40960 sectors in 10 cylinders of 1 tracks,
4096 sectors 20.0 MB in 1 cyl groups (16 c/g, 32.00 MB/g, 7680 i/g)

Superblock backups (for fsck -b #) at:
32,
(^- Note: only one backup is listed here).


#fdisk /dev/rwd1
********* Working on device /dev/rwd1 ************
parameters extracted from in-core disk Label are:
cylinders=2100  heads=16  sectors/track=63 (1008 blks/cyl)

 Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=2100  heads=16  sectors/track=63 (1008 blks/cyl)

Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 0 is:
  sysid 165, (freeBSD/NetBSD/386BSD)
    start 63, size 2116737 (1033Meg), flag 80
     beg: cyl 0/  sector 1/  head 1
     end: cyl 1023/  sector 63/ head 15

The data for partition 1 is:
<UNUSED>
The data for partition 2 is:
<UNUSED>
The data for partition 3 is:
<UNUSED>



I realize that I will probably have to clear everything off my
disk and re-do my partitions, but can anyone see what I have
done wrong (as this problem seems to keep coming up).  Note:
eventhough the DC-4030VL is a VL-Bus IDE caching disk controller,
I have turned the cache off and am using the mainboard bios.

Any help would be appreciated.
-- 
- Mike
  mdwhite@ucdavis.edu