ZFS With Gpart partitions

Dan Carroll dan at sputnik.net.au
Wed Jan 4 00:27:28 UTC 2012


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


More information about the freebsd-fs mailing list