From owner-freebsd-fs@FreeBSD.ORG Thu Sep 1 16:30:27 2011 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 645FD1065673 for ; Thu, 1 Sep 2011 16:30:27 +0000 (UTC) (envelope-from dan@3geeks.org) Received: from mail-gw0-f54.google.com (mail-gw0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id 299CA8FC14 for ; Thu, 1 Sep 2011 16:30:26 +0000 (UTC) Received: by gwb15 with SMTP id 15so1315042gwb.13 for ; Thu, 01 Sep 2011 09:30:26 -0700 (PDT) Received: by 10.150.254.1 with SMTP id b1mr226355ybi.323.1314894626396; Thu, 01 Sep 2011 09:30:26 -0700 (PDT) Received: from [172.16.1.35] (99-126-192-237.lightspeed.austtx.sbcglobal.net [99.126.192.237]) by mx.google.com with ESMTPS id l18sm102295ybg.7.2011.09.01.09.30.24 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 01 Sep 2011 09:30:24 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1084) From: Daniel Mayfield In-Reply-To: <4E5F811A.2040307@snakebite.org> Date: Thu, 1 Sep 2011 11:30:23 -0500 Content-Transfer-Encoding: quoted-printable Message-Id: <7FAD4A4D-2465-4A80-A445-1D34424F8BB6@3geeks.org> References: <4E5F811A.2040307@snakebite.org> To: freebsd-fs@freebsd.org X-Mailer: Apple Mail (2.1084) Subject: Re: gptzfsboot and 4k sector raidz X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Sep 2011 16:30:27 -0000 On Sep 1, 2011, at 7:56 AM, Trent Nelson wrote: > On 01-Sep-11 2:11 AM, Daniel Mayfield wrote: >> I just set this up on an Athlon64 machine I have w/ 4 WD EARS 2TB >> disks. I followed the instructions here: >> = http://www.leidinger.net/blog/2011/05/03/another-root-on-zfs-howto-optimiz= ed-for-4k-sector-drives/, >> but just building a single pool so three partitions per disk (boot, >> swap and zfs). I'm using the mfsBSD image to do the boot code. When >> I reboot to actually come up from ZFS, the loader spins for half a >> second and then the machine reboots. I've seen a number of bug >> reports on gptzfsboot and 4k sector pools, but I never saw one fail >> so early. What data would the ZFS people need to help fix this? >=20 > FWIW, I experienced the exact same issue about a week ago with four = new WD EARS 2TB disks. I contemplated looking into fixing it, until I = noticed the crazy disk usage with 4K sectors. On my old box, my = /usr/src dataset was ~450MB (mirrored 512-byte drives), on the new box = with the 2TB 4k sector drives, /usr/src was 1.5-something GB. Exact = same settings. I noticed that the free data space was also bigger. I tried it with = raidz on the 512B sectors and it claimed to have only 5.3T of space. = With 4KB sectors, it claimed to have 7.25T of space. Seems like = something is wonky in the space calculations? daniel=