From owner-freebsd-bugs@FreeBSD.ORG Thu Dec 20 23:50:01 2007 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7A8B616A419 for ; Thu, 20 Dec 2007 23:50:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 5F7B613C45A for ; Thu, 20 Dec 2007 23:50:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id lBKNo1IZ003185 for ; Thu, 20 Dec 2007 23:50:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id lBKNo1Bi003184; Thu, 20 Dec 2007 23:50:01 GMT (envelope-from gnats) Resent-Date: Thu, 20 Dec 2007 23:50:01 GMT Resent-Message-Id: <200712202350.lBKNo1Bi003184@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, stega Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5503916A418 for ; Thu, 20 Dec 2007 23:44:51 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 48A2313C44B for ; Thu, 20 Dec 2007 23:44:51 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.2/8.14.2) with ESMTP id lBKNiRDI020279 for ; Thu, 20 Dec 2007 23:44:27 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.2/8.14.1/Submit) id lBKNiRQk020278; Thu, 20 Dec 2007 23:44:27 GMT (envelope-from nobody) Message-Id: <200712202344.lBKNiRQk020278@www.freebsd.org> Date: Thu, 20 Dec 2007 23:44:27 GMT From: stega To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: misc/118912: disk sizing/geometry problem with large array X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Dec 2007 23:50:01 -0000 >Number: 118912 >Category: misc >Synopsis: disk sizing/geometry problem with large array >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Dec 20 23:50:01 UTC 2007 >Closed-Date: >Last-Modified: >Originator: stega >Release: 6.2 >Organization: sendmail.com >Environment: FreeBSD some.machine.com 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 11:05:30 UTC 2007 root@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP i386 >Description: Dec 14 15:39:46 blahblahblah kernel: atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x14a0-0x14af at device 31.1 on pci0 Dec 14 15:39:46 blahblahblah kernel: ata0: on atapci0 Dec 14 15:39:46 blahblahblah kernel: ata1: on atapci0 Dec 14 15:39:46 blahblahblah kernel: atapci1: port 0x14d0-0x14d7,0x14c4-0x14c7,0x14c8-0x14cf,0x14c0-0x14c3,0x14b0-0x14bf irq 18 at device 31.2 on pci0 Dec 14 15:39:46 blahblahblah kernel: ata2: on atapci1 Dec 14 15:39:46 blahblahblah kernel: ata3: on atapci1 [snip] Dec 14 15:39:46 blahblahblah kernel: da0 at twa0 bus 0 target 0 lun 0 Dec 14 15:39:46 blahblahblah kernel: da0: Fixed Direct Access SCSI-3 device Dec 14 15:39:46 blahblahblah kernel: da0: 100.000MB/s transfers Dec 14 15:39:46 blahblahblah kernel: da0: 2670213MB (5468596224 512 byte sectors: 255H 63S/T 340404C) Dec 14 15:39:46 blahblahblah kernel: Trying to mount root from ufs:/dev/da0s1a [root@blahblahblah /var/log]# df -H Filesystem Size Used Avail Capacity Mounted on /dev/da0s1a 16G 61M 15G 0% / devfs 1.0k 1.0k 0B 100% /dev /dev/da0s1f 289G 8.2k 266G 0% /store /dev/da0s1d 244G 1.5G 223G 1% /usr /dev/da0s1e 16G 5.3M 15G 0% /var [da0s1f should be 10x what is is reporting as the install was set to use 2.2TB] [root@blahblahblah /var/log]# disklabel da0s1 # /dev/da0s1: 8 partitions: # size offset fstype [fsize bsize bps/cpg] a: 32768000 0 4.2BSD 2048 16384 28552 b: 32768000 557056000 swap c: 1173622901 0 unused 0 0 # "raw" part, don't edit d: 491520000 32768000 4.2BSD 2048 16384 28544 e: 32768000 524288000 4.2BSD 2048 16384 28552 f: 583798901 589824000 4.2BSD 2048 16384 28552 >How-To-Repeat: Install FreeBSD on to a machine/array configured over 2TB in size. Reconfiguring the array to a 2x400GB mirror (which now holds /, /usr and /var) and a 6x400GB raid5 dropped the array disk size down to 1.8 and allowed sysinstall to format it and then I just shoved it in to fstab manually. An annoying work around, but for now I'll live. >Fix: >Release-Note: >Audit-Trail: >Unformatted: