From owner-freebsd-bugs Sat Mar 25 05:15:49 1995 Return-Path: bugs-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id FAA22025 for bugs-outgoing; Sat, 25 Mar 1995 05:15:49 -0800 Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.cdrom.com (8.6.10/8.6.6) with SMTP id FAA22016 for ; Sat, 25 Mar 1995 05:15:32 -0800 Received: from sax.sax.de by irz301.inf.tu-dresden.de with SMTP (5.67b+/DEC-Ultrix/4.3) id AA02532; Sat, 25 Mar 1995 14:15:24 +0100 Received: by sax.sax.de (8.6.9/8.6.9-s1) with UUCP id OAA09270; Sat, 25 Mar 1995 14:15:23 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.6.11/8.6.9) id NAA01624; Sat, 25 Mar 1995 13:29:22 +0100 From: J Wunsch Message-Id: <199503251229.NAA01624@uriah.heep.sax.de> Subject: Re: How to solve weirdities about disk geometries? To: root@deadline.snafu.de (Andreas S. Wetzel) Date: Sat, 25 Mar 1995 13:29:20 +0100 (MET) Cc: freebsd-bugs@FreeBSD.org In-Reply-To: from "Andreas S. Wetzel" at Mar 25, 95 12:50:53 pm Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) X-Phone: +49-351-2012 669 X-Mailer: ELM [version 2.4 PL23] Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 1142 Sender: bugs-owner@FreeBSD.org Precedence: bulk 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. ;-)