Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Mar 1995 12:50:53 +0100 (MET)
From:      root@deadline.snafu.de (Andreas S. Wetzel)
To:        freebsd-bugs@FreeBSD.org
Subject:   How to solve weirdities about disk geometries?
Message-ID:  <m0rsUMn-000DVqC@deadline.snafu.de>

next in thread | raw e-mail | index | archive | help
Hi!
---

With the kernel supped today at about 11 am I discovered a new problem with
my SCSI disks. When booting the kernel it complains about my spool partition
not being completely in the slice?

I often wondered about that disk-geometries since I use 2.xx FreeBSD.
During boot time the kernel says that my first SCSI disk would have:

scbus0: (bt0:0:0): "FUJITSU M2694ES-512 812A" is a type 0 fixed SCSI 2
sd0(bt0:0:0): Direct-Access 
sd0(bt0:0:0): 1033MB (2117025 sectors), 1819 C 15 H 77 S/T 512 B/S

But when I take 1819 cylinders with 15 heads and 77 sectors each, I only
get 2100945 total sectors. That's about 8 Meg less than it's real size.
A look at the description of the hard disk says that it has 8 zones
with 58 - 96 sectors / track. That would mean it has 77.5893348 sectors/track,
but not 77 !!

The same thing happens with my second SCSI disk:

(bt0:1:0): "SEAGATE ST1239N 9251" is a type 0 fixed SCSI 1
sd1(bt0:1:0): Direct-Access 
sd1(bt0:1:0): 194MB (398790 sectors), 1268 C 9 H 34 S/T 512 B/S

1268 * 9 * 34 = 388008 sectors, not 398790 ???

So my question is, what is the right way to slice and disklabel it, so
that neither the kernel, nor disklabel and other tools complain about
partitions which extend past end of unit, or partitions not being comletely
withing the slice ?!

Thankful for any advice ...

Mickey 

-- 
================================================================================
DIGESTED BENEFACTORS WHOSE |     Andreas S. Wetzel    |   -D-E-A-D-L-I-N-E-
SILENCE  DEAFENS  ANYTHING |   Utrechter Strasse 41   |
ALL OF  WHOM  DECEASE  AND |       13347 Berlin       | <+4930> 455 19 57 Data
MISS  TO  PIERCE  A  POINT |          Germany         | <+4930> 456 81 68 Voice
================================================================================
 E-mail: mickey@deadline.snafu.de                WWW: http://deadline.snafu.de/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?m0rsUMn-000DVqC>