Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Jan 2012 21:40:09 +0100
From:      Alexander Leidinger <Alexander@Leidinger.net>
To:        Dan Carroll <dan@sputnik.net.au>
Cc:        freebsd-fs@freebsd.org
Subject:   Re: ZFS With Gpart partitions
Message-ID:  <20120104214009.00004dbe@unknown>
In-Reply-To: <4F039594.4080408@sputnik.net.au>
References:  <4F003EB8.6080006@dannysplace.net> <CALfReyfvOCMpBdndf7UYydmGnUqt2cBYWdhYXaOANbQ_CFHoVA@mail.gmail.com> <4F02FC42.1040103@dannysplace.net> <4F0311F2.7050209@brockmann-consult.de> <4F0312DF.8050004@brockmann-consult.de> <20120103162428.GA18661@icarus.home.lan> <CALfReyc11ZriFPZmm15YwS5VeA1P4Epub1vyZM%2BfC8X2X0_mHw@mail.gmail.com> <20120103235108.GA25691@icarus.home.lan> <4F039594.4080408@sputnik.net.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 04 Jan 2012 09:56:04 +1000 Dan Carroll <dan@sputnik.net.au>
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120104214009.00004dbe>