From owner-freebsd-fs@FreeBSD.ORG Wed Jan 4 00:27:28 2012 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 51B05106564A for ; Wed, 4 Jan 2012 00:27:28 +0000 (UTC) (envelope-from dan@sputnik.net.au) Received: from mailgw.dannysplace.net (mailgw.dannysplace.net [204.109.56.184]) by mx1.freebsd.org (Postfix) with ESMTP id 12FD08FC08 for ; Wed, 4 Jan 2012 00:27:27 +0000 (UTC) Received: from [203.206.171.212] (helo=[192.168.10.12]) by mailgw.dannysplace.net with esmtpsa (TLSv1:CAMELLIA256-SHA:256) (Exim 4.76 (FreeBSD)) (envelope-from ) id 1RiEE7-0007Ny-7g; Wed, 04 Jan 2012 09:57:09 +1000 Message-ID: <4F039594.4080408@sputnik.net.au> Date: Wed, 04 Jan 2012 09:56:04 +1000 From: Dan Carroll User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 To: Jeremy Chadwick References: <4F003EB8.6080006@dannysplace.net> <4F02FC42.1040103@dannysplace.net> <4F0311F2.7050209@brockmann-consult.de> <4F0312DF.8050004@brockmann-consult.de> <20120103162428.GA18661@icarus.home.lan> <20120103235108.GA25691@icarus.home.lan> In-Reply-To: <20120103235108.GA25691@icarus.home.lan> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Authenticated-User: danny X-Authenticator: plain X-Exim-Version: 4.76 (build at 08-Jun-2011 18:40:49) X-Date: 2012-01-04 09:57:07 X-Connected-IP: 203.206.171.212:58507 X-Message-Linecount: 30 X-Body-Linecount: 17 X-Message-Size: 1779 X-Body-Size: 884 X-Received-Count: 1 X-Recipient-Count: 3 X-Local-Recipient-Count: 3 X-Local-Recipient-Defer-Count: 0 X-Local-Recipient-Fail-Count: 0 X-SA-Exim-Connect-IP: 203.206.171.212 X-SA-Exim-Mail-From: dan@sputnik.net.au X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on damka.dannysplace.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.3.1 X-SA-Exim-Version: 4.2 X-SA-Exim-Scanned: Yes (on mailgw.dannysplace.net) Cc: freebsd-fs@freebsd.org Subject: Re: ZFS With Gpart partitions 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: Wed, 04 Jan 2012 00:27:28 -0000 On 4/01/2012 9:51 AM, Jeremy Chadwick wrote: > Agreed. The question is why FreeBSD isn't using those defaults in its > installer. Furthermore, have you tried to actually accomplish this > with gpart? I have. I got practically no where. The -a flag doesn't > always do the right thing, and with the -b flag you have to > "out-smart" internal calculations being made by the software itself. I > also had to do the alignment offset at the filesystem level, and not > at the actual slice level. E.g.: gpart create -s mbr adaX gpart add -t > freebsd adaX gpart create -s bsd adaXs1 gpart add -b 4033 -s {size} -t > freebsd-ufs adaXs1 I forget what the result was if I tried to use -b > during the first "gpart add", but it kept coming out wrong or simply > didn't work. In that case is there a "best practices" guide out there anywhere describing how this should be done? -D