Date: Sat, 14 May 2011 12:17:03 -0400 From: "illoai@gmail.com" <illoai@gmail.com> To: Andrea Venturoli <ml@netfence.it> Cc: freebsd-questions@freebsd.org Subject: Re: Maximum partition size Message-ID: <BANLkTinEZrQ4otE4eFQCmGt2=XhAsmv=Lw@mail.gmail.com> In-Reply-To: <4DCA3CBF.5040306@netfence.it> References: <4DCA3CBF.5040306@netfence.it>
next in thread | previous in thread | raw e-mail | index | archive | help
On 11 May 2011 03:37, Andrea Venturoli <ml@netfence.it> wrote:
> Hello.
> Sorry for the stupid questions, but Google only turns out very old answers
> which might be outdated (at least I hope so).
>
> What is the maximum partition size I can use on 7.3?
> I've used a 3TB gstripe on amd64, but now I'd like to gstripe two 2TB HDs on
> a i386.
> Will that work?
Probably, but a gstripe isn't a partition.
The gstripe specific numbers seem to be (via
/usr/src/sys/geom/stripe/g_stripe.h):
uint16_t md_no; /* Disk number. */
uint16_t md_all; /* Number of all disks. */
uint32_t md_stripesize; /* Stripe size. */
char md_provider[16]; /* Hardcoded provider. */
uint64_t md_provsize; /* Provider's size. */
So, I guess the maximum gstripe will be around 2^96, or
79228162514264337593543950336 bytes (or is that blocks?).
The largest filesystem you can put on that is limited to UFS2's
2^73 (according to the knobs at wikipedia), so you'll have to
start splitting up your gstripes in 41 binary orders of magnitude.
Good luck.
--
--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BANLkTinEZrQ4otE4eFQCmGt2=XhAsmv=Lw>
