From owner-freebsd-questions@FreeBSD.ORG Sun Sep 5 07:54:13 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 A94A010656A5 for ; Sun, 5 Sep 2010 07:54:13 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3fd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id 054B78FC13 for ; Sun, 5 Sep 2010 07:54:12 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.187.76.163]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.4/8.14.4) with ESMTP id o857s1Fb014018 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Sun, 5 Sep 2010 08:54:08 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) Message-ID: <4C834C86.7080109@infracaninophile.co.uk> Date: Sun, 05 Sep 2010 08:53:42 +0100 From: Matthew Seaman Organization: Infracaninophile User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-GB; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2 MIME-Version: 1.0 To: troy@i2bnetworks.com References: <1cko7im.9c7bda5a0b3dad896e76c5f12d237fd7@webmail.dev.i2bnetworks.com> In-Reply-To: <1cko7im.9c7bda5a0b3dad896e76c5f12d237fd7@webmail.dev.i2bnetworks.com> X-Enigmail-Version: 1.1.1 OpenPGP: id=60AE908C Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigF4B22607C7AB3917A8D4D18E" X-Virus-Scanned: clamav-milter 0.96.2 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_20,DKIM_ADSP_ALL, SPF_FAIL autolearn=no version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on lucid-nonsense.infracaninophile.co.uk 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 07:54:13 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigF4B22607C7AB3917A8D4D18E Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 04/09/2010 20:35:02, troy@i2bnetworks.com wrote: > 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, 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. Anyhow, you've got a system with 9TB disk but your big partition gets truncated? 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[*]. 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 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) 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. Cheers, Matthew [*] Kids: don't try this at home. --=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 --------------enigF4B22607C7AB3917A8D4D18E Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkyDTJkACgkQ8Mjk52CukIzb0ACeJkc5Sdt2lFwpmRqFCEoIEMe9 OO4An2TGMPUXoHAoz9mCclnQj9DEoYC5 =CpTe -----END PGP SIGNATURE----- --------------enigF4B22607C7AB3917A8D4D18E--