Date: Wed, 04 Jan 2012 09:56:04 +1000 From: Dan Carroll <dan@sputnik.net.au> To: Jeremy Chadwick <freebsd@jdc.parodius.com> Cc: freebsd-fs@freebsd.org Subject: Re: ZFS With Gpart partitions Message-ID: <4F039594.4080408@sputnik.net.au> In-Reply-To: <20120103235108.GA25691@icarus.home.lan> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F039594.4080408>