🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #11039

Re: Hard disk setup for news

#11039
From: Per Hedeland
Date: Sat, 21 Sep 1996 00:00
43 lines
2632 bytes
[ Bogus Distribution: inet removed ]

In article <gergDy2FqE.Mxr@netcom.com> gerg@netcom.com (Greg Andrews) writes:
>jerry@ATC.Olivetti.Com (Jerry Aguirre) writes:
>>Don't trust newfs to do what you tell it.  It is better to find out
>>before rather than after you already have 4G of articles and have run
>>out of inodes.  If "-i 2048" doesn't give you enough inodes then try
>>combinding that with "-c 8" to reduce the cylinder group size.
>
>Careful, though.  If your spool is big enough, "-i 2048" can give you
>too many inodes.

This has nothing to do with the size of the spool of course - unless you
intend to leave a large portion of it unused - only with the average size
of the articles you store.

>When I set up an 18GB news spool, I newfs'ed it with the default inode
>setting (-i 2048).  When I looked at the number of inodes on it, I
>nearly fell of my chair.  It had more than 9 million.

Um, I'd say that shouldn't come as a surprise:-), simple division would
have told you - assuming your newfs is capable of obeying the -i
directive, which not all are, thus Jerry's advice is important.

>I was only using 2.5 million on my existing spool, and I wasn't going
>to triple the number of articles I was carrying, so 9 million was way
>too much.  I redid the newfs, this time using "-i 4096".  4.5 million
>inodes, which was a good number.

This is fine if your average article size is well above 4k - mine is
currently 3.72k (easily found by dividing 'df' output with 'df -i'
output on systems that have a decent 'df'), and I would thus be unable
to fill the spool - no matter how big or small - due to inode shortage
if I used "-i 4096". YMMV of course, I exclude significant parts of
alt.binaries which would otherwise drive up the average article size,
but even if you get them you may be expiring them fairly quickly,
reducing their effect on average size of articles *in the spool*.

--Per Hedeland
per@erix.ericsson.se

Technical Details
Message-ID: <520jv3$g60@news.du.etx.ericsson.se>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <51ncsb$2ch@littleboy.factory.net> <51uvve$ks1@olivea.atc.olivetti.com> <gergDy2FqE.Mxr@netcom.com>

Show Full Headers
Complete Article Headers
Message-ID: <520jv3$g60@news.du.etx.ericsson.se>
Subject: Re: Hard disk setup for news
Date: Sat, 21 Sep 1996 00:00:00 +0000
From: per@erix.ericsson.se (Per Hedeland)
References: <51ncsb$2ch@littleboy.factory.net> <51uvve$ks1@olivea.atc.olivetti.com> <gergDy2FqE.Mxr@netcom.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 184384688
Organization: Ericsson Telecom, Stockholm, Sweden
Nntp-posting-user: per
Newsgroups: news.software.nntp