From owner-freebsd-questions@FreeBSD.ORG Sun Sep 5 19:49:50 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C792F10656DB for ; Sun, 5 Sep 2010 19:49:50 +0000 (UTC) (envelope-from troy@i2bnetworks.com) Received: from i2bnetworks.com (odyssey.prod.i2bnetworks.com [66.181.0.5]) by mx1.freebsd.org (Postfix) with ESMTP id A57B68FC0A for ; Sun, 5 Sep 2010 19:49:50 +0000 (UTC) Received: from [10.128.230.77] (166-205-136-060.mobile.mymmode.com [166.205.136.60] (may be forged)) by i2bnetworks.com (8.14.3/8.9.3) with ESMTP id o85JnhCC033863; Sun, 5 Sep 2010 12:49:45 -0700 (PDT) (envelope-from troy@i2bnetworks.com) References: <1cko7im.9c7bda5a0b3dad896e76c5f12d237fd7@webmail.dev.i2bnetworks.com> <4C834C86.7080109@infracaninophile.co.uk> In-Reply-To: <4C834C86.7080109@infracaninophile.co.uk> Mime-Version: 1.0 (iPhone Mail 8A293) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Message-Id: <02F7F25C-BF21-4B48-A3D9-809103E86D59@i2bnetworks.com> X-Mailer: iPhone Mail (8A293) From: Troy Beisigl Date: Sun, 5 Sep 2010 12:48:41 -0700 To: Matthew Seaman X-SpacelinkPC: LL X-Spam-Status: country=** X-Spam-Report: * -100 LR_XSPACELINKPC Indicated local origination * 0.7 SPF_FAIL SPF: sender does not match SPF record (fail) * [SPF failed: Please see http://www.openspf.org/Why?s=mfrom; id=troy%40i2bnetworks.com; ip=10.128.230.77; r=nospam.i2bnetworks.com] * -2.6 BAYES_00 BODY: Bayesian spam probability is 0 to 1% * [score: 0.0000] * 1.4 MIME_QP_LONG_LINE RAW: Quoted-printable line longer than 76 chars * -1.2 SNF4SA Message Sniffer * 0.0 LR_SPF_FAIL SPF Fails * 1.0 RDNS_NONE Delivered to trusted network by a host with no rDNS X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on nospam.i2bnetworks.com Cc: "freebsd-questions@freebsd.org" Subject: Re: FreeBSD8.1 AMD64 UFS2 file system size issues. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Sep 2010 19:49:51 -0000 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 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