From owner-freebsd-stable Fri Apr 24 08:06:48 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA15683 for freebsd-stable-outgoing; Fri, 24 Apr 1998 08:06:48 -0700 (PDT) (envelope-from owner-freebsd-stable@FreeBSD.ORG) Received: from mail.missouri.edu (mail.missouri.edu [128.206.2.169]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA15674 for ; Fri, 24 Apr 1998 08:06:41 -0700 (PDT) (envelope-from rich@chumbly.math.missouri.edu) Received: from chumbly.math.missouri.edu (chumbly.math.missouri.edu [128.206.72.12]) by mail.missouri.edu (8.8.8/8.8.8) with SMTP id KAA80108 for <@mail.missouri.edu:freebsd-stable@freebsd.org>; Fri, 24 Apr 1998 10:06:39 -0500 Received: by chumbly.math.missouri.edu (950413.SGI.8.6.12/940406.SGI.AUTO) for freebsd-stable@FreeBSD.ORG id KAA10881; Fri, 24 Apr 1998 10:06:34 -0500 From: rich@chumbly.math.missouri.edu (Rich Winkel) Message-Id: <199804241506.KAA10881@chumbly.math.missouri.edu> Subject: Fdisk problems with 9GB scsi disk To: freebsd-stable@FreeBSD.ORG Date: Fri, 24 Apr 1998 10:06:34 -0500 (CDT) X-Mailer: ELM [version 2.4 PL23] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk I'm running 2.2.5 stable with an adaptec 2940 UW and a seagate ST39173W, which is not for booting. The disk has 7520 cyls and 10 heads, according to the manual. dmesg says it has 17783240 sectors. Fdisk says: "A geometry of 7503/10/237 for sd2 is incorrect. Using a more likely geometry" It uses 1106cyl/255trk/63sec which gives 17767890 sectors. Close enough. I assigned the whole disk to fbsd. When I attempted to run disklabel from /stand/sysinstall, it bombed with no error messages I could catch. So I ran "disklabel -r /dev/rsd2 >proto" and edited the file. ---------- type: SCSI disk: sd2s1 label: flags: bytes/sector: 512 sectors/track: 63 tracks/cylinder: 255 sectors/cylinder: 16065 cylinders: 1106 sectors/unit: 17783240 rpm: 7200 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: 17767827 64 unused 0 0 # (Cyl. 0*- 1106*) c: 17783240 0 unused 0 0 # (Cyl. 0 - 1106*) --------- I just added the A partition and fixed the rpm. It updated the label fine, but when when I do a newfs, I get Warning: 622 sector(s) in last cylinder unallocated /dev/rsd2a: 17767826 sectors in 4338 cylinders of 1 tracks, 4096 sectors 8675.7MB in 272 cyl groups (16 c/g, 32.00MB/g, 7680 i/g) Newfs thinks it has 1 track/cyl. Is there any rhyme or reason to the above? Should I just ignore the geometry numbers and let it think what it wants? Will I run into problems down the road? It would be nice if newfs agreed with disklabel ... By the way, what do the asterisks mean in the partition cyl lines? I assumed it meant the partition boundary is not on a cyl boundary... Thanks for any advice! Rich To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message