Date: Tue, 15 Feb 2000 11:24:30 -0800 From: John Milford <jwm@CSUA.Berkeley.EDU> To: Peter Wemm <peter@netplex.com.au> Cc: Joe Greco <jgreco@ns.sol.net>, hackers@FreeBSD.ORG Subject: Re: Filesystem size limit? Message-ID: <200002151924.LAA02584@soda.csua.Berkeley.edu> In-Reply-To: Message from Peter Wemm <peter@netplex.com.au> of "Tue, 15 Feb 2000 22:18:10 %2B0800." <20000215141810.AACBC1CD9@overcee.netplex.com.au>
next in thread | previous in thread | raw e-mail | index | archive | help
Peter Wemm <peter@netplex.com.au> wrote: > > /usr/include/sys/disklabel.h: > u_int32_t p_size; /* number of sectors in partition */ > > newfs.c: > int fssize; /* file system size */ > .. > havelabel: > if (fssize == 0) > fssize = pp->p_size; > > ie: there is a signed 32 bit sector count limit. 2^31 == 1TB. It shouldn't > be too hard to get it to create 2^32 bit (2TB) filesystem though. I'd expect > there to be more problems that this to bite you though. :-( > > 2^31 also happens to be the mmap() file offset limit FWIW. > > BTW; what on earth is going on this beastie? Is this raid5 or stripe/concat? > (And I'd hate to be waiting for a fsck :-) > > Cheers, > -Peter > > > Is there any real interest in moving beyond 1TB? I think that it would incur a non-trival overhead as I believe that unsigned ints would not work and we would be looking at going to 64 bit values. Or I guess something could be done to simulate larger sectors, but that is pure speculation. --John To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200002151924.LAA02584>