From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10b612,5969f293791a1206,start X-Google-Attributes: gid10b612,public X-Google-Thread: 1020c6,5969f293791a1206,start X-Google-Attributes: gid1020c6,public X-Google-Thread: 1164f8,5969f293791a1206,start X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1993-03-29 12:10:59 PST Xref: sparky comp.unix.ultrix:10586 comp.sys.dec:8127 comp.unix.admin:8117 Path: sparky!uunet!amdahl!news.fai.com!news.ossi.com!agate!howland.reston.ans.net!zaphod.mps.ohio-state.edu!usc!elroy.jpl.nasa.gov!decwrl!concert!ecsgate!bruce.uncg.edu!sheila.uncg.edu!hillnr From: hillnr@hamlet.uncg.edu (Norman Hill) Newsgroups: comp.unix.ultrix,comp.sys.dec,comp.unix.admin Subject: newfs and changing bytes/inode ratio Followup-To: comp.unix.ultrix Date: 29 Mar 1993 07:26:37 GMT Organization: UNCG Sender: hillnr@sheila.uncg.edu (Norman Hill) Distribution: world Message-ID: <1p68bd$an4@bruce.uncg.edu> NNTP-Posting-Host: sheila.uncg.edu Keywords: inode mkfs newfs 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