Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Mar 1995 13:29:20 +0100 (MET)
From:      J Wunsch <j@uriah.heep.sax.de>
To:        root@deadline.snafu.de (Andreas S. Wetzel)
Cc:        freebsd-bugs@FreeBSD.org
Subject:   Re: How to solve weirdities about disk geometries?
Message-ID:  <199503251229.NAA01624@uriah.heep.sax.de>
In-Reply-To: <m0rsUMn-000DVqC@deadline.snafu.de> from "Andreas S. Wetzel" at Mar 25, 95 12:50:53 pm

index | next in thread | previous in thread | raw e-mail

As Andreas S. Wetzel wrote:
> 
> 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.

This is since modern disks do not have a constant number of sectors
per track.  You can hand-edit the disklabel (disklabel -w -e), and
manually enter the correct (larger) number of total sectors.  Once i
did this, disklabel also agreed for me to write a new bootstrap. :)

I think the disklabel code from sysinstall should enter the correct
values for total # of sectors, rpm (at least, the rough guess of
3600), and interleave (1).  I've already filed a problem report for
this.  (Something like ``disklabel refuses to write bootstrap''.)

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/
Never trust an operating system you don't have sources for. ;-)


home | help

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