mkfs problem
Brian H. Powell
brian at natinst.UUCP
Sat Jul 9 01:48:58 AEST 1988
First of all, I'm on a Sun 3/160 with SunOS 3.2.
I'm having trouble getting the bytes/inode parameter to newfs/mkfs work
like I want it to. Normally, it uses 2048 bytes/inode. I want four
times that many, so I want 512 bytes/inode.
On the Sun, we've got a newfs program, which I'm not sure is standard.
Below that, there's the equivalent mkfs call.
The trouble is, I'm not getting as many inodes as I want.
natinst# /etc/newfs -n -v -i 512 /dev/rxl0e
/etc/mkfs /dev/rxl0e 390744 67 27 8192 1024 16 10 60 512 t 0
/dev/rxl0e: 390744 sectors in 216 cylinders of 27 tracks, 67 sectors
200.1Mb in 14 cyl groups (16 c/g, 14.82Mb/g, 2048 i/g)
super-block backups (for fsck -b#) at:
32, 29056, 58080, 87104, 116128, 145152, 174176, 203200, 232224, 261248,
290272, 319296, 348320, 377344,
natinst# /etc/mount /var
and df /var and df -i /var show:
Filesystem kbytes used avail capacity Mounted on
/dev/xl0e 191547 9 172383 0% /var
Filesystem iused ifree %iused Mounted on
/dev/xl0e 4 28668 0% /var
To have 512 bytes/inode, I'd have to have about 95000 inodes on that
partition. I'm only getting 30% of that.
Is there some other parameter that I have to tweak to get it to work?
What's going on?
Thanks in advance.
Brian H. Powell National Instruments Corp.
brian at natinst.uucp 12109 Technology Blvd.
ut-sally!cs.utexas.edu!natinst!brian Austin, Texas 78727-6204
AppleLink:D0351 (512) 250-9119 x832
More information about the Comp.unix.questions
mailing list