Subject: Re: Huge (> 1TB) disk
To: Greg 'groggy' Lehey <grog@lemis.com>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: netbsd-users
Date: 05/16/2002 22:02:06
On Thu, May 16, 2002 at 10:57:35AM +0930, Greg 'groggy' Lehey wrote:
> Most of the block I/O subsystem works with 32 bit signed sector
> numbers. In particular, IIRC, (small) negative values are used to
> indicate error conditions. We've tried this in FreeBSD, and we've
> never got beyond 1 TB. I suspect it's possible to get almost to 2 TB
> (ignoring sector numbers which correspond to error numbers), but I
> expect it would be quite a bit of work, and it would give rise to
> compatibility issues.
Maybe we could just go to 64bits in the kernel, changing the int32_t to
u_int32_t in the on-disk filesystems structures ?
This would give us 2T instead of 1 ...
--
Manuel Bouyer <bouyer@antioche.eu.org>
--