Subject: Re: maximum capacity of harddisk which NetBSD 1.4.1 support
To: =?iso-8859-1?Q?P=E5llen?= <pollen@astrakan.hig.se>
From: Bill Studenmund <wrstuden@zembu.com>
List: tech-net
Date: 11/09/2000 08:28:03
On Thu, 9 Nov 2000, [iso-8859-1] P=E5llen wrote:

> > what cpg?
>=20
> Where can we get info on how to set such parameters?

man newfs

I've never seen documentation on what values to use. I generally just
tweak block size, fragment size, and cylinders per group.

You can have up to 2^31 fragments per file system. This will only come
into play when you have a file system around 1 TB big. 512-byte frags =3D 1
TB, 1k frag <=3D> 2 TB, ... The minimum size for a file is one frag.

I usually went with block size =3D=3D frag size * 8.

I also usually went with 64 cpg, but larger values are ok. newfs will
complain if the value is too large (the cylinder group info has to fit in
one cylinder, so there is a limit on how much can fit in there).

Take care,

Bill