From owner-freebsd-questions Sat Nov 10 0:43:26 2001 Delivered-To: freebsd-questions@freebsd.org Received: from avocet.prod.itd.earthlink.net (avocet.mail.pas.earthlink.net [207.217.120.50]) by hub.freebsd.org (Postfix) with ESMTP id 6530537B41B for ; Sat, 10 Nov 2001 00:43:23 -0800 (PST) Received: from dialup-209.245.142.243.dial1.sanjose1.level3.net ([209.245.142.243] helo=blossom.cjclark.org) by avocet.prod.itd.earthlink.net with esmtp (Exim 3.33 #1) id 162TjK-0000ge-00; Sat, 10 Nov 2001 00:43:14 -0800 Received: (from cjc@localhost) by blossom.cjclark.org (8.11.6/8.11.3) id fAA8gBs55755; Sat, 10 Nov 2001 00:42:11 -0800 (PST) (envelope-from cjc) Date: Sat, 10 Nov 2001 00:42:11 -0800 From: "Crist J. Clark" To: The Unicorn Cc: questions@FreeBSD.ORG Subject: Re: fdisk problem with LARGE disks Message-ID: <20011110004211.D51003@blossom.cjclark.org> Reply-To: cjclark@alum.mit.edu References: <20011109235041.B28591@unicorn.blackhats.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20011109235041.B28591@unicorn.blackhats.org>; from unicorn@blackhats.org on Fri, Nov 09, 2001 at 11:50:41PM +0100 X-URL: http://people.freebsd.org/~cjc/ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, Nov 09, 2001 at 11:50:41PM +0100, The Unicorn wrote: > Hi Guys (F/M), > > Hope this is the right forum for these kind of questions (although I > personally think it could be sent to the stable list as well). Oh, and > please reply to me directly please (perhaps with a cc to the list), > since I am not subscribed to this mailing list. > > I think that fdisk can not handle disks which are larger than about > 66GB. I currently have a system with two MAXTOR 4K080H4 (80GB) drives > inside, but I can only use about 3/4 of the size due to this problem. > Since I really want to start making real use of this system I am > wondering if there is a workaround or fix/patch for this (and NO, I > really want to make use of the whole disk and not just 60-something GB > out of it ;-). > > A fast reply will really be appreciated! I used fdisk(8) to label a 80 GB disk last week. $ fdisk ad0 ******* Working on device /dev/ad0 ******* parameters extracted from in-core disklabel are: cylinders=17229 heads=144 sectors/track=63 (9072 blks/cyl) Figures below won't work with BIOS for partitions not in cyl 1 parameters to be used for BIOS calculations are: cylinders=17229 heads=144 sectors/track=63 (9072 blks/cyl) Media sector size is 512 Warning: BIOS sector numbering starts with sector 1 Information from DOS bootblock is: The data for partition 1 is: sysid 165,(FreeBSD/NetBSD/386BSD) start 63, size 156301425 (76319 Meg), flag 80 (active) beg: cyl 0/ head 1/ sector 1; end: cyl 1023/ head 143/ sector 63 The data for partition 2 is: The data for partition 3 is: The data for partition 4 is: I changed the cylinders and heads to keep sysinstall(8) from complaining, but fdisk(8) didn't mind the original layout either, ad0: 76319MB [155061/16/63] at ata0-master UDMA33 -- Crist J. Clark | cjclark@alum.mit.edu | cjclark@jhu.edu http://people.freebsd.org/~cjc/ | cjc@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message