[comp.sys.sun] How to get more inodes in a partition?

macphed%DVINCI.USask.CA@cornellc.cit.cornell.edu (01/24/89)

Hello;

We are having a minor problem here with in using mkfs and newfs to create
a partition with greater than the default number of inodes. The hardware
we're running is a SUN 4/280 with Xylogics 450/451 controllers and Hitachi
890Meg disks. The operating system is SUNOS 3.2L.

Neither mkfs nor newfs complains on the invocation, but the new partition
only has a limited number of inodes. We have tried to change other
parameters such as block and frag size, just in case they also had to be
changed, but to no avail. (Mkfs DOES complain if the frag size is too
small for a given block size.)

The desired parameters are:
Partition size: 435 cylinders
Block size:     8192
Frag size:      1024
Bytes/inode:    1024

Result is (from df, so size doesn't include "overflow"):
Size:           210954 kbytes
inodes:         57344

The thing that I notice is that the number of inodes per cylinder group
does not vary. Could this be the limitation I'm encountering?  (The rate
is 2048 inodes/cyl.grp. Mkfs will not allow me less than 16 cylinders per
group. In this case, it is 435/16 = 27.1875 = 28 groups 28 * 1024 = 57344
inodes.)

All of this is in seeming contradiction to the documentation. All help
will be gratefully accepted. As this is an unusual configuration, please
email responses. A summary will be posted when an answer is found.

Ian MacPhedran
University of Saskatchewan Engineering Computing Centre
macphedran@sask.usask.ca    InterNet
macphedr@sask.bitnet        BITnet/NetNorth
macphed@dvinci.uucp         UUCP  ( ...!alberta!dvinci!macphed )