* newfs and changing bytes/inode ratio
@ 1993-03-29 7:26 Norman Hill
0 siblings, 0 replies; only message in thread
From: Norman Hill @ 1993-03-29 7:26 UTC (permalink / raw)
Okay, I may be missing the obvious but I'm stumped. I am running out
of inodes faster than space on the partition I'm spooling news on (no
real surprise there). So... I decided to remake the partition. The
documentation seems to be pretty obvious. It seems that I should be
able to easily lower the number of bytes per inode from the default of
2048 to a more reasonable number for this application - say, 1024.
Anyway, I've tried with both the /etc/newfs command and with the mkfs
command (just in case newfs wasn't really passing the inode ratio
parameter). No go. I've also changed the block size to 4096 and
the fragment size to 512 - these both worked. Arghhh.
Is there perhaps a maximum number of inodes per partition? An ugly
solution that would be, but at least it might work.
Okay... lessee ... what other pertinent info should I include....
o It is on a Seagate SCSI drive (rz57 compatible)
o The partition table looks like:
Current partition table:
partition bottom top size overlap
a 0 32767 32768 c,d,e
b 32768 163839 131072 c,e
c 0 2059139 2059140 a,b,d,e,f,g,h
d 0 0 0 a,c,e
e 0 749999 750000 a,b,c,d,g
f 750000 1499999 750000 c,g
g 163840 2059139 1895300 c,e,f,h
h 1500000 2059139 559140 c,g
o I'm running Ultrix V4.3 on a DECStation 5000/25
o The partition I am playing with is rz5f
o Here is what the first few lines from dumpfs look like now:
magic 11954 time Mon Mar 29 02:11:57 1993
sblkno 32 cblkno 48 iblkno 56 dblkno 568
sbsize 8192 cgsize 3584 cgoffset 72 cgmask 0xfffffff0
ncg 44 size 749760 blocks 726142
bsize 4096 shift 12 mask 0xfffff000
fsize 512 shift 9 mask 0xfffffe00
frag 8 shift 3 fsbtodb 0
minfree 10% maxbpg 128
maxcontig 1 rotdelay 0ms rps 60
csaddr 568 cssize 1024 shift 8 mask 0xffffff00
ntrak 15 nsect 71 spc 1065 ncyl 704
cpg 16 bpg 2130 fpg 17040 ipg 2048
nindir 1024 inopb 32 nspf 1
nbfree 66414 ndir 773 nifree 54568 nffree 4885
cgrotor 28 clean 1 (dirty) ronly 0
deftimer 20 cleantimer 19 lastfsck Sun Mar 28 23:25:55 1993
pt_magic 32957 pt_valid 1
partition nblocks blk off
a 32768 0
b 131072 32768
c 2059140 0
d 0 0
e 750000 0
f 750000 750000
g 1895300 163840
h 559140 1500000
Okay... if I'm not providing some critical piece of info please let me
know. Replies via email or by posting to comp.unix.ultrix will be
most welcome.
Norman_Hill@uncg.edu
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1993-03-29 7:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1993-03-29 7:26 newfs and changing bytes/inode ratio Norman Hill
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox