From owner-freebsd-fs@FreeBSD.ORG Mon Mar 11 18:09:23 2013 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id AAFA810E for ; Mon, 11 Mar 2013 18:09:23 +0000 (UTC) (envelope-from cr@caltel.com) Received: from mail2.caltel.com (mail2.caltel.com [66.102.145.6]) by mx1.freebsd.org (Postfix) with ESMTP id 9647465E for ; Mon, 11 Mar 2013 18:09:23 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AmYKAA8dPlFCZpCq/2dsb2JhbABDhkSBIAG8fYF1dIIpAQEEAThABgsLGAkWDwkDAgECAUUTCAEBiAkGDL5ZjxUWgyoDiHKNY4EehEmLDoMqHA X-IPAS-Result: AmYKAA8dPlFCZpCq/2dsb2JhbABDhkSBIAG8fYF1dIIpAQEEAThABgsLGAkWDwkDAgECAUUTCAEBiAkGDL5ZjxUWgyoDiHKNY4EehEmLDoMqHA X-IronPort-AV: E=Sophos;i="4.84,825,1355126400"; d="scan'208";a="845956" Received: from host-170.a66-102-144.caltel.com (HELO codys-mac.local) ([66.102.144.170]) by smtp.caltel.com with ESMTP/TLS/DHE-RSA-CAMELLIA256-SHA; 11 Mar 2013 11:09:23 -0700 Message-ID: <513E1DD2.7030609@caltel.com> Date: Mon, 11 Mar 2013 11:09:22 -0700 From: Cody Ritts Organization: CalTel User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:17.0) Gecko/20130216 Thunderbird/17.0.3 MIME-Version: 1.0 To: freebsd-fs@freebsd.org Subject: Re: Aligning MBR for ZFS boot help References: <513C1629.50501@caltel.com> <513D0E90.5090105@platinum.linux.pl> In-Reply-To: <513D0E90.5090105@platinum.linux.pl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Mar 2013 18:09:23 -0000 On 3/10/13 3:52 PM, Adam Nowacki wrote: > I don't think zfsboot is aware of BSD disklabel (offsets other than 0 > won't boot). Is there any reason you are using BSD disklabel and not two > partition MBR? The reason is because every example I saw used labels. I just tried it, and it does not boot. I get: FreeBSD/x86 ZFS enabled bootstrap loader. Revision 1.1 ZFS: can't find pool by guid. > I also don't think there is any merit in aligning to 1MiB. Most ZFS IOs > will be aligned to sector size (ashift). Unless ZFS pool is created with > higher ashift then the 63 sector offset is as good as any. Aligning to the Erase block: http://blog.nuclex-games.com/2009/12/aligning-an-ssd-on-linux/ Also I will be forcing ashift to 12 using the gnop trick. If you still feel that is not necessary, I would be interested in knowing why? Thanks, Cody