Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Dec 2009 14:44:04 -0500
From:      Maxim Khitrov <mkhitrov@gmail.com>
To:        Peter Steele <psteele@maxiscale.com>
Cc:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: How do I create large partitions in FreeBSD?
Message-ID:  <26ddd1750912081144j62235981j9db9c005ba07c7bb@mail.gmail.com>
In-Reply-To: <7B9397B189EB6E46A5EE7B4C8A4BB7CB33D0D4AC@MBX03.exg5.exghost.com>
References:  <7B9397B189EB6E46A5EE7B4C8A4BB7CB33D0D44A@MBX03.exg5.exghost.com>  <26ddd1750912081113w2c09474ldd258d2cd6143cf3@mail.gmail.com>  <7B9397B189EB6E46A5EE7B4C8A4BB7CB33D0D4AC@MBX03.exg5.exghost.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Tue, Dec 8, 2009 at 2:24 PM, Peter Steele <psteele@maxiscale.com> wrote:
>>You cannot use fdisk for this, because fdisk creates MBR partition tables and these partitions are limited to 2 TB. You have three
>>options:
>>
>>1. Use GPT instead of MBR. This is handled by gpt (FreeBSD 7) and gpart (FreeBSD 8) commands.
>
> We're running 8.0. I'll have to check out gpart.
>
>>2. Use a "dangerously dedicated" partitioning scheme.
>>3. Bypass all partitioning issues and do what Polytropon suggested.
>>
>>The third option will only work if you don't need to boot from the array and are happy with a single 11TB file system.
>
> We do need to boot from these drives so this is not an option.
>
>> The second option gives you partitions and the ability to boot FreeBSD, but no other operating system will recognize the array.
>>Device names will be da1a, da1b, etc. To do this run the following
>>commands:
>>
>>bsdlabel -w -B da1
>
> When I run this command I get:
>
> # bsdlabel -w -B da1
> bsdlabel: disks with more than 2^32-1 sectors are not supported

I forgot about that one, sorry.

> So that seems we are limited to option 1. We didn't anticipate this; hope there aren't unexpected gotchas lurking around the corner...

Not sure if you're able to do this, but I would advise you against
using the same array for OS, swap, and data. For all the servers I've
configured, I always use a two small (32-64 GB) drives in RAID 1
configuration for the first two functions. The data is always on a
physically-separate array, which means that I'm free to use newfs on
the entire thing and never have to deal with partitions.

This setup is simpler, safer, and faster since your data drives are
now performing just one function.

- Max



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?26ddd1750912081144j62235981j9db9c005ba07c7bb>