[comp.sys.sun] Does "newfs -i 1024" do anyting on SunOS4.x?

rsalz@bbn.com (Rich Salz) (11/15/89)

I keep running out of inodes on my netnews partition:

29 papaya# df /nfs/papaya/usenet/
Filesystem            kbytes    used   avail capacity  Mounted on
/dev/xy1g              80439   63821    8574    88%    /nfs/papaya/usenet
30 papaya# df -i /nfs/papaya/usenet/
Filesystem             iused   ifree  %iused  Mounted on
/dev/xy1g              24137     439    98%   /nfs/papaya/usenet

I tried "newfs -i 1600 /dev/rxy1g" hoping to get about 30% more and I
still only got 24.5K.

Help!?
	/rich $alz

rsalz@bbn.com (Rich Salz) (11/22/89)

In <3115@brazos.Rice.edu> rsalz@bbn.com (Rich Salz) writes:
>I tried "newfs -i 1600 /dev/rxy1g" hoping to get about 30% more and I
>still only got 24.5K.

Some replies came in before I even saw my message.  Best reply was from
Don Speck <mangler@csvax.caltech.edu>:

    There's a limit of 2048 inodes per cylinder group.  You're probably
    using a disk with big cylinders.  Try "-c 8".  Also consider reducing
    the fragment size to 512 bytes if you're going to have so many tiny
    files.

Thanks also to maria a barnum <barnum@grumpy.crd.ge.com>.

Summary:  RTFM, where RTFM is the paper on the 4.2BSD filesystem.