Subject: Re: No inodes free
To: None <netbsd-help@netbsd.org>
From: David Laight <david@l8s.co.uk>
List: netbsd-help
Date: 08/15/2003 20:12:22
On Fri, Aug 15, 2003 at 07:15:41PM +0100, Neil Booth wrote:
> David Laight wrote:-
> 
> > How big is the filesystem?
> > mkfs will generate a corrupt file system if it if big enough!
> 
> About 20G.  I doubt that's too big, right?

No that should be ok...

$ newfs -N -F -s20G zz|head -10
zz: 20480.0MB (41943040 sectors) block size 8192, fragment size 1024
	using 453 cylinder groups of 45.29MB, 5797 blks, 11648 inodes.
...
$ (cd src obj; ./newfs -N -F -s20G zz|head -10)
zz: 20480.0MB (41943040 sectors) block size 8192, fragment size 1024
	using 450 cylinder groups of 45.52MB, 5826 blks, 11264 inodes.
$

But I don't know what a pre-ufs2 newfs would do.
(I've a 1.5.x newfs, but that doesn't support -F)

453 * 11648 is 5276544 - should be plenty for a build tree.
(450 * 11264 is 5068800)

	David

-- 
David Laight: david@l8s.co.uk