From owner-freebsd-questions Fri Dec 14 12:33:13 2001 Delivered-To: freebsd-questions@freebsd.org Received: from root.com (root.com [209.102.106.178]) by hub.freebsd.org (Postfix) with ESMTP id 1154C37B416; Fri, 14 Dec 2001 12:33:10 -0800 (PST) Received: (from dg@localhost) by root.com (8.11.2/8.11.2) id fBEKMOf82181; Fri, 14 Dec 2001 12:22:24 -0800 (PST) (envelope-from dg) Date: Fri, 14 Dec 2001 12:22:24 -0800 From: David Greenman To: Bernd Walter Cc: John Reynolds~ , questions@FreeBSD.ORG, fs@FreeBSD.ORG Subject: Re: off_t governs the largest file size, correct? Message-ID: <20011214122224.E81485@nexus.root.com> References: <15384.58121.214749.505032@chlx169.ch.intel.com> <20011214205608.E22150@cicely8.cicely.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20011214205608.E22150@cicely8.cicely.de>; from ticso@cicely8.cicely.de on Fri, Dec 14, 2001 at 08:56:09PM +0100 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 >8k blocksize works up to 8TB on alpha-current: >ticso@cicely9# ls -al test >-rw-r--r-- 1 root wheel 8388609048576 Dec 14 20:50 test > >I have tried 9000000 MB which failed. > >But keep in mind that the maximum size of a single filesystem is still >1TB, which restricts you to use sparse files. Actually, the largest device size that FreeBSD (at least x86) supports is 1TB. This is because daddr_t (the type used to specify physical disk block addresses) is a signed int, which is 31bits worth of 512 byte blocks. -DG David Greenman Co-founder, The FreeBSD Project - http://www.freebsd.org President, TeraSolutions, Inc. - http://www.terasolutions.com Pave the road of life with opportunities. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message