From owner-freebsd-questions@FreeBSD.ORG Mon Oct 18 11:05:08 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3FD7B16A4CE for ; Mon, 18 Oct 2004 11:05:08 +0000 (GMT) Received: from fri.itea.ntnu.no (fri.itea.ntnu.no [129.241.7.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id C09F643D2F for ; Mon, 18 Oct 2004 11:05:07 +0000 (GMT) (envelope-from svein-freebsd-questions@theloosingend.net) Received: from localhost (localhost [127.0.0.1]) by fri.itea.ntnu.no (Postfix) with ESMTP id 65AAE85E4 for ; Mon, 18 Oct 2004 13:03:23 +0200 (CEST) Received: from mirrorball.thelosingend.net (m069c.studby.ntnu.no [129.241.130.69]) by fri.itea.ntnu.no (Postfix) with SMTP for ; Mon, 18 Oct 2004 13:03:23 +0200 (CEST) Received: (qmail 92591 invoked from network); 18 Oct 2004 11:03:23 -0000 Received: from m190d.studby.ntnu.no (129.241.131.190) by m069c.studby.ntnu.no with QMQP; 18 Oct 2004 11:03:23 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 18 Oct 2004 11:03:15 -0000 Date: Mon, 18 Oct 2004 13:03:15 +0200 (CEST) From: Svein Halvor Halvorsen X-X-Sender: sveinhal@maren.thelosingend.net To: questions@freebsd.org Message-ID: <20041018125351.R24455@maren.thelosingend.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Content-Scanned: with sophos and spamassassin at mailgw.ntnu.no. Subject: 128 GiB+ disks on Intel PIIX4 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Oct 2004 11:05:08 -0000 Is this at all possible? My BIOS don't seem to recognize my brand new 200 GB disk, but that is nothing new. I can initialize a new slize, setup bsdlabel and do newfs on if without problems. How can I verify that the entire disk is usable without filling it all up (or past the 128 GiB barrier), and then reading everything back out? [root@maren:~]$ dmesg | grep ata atapci0: port 0xf000-0xf00f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 7.1 on pci0 ata0: channel #0 on atapci0 ata1: channel #1 on atapci0 ad0: 6149MB [13328/15/63] at ata0-master UDMA33 ad1: 190782MB [387621/16/63] at ata0-slave UDMA33 acd0: DVDR at ata1-slave UDMA33 cd0 at ata1 bus 0 target 1 lun 0 [root@maren:~]$ pciconf -lv | grep -A4 ata atapci0@pci0:7:1: class=0x010180 card=0x00000000 chip=0x71118086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = '82371AB/EB/MB PIIX4/4E/4M IDE Controller' class = mass storage subclass = ATA [root@maren:~]$ fdisk ad1 ******* Working on device /dev/ad1 ******* parameters extracted from in-core disklabel are: cylinders=387621 heads=16 sectors/track=63 (1008 blks/cyl) Figures below won't work with BIOS for partitions not in cyl 1 parameters to be used for BIOS calculations are: cylinders=387621 heads=16 sectors/track=63 (1008 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 (0xa5),(FreeBSD/NetBSD/386BSD) start 63, size 390721905 (190782 Meg), flag 80 (active) beg: cyl 0/ head 1/ sector 1; end: cyl 548/ head 15/ sector 63 The data for partition 2 is: The data for partition 3 is: The data for partition 4 is: [root@maren:~]$ bsdlabel ad1s1 # /dev/ad1s1: 8 partitions: # size offset fstype [fsize bsize bps/cpg] a: 390721905 0 4.2BSD 2048 16384 28552 c: 390721905 0 unused 0 0 # "raw" part, don't edit