ZFS With Gpart partitions
Alexander Leidinger
Alexander at Leidinger.net
Wed Jan 4 20:40:28 UTC 2012
On Wed, 04 Jan 2012 09:56:04 +1000 Dan Carroll <dan at 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
More information about the freebsd-fs
mailing list