🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.sequent
Article #876

Running out of inodes - THE CURE

#876
From: Andy Clews
Date: Tue, 06 Jun 1989 15:52
31 lines
1748 bytes
Thanks to many helpful suggestions we have now been able to double the number
of inodes in one of our filesystems. The trick is to decrease the default
block and fragment sizes. In the session shown below we have decreased the
blocksize of partition zd1h from 8192 bytes to 4096 bytes and the fragment
size from 1024 bytes to 512 bytes. This doubled the number of inodes - however
it reduced the disk capacity by 4.75 Mbytes.

---- transcript of session ----
# df -i /local
Filesystem   kbytes    used   avail capacity iused   ifree  %iused  Mounted on
/dev/zd1h    245458   98170  122742    44%   30369    6495    82%   /local
# umount /local
# /etc/newfs -v -b 4096 -f 512 -c 8 zd1h m2344k
/etc/mkfs /dev/rzd1h 500742 66 27 4096 512 8 10 60 2048
/dev/rzd1h:	500742 sectors in 281 cylinders of 27 tracks, 66 sectors
	256.4Mb in 36 cyl groups (8 c/g, 7.30Mb/g, 2048 i/g)
[...other commentary deleted...]
---- end of transcript ----

After restoring....

Filesystem   kbytes    used   avail capacity iused   ifree  %iused  Mounted on
/dev/zd1h    240706   93649  122985    43%   30510   43218    41%   /local


Many thanks again to all those who mailed and posted suggestions.
-- 
Andy Clews, Computing Service, Univ. of Sussex, Brighton BN1 9QN, ENGLAND
JANET: andy@syma.sussex.ac.uk   BITNET: andy%syma.sussex.ac.uk@uk.ac
Voice: +44 273 606755 ext.2129
Technical Details
Message-ID: <1056@syma.sussex.ac.uk>
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!leah!albanycs!crdgw1!uunet!mcvax!ukc!icdoc!syma!andy

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!leah!albanycs!crdgw1!uunet!mcvax!ukc!icdoc!syma!andy
From: andy@syma.sussex.ac.uk (Andy Clews)
Newsgroups: comp.sys.sequent
Subject: Running out of inodes - THE CURE
Message-ID: <1056@syma.sussex.ac.uk>
Date: 6 Jun 89 15:52:10 GMT
Organization: University of Sussex
Lines: 31