From owner-freebsd-questions Tue Mar 19 14:16:26 2002 Delivered-To: freebsd-questions@freebsd.org Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by hub.freebsd.org (Postfix) with ESMTP id 3424437B400 for ; Tue, 19 Mar 2002 14:16:22 -0800 (PST) Received: from dan.emsphone.com (dan@localhost [127.0.0.1]) by dan.emsphone.com (8.12.2/8.12.2) with ESMTP id g2JMGCib003915; Tue, 19 Mar 2002 16:16:21 -0600 (CST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.2/8.12.2/Submit) id g2JMG71f003659; Tue, 19 Mar 2002 16:16:07 -0600 (CST) Date: Tue, 19 Mar 2002 16:16:07 -0600 From: Dan Nelson To: Joseph Gleason Cc: Jaye Mathisen , questions@FreeBSD.ORG Subject: Re: Problems with large disk. (> 1 TB) Message-ID: <20020319221606.GB40627@dan.emsphone.com> References: <20020319131556.D99985@backmaster.cdsnet.net> <008901c1cf8c$be5d6f50$090510ac@gleason> <00b401c1cf8d$8960b7c0$090510ac@gleason> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <00b401c1cf8d$8960b7c0$090510ac@gleason> User-Agent: Mutt/1.3.28i X-OS: FreeBSD 5.0-CURRENT X-message-flag: Outlook Error 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 In the last episode (Mar 19), Joseph Gleason said: > > From: "Jaye Mathisen" > > > Trying to disklabel a 1 TB disk (with sysinstall or disklabel) > > > produces a lot of errors. In sysinstall, there's a kazillion > > > overflows and negative offsets, and stuff. > > Actually, looks like this has allready been answered. Check the > archives for a message with a subject "FreeBSD 1TB filesystem > limitation" from Oct 2001. > > Unless something has changed, FreeBSD cannot support filesystems 1TB > or greater. Change is on the way. There are other changes required, but when 5.0 is released it should support "long long" filesystems :) mckusick 2002/03/15 10:49:47 PST Log: Introduce the new 64-bit size disk block, daddr64_t. Change the bio and buffer structures to have daddr64_t bio_pblkno, b_blkno, and b_lblkno fields which allows access to disks larger than a Terabyte in size. This change also requires that the VOP_BMAP vnode operation accept and return daddr64_t blocks. This delta should not affect system operation in any way. It merely sets up the necessary interfaces to allow the development of disk drivers that work with these larger disk block addresses. It also allows for the development of UFS2 which will use 64-bit block addresses. -- Dan Nelson dnelson@allantgroup.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message