Date: Fri, 24 Apr 1998 10:06:34 -0500 (CDT) From: rich@chumbly.math.missouri.edu (Rich Winkel) To: freebsd-stable@FreeBSD.ORG Subject: Fdisk problems with 9GB scsi disk Message-ID: <199804241506.KAA10881@chumbly.math.missouri.edu>
index | next in thread | raw e-mail
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
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199804241506.KAA10881>
