From owner-freebsd-fs@FreeBSD.ORG Wed Jan 4 20:40: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 75499106564A for ; Wed, 4 Jan 2012 20:40:28 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from mail.ebusiness-leidinger.de (mail.ebusiness-leidinger.de [217.11.53.44]) by mx1.freebsd.org (Postfix) with ESMTP id 2B5DE8FC12 for ; Wed, 4 Jan 2012 20:40:27 +0000 (UTC) Received: from outgoing.leidinger.net (p4FC41BAE.dip.t-dialin.net [79.196.27.174]) by mail.ebusiness-leidinger.de (Postfix) with ESMTPSA id 98EDF84400D; Wed, 4 Jan 2012 21:40:13 +0100 (CET) Received: from unknown (IO.Leidinger.net [192.168.1.12]) by outgoing.leidinger.net (Postfix) with ESMTP id C52471509; Wed, 4 Jan 2012 21:40:10 +0100 (CET) Date: Wed, 4 Jan 2012 21:40:09 +0100 From: Alexander Leidinger To: Dan Carroll Message-ID: <20120104214009.00004dbe@unknown> In-Reply-To: <4F039594.4080408@sputnik.net.au> 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> <4F039594.4080408@sputnik.net.au> X-Mailer: Claws Mail 3.7.10cvs42 (GTK+ 2.16.6; i586-pc-mingw32msvc) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-EBL-MailScanner-Information: Please contact the ISP for more information X-EBL-MailScanner-ID: 98EDF84400D.A2CF0 X-EBL-MailScanner: Found to be clean X-EBL-MailScanner-SpamCheck: not spam, spamhaus-ZEN, SpamAssassin (not cached, score=-0.923, required 6, autolearn=disabled, ALL_TRUSTED -1.00, TW_ZF 0.08) X-EBL-MailScanner-From: alexander@leidinger.net X-EBL-MailScanner-Watermark: 1326314414.65783@vyTaBwIRkVr5sbU713g3nQ X-EBL-Spam-Status: No 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 20:40:28 -0000 On Wed, 04 Jan 2012 09:56:04 +1000 Dan Carroll wrote: > 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? There are several HOWTOs available. If you don't mind that it is with GPT and not MBR: http://www.leidinger.net/blog/2011/05/03/another-root-on-zfs-howto-optimized-for-4k-sector-drives/ Bye, Alexander. -- http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137