From owner-freebsd-questions Thu May 31 21:46:54 2001 Delivered-To: freebsd-questions@freebsd.org Received: from obsecurity.dyndns.org (adsl-63-207-60-66.dsl.lsan03.pacbell.net [63.207.60.66]) by hub.freebsd.org (Postfix) with ESMTP id BBD4F37B43C for ; Thu, 31 May 2001 21:46:51 -0700 (PDT) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 41046678A5; Thu, 31 May 2001 21:46:51 -0700 (PDT) Date: Thu, 31 May 2001 21:46:51 -0700 From: Kris Kennaway To: Andrew Hesford Cc: Kris Kennaway , Rick Hamell , Christoph Kukulies , questions@FreeBSD.ORG Subject: Re: 2GB filesize limit? Message-ID: <20010531214651.A14822@xor.obsecurity.org> References: <200105310943.f4V9hgX04825@gilberto.physik.rwth-aachen.de> <20010531114130.A45461@core.usrlib.org> <20010531120721.F96927@xor.obsecurity.org> <20010531231841.B46862@core.usrlib.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="FCuugMFkClbJLl1L" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010531231841.B46862@core.usrlib.org>; from ajh3@usrlib.org on Thu, May 31, 2001 at 11:18:41PM -0500 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --FCuugMFkClbJLl1L Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, May 31, 2001 at 11:18:41PM -0500, Andrew Hesford wrote: > On Thu, May 31, 2001 at 12:07:21PM -0700, Kris Kennaway wrote: > > On Thu, May 31, 2001 at 11:41:30AM -0500, Andrew Hesford wrote: > > > On Wed, May 30, 2001 at 09:06:54AM -0700, Rick Hamell wrote: > > > > > What is currently FreeBSD's max file size?=20 > > > > > > > > Maximum filesystem size is 2 gigablocks, maximum file size is 1 > > > gigablock. > > Actually the max FS size is 2^31 sectors (usually 512 bytes), not > > blocks. That comes out to 1 TB. >=20 > This is the maximum *partition* size. From /sys/ufs/ffs/fs.h, we have in > the definition of "struct fs" the following: >=20 > int32_t fs_size /* number of blocks in fs */ >=20 > Hence a filesystem can have 2^31 blocks, or 2 gigablocks.=20 >=20 > For you, this means a whopping 32T filesystem (since you do use the 16k > block size. How can you have a filesystem larger than a logical partition? AFAIK, that limitation applies even if you're not using a single physical partition (e.g. vinum/ccd). Kris --FCuugMFkClbJLl1L Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE7Fx46Wry0BWjoQKURAhiuAJ98ViP6fHjBkh+jxeC/n6B87qI9gACgvwpa /Np8WsNDXFW1qzCUkBM2jYQ= =sRLc -----END PGP SIGNATURE----- --FCuugMFkClbJLl1L-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message