Subject: Re: strange newfs behaviour
To: None <d.zanon@infinito.it>
From: Bill Studenmund <wrstuden@netbsd.org>
List: current-users
Date: 03/28/2005 10:25:05
--jq0ap7NbKX2Kqbes
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Mar 18, 2005 at 08:23:41PM +0000, d.zanon@infinito.it wrote:
> Hello!
> I am seeing a strange thing on -current/macppc. Is it normal to happen?
> I have got a=20
> 8:     Apple_UNIX_SVR2 home            39845888 @ 53448832 ( 19.0G) S2  U=
FS k0=20
> (pdisk)
>  g:  39845888  53448832     4.2BSD      0     0     0  # (Cyl.  53024*- =
=20
> 92554*)
> (disklabel)
> partition, which as you can see is 19GB.
> When I executed newfs -O 2 -i 4 /dev/wd0g, the operation was successful a=
nd I=20

I think that's 4 bytes per inode, not 4k. So you made a HUGE number of=20
inodes....

> noticed nothing until the partition got full in a few days. Then I checke=
d it=20
> and saw with df that it was about 2GB. Where were the other 17GB? Then I=
=20
> newfs'd it without specifying the number if cylinders per inode (I guess.=
..).=20
> Now it worked great.=20
> Why? Am I missing something obvious?

I think -i 4k would have done better.

Take care,

Bill

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

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (NetBSD)

iD8DBQFCSEwBWz+3JHUci9cRAmu8AJsHejKAmK+hi3nD9cT07iX8iw/iPACfUwlf
MlQhlIsh1XK6UPqYDWcbjuM=
=bfTW
-----END PGP SIGNATURE-----

--jq0ap7NbKX2Kqbes--