Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Sep 2010 12:48:41 -0700
From:      Troy Beisigl <troy@i2bnetworks.com>
To:        Matthew Seaman <m.seaman@infracaninophile.co.uk>
Cc:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: FreeBSD8.1 AMD64 UFS2 file system size issues.
Message-ID:  <02F7F25C-BF21-4B48-A3D9-809103E86D59@i2bnetworks.com>
In-Reply-To: <4C834C86.7080109@infracaninophile.co.uk>
References:  <1cko7im.9c7bda5a0b3dad896e76c5f12d237fd7@webmail.dev.i2bnetworks.com> <4C834C86.7080109@infracaninophile.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
Thanks Matthew. I had to do a manual install using gpart in the fixit live c=
d to partition the filesystem. Everything looks to be running great.=20

-Troy

Sent from my iPhone

On Sep 5, 2010, at 12:53 AM, Matthew Seaman <m.seaman@infracaninophile.co.uk=
> wrote:

> On 04/09/2010 20:35:02, troy@i2bnetworks.com wrote:
>=20
>> I am having a problem with a fresh install onto a    that is 9TB in
>> size. during the initial install, the syste   the correct disk size
>> and partition sizes, but after it has complete   d and rebooted it
>> shows the the large partition as only 1TB. I am using a 3w   message,
>> it shows that    On initial install, this is   Total disk size: Sep
>> 4 12:17:51 fi   (19531038720 512 byte sectors: 255H 63S/T 1215   1G
>> da0s1a     /&nbs   4G     da0s1b  &nb   2G     da0s1d     36G
>> da0s1e &n   remainder da0s1f &nbs   Upon completion of insta   up as
>> this: Filesystem&nbs   on /dev/da0s1a    1012974  2   devfs
>> /dev/da0s1f 1094909108       4 10   /dev/da0s1e&nb   /dev/da0s1d
>> 2026030  &n   It was my understanding that UFS2 supports drive s
>> what I am trying to use. Is there something that I am doing
>> Thanks,
>=20
> Weird.  Something seems to have eaten chunks out of your message.  I
> suspect a less than optimal conversion from HTML -- for best results
> write to FreeBSD lists in plain text.
>=20
> Anyhow, you've got a system with 9TB disk but your big partition gets
> truncated?
>=20
> It's not the limits in the UFS2 filesystem that are biting you: that can
> handle individual files of up to 32 PB (with the right options) and a
> total filesystem size of 1 YB.  You may not be familiar with Y 'Yotta'
> as an SI prefix: it means 10^24.  That's more than enough to boil the
> oceans should you attempt to create a filesystem of that size[*].
>=20
> I suspect that you are running into limitations of the disk label.  The
> original Dos-derived MBR that you can manipulate with fdisk(8) is based
> around 32bit quantities and has an inherent limitation to 2TB per
> partition.  There are ways around this, not least by using the new
> gpart(8) disk partitioning.  See:
> http://www.freebsd.org/projects/bigdisk/index.html
>=20
> Personally, I'd start again from scratch and install using both gpart(8)
> and zfs(1M).  Unfortunately sysinstall(8) can't handle doing that at the
> moment.  You need to follow a different procedure described here:
> http://wiki.freebsd.org/RootOnZFS/GPTZFSBoot/Mirror  (Or the equivalent
> pages for RAIDZ1 or RAIDZ2 if that's what you prefer)
>=20
> Although ZFS's maximum size is /only/ 1 EB (individual file or whole
> filesystem) it should still suffice.  The compelling advantage with ZFS
> is the built-in checksumming of every data block.  That's important for
> large data volumes where bitwise errors can become significant.  Also,
> no need for fsck(8).  Not even background fsck.
>=20
>    Cheers,
>=20
>    Matthew
>=20
> [*] Kids: don't try this at home.
>=20
> --=20
> Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
>                                                  Flat 3
> PGP: http://www.infracaninophile.co.uk/pgpkey     Ramsgate
> JID: matthew@infracaninophile.co.uk               Kent, CT11 9PW
>=20



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?02F7F25C-BF21-4B48-A3D9-809103E86D59>