Subject: Re: Huge (> 1TB) disk
To: <>
From: Ignatios Souvatzis <ignatios@theory.cs.uni-bonn.de>
List: netbsd-users
Date: 05/17/2002 11:18:34
--LSp5EJdfMPwZcMS1
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, May 16, 2002 at 10:02:06PM +0200, Manuel Bouyer wrote:
> 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.
>=20
> 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 ...

Aren't negative block pointers in FFS used as a flag - marking indirect
blocks or something like that?

BIANA ffs guru, and it's been a few years since I looked at this.

	-is

--LSp5EJdfMPwZcMS1
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: 2.6.i

iQEVAgUBPOTK6DCn4om+4LhpAQHjCggAq/OA8vzCbDq4loIgHUclmHDV8LatkFVL
VjC0Ypmge1EQwzLX6HvBAUYU9w3tJAwvcihqLtZUONA/UnZusRgboHreEmVT9ukz
uqaT5kpLeirrjoEhY8fwls4VCvyHSMxDHzFeH0rarwp051wBr/b/ab7ByALAyjr3
NE0XgZP1W96mcBSuxJWUqMnQ1j82SdeQRjmWMyT/P/mzsXyLdu2fmb0gjbBNC/7L
9M+49QoqdjySmiHOdmR3/SkjjL/p/tCM8wnNbGleD+6YLeS9gvLiqZlNzLnakGb5
ZUeveX2G6/2hXCYCHMg2bpWX4sKwJZFS5GircLS9PxV0BuYcas962g==
=Meed
-----END PGP SIGNATURE-----

--LSp5EJdfMPwZcMS1--