From owner-freebsd-questions Wed Mar 12 14:09:52 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id OAA14665 for questions-outgoing; Wed, 12 Mar 1997 14:09:52 -0800 (PST) Received: from gdi.uoregon.edu (gdi.uoregon.edu [128.223.170.30]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id OAA14650 for ; Wed, 12 Mar 1997 14:09:46 -0800 (PST) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.8.5/8.6.12) with SMTP id OAA00499; Wed, 12 Mar 1997 14:09:42 -0800 (PST) Date: Wed, 12 Mar 1997 14:09:42 -0800 (PST) From: Doug White X-Sender: dwhite@localhost Reply-To: Doug White To: "kevin_eliuk@sunshine.net" cc: FreeBSD-questions Subject: Re: Are my IDE parameters set correctly? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Wed, 12 Mar 1997, kevin_eliuk@sunshine.net wrote: > Could anyone please comment on these outputs on my Maxtor IDE drive? > I am confused because after having system failures resulting from read > errors I searched for current FAQS and through Question Archives and I am > not sure if the fsize and bsize in disklabel should be set differently or > remain as is. What are the error messages you're seeing, exactly? THey should be in /var/log/messages. Does this machine have a CMD0640 or RZ1000 based IDE adapter? You may be seeing hidden corruption. > > * Note: System running with Ontrack Disk Manager 7.02 > > kevin# fdisk > ******* Working on device /dev/rwd0 ******* > parameters extracted from in-core disklabel are: > cylinders=526 heads=64 sectors/track=63 (4032 blks/cyl) > > parameters to be used for BIOS calculations are: > cylinders=526 heads=64 sectors/track=63 (4032 blks/cyl) > > Warning: BIOS sector numbering starts with sector 1 > Information from DOS bootblock is: > The data for partition 0 is: > sysid 84,(unknown) > start 9, size 2120823 (1035 Meg), flag 80 > beg: cyl 0/ sector 10/ head 0; > end: cyl 55/ sector 63/ head 15 > The data for partition 1 is: > > The data for partition 2 is: > > The data for partition 3 is: > > > kevin# disklabel -r /dev/rwd0s3 > # /dev/rwd0s3: > type: ESDI > disk: wd0s3 > label: > flags: > bytes/sector: 512 > sectors/track: 63 > tracks/cylinder: 64 > sectors/cylinder: 4032 > cylinders: 316 > sectors/unit: 1274112 > rpm: 3600 > interleave: 1 > trackskew: 0 > cylinderskew: 0 > headswitch: 0 # milliseconds > track-to-track seek: 0 # milliseconds > drivedata: 0 > > 8 partitions: > # size offset fstype [fsize bsize bps/cpg] > a: 65536 0 4.2BSD 0 0 0 # (Cyl. 0 - 16*) > b: 41120 65536 swap # (Cyl. 16*- 26*) > c: 1274112 0 unused 0 0 # (Cyl. 0 - 315) > e: 61440 106656 4.2BSD 0 0 0 # (Cyl. 26*- 41*) > f: 1106016 168096 4.2BSD 0 0 0 # (Cyl. 41*- 315*) > > kevin# newfs -N /dev/rwd0s3 > /dev/rwd0s3: 65536 sectors in 16 cylinders of 1 tracks, 4096 sectors > 32.0MB in 1 cyl groups (16 c/g, 32.00MB/g, 7680 i/g) > super-block backups (for fsck -b #) at: > 32, > > > I'm not sure if this is the source of the problem or if this is a common > limitation with my particular drive. Any and all comments welcome. > Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major