Article View: news.software.nntp
Article #2438Re: CNEWS Spacefor problems (CNEWS2)
From: Bill Vermillion
Date: Wed, 02 Mar 1994 04:27
Date: Wed, 02 Mar 1994 04:27
43 lines
2543 bytes
2543 bytes
In article <1994Feb28.115108.26024@wshb.csms.com>,
Damian Centgraf - WSHB System Administrator - Engineer <damian@wshb.csms.com> wrote:
> I am having problems with too little space when I try to post
>an article doing inews.
>
> When doing a df command I receive the following:
>
>/ (/dev/root ): 386524 blocks 48367 i-nodes
>/u (/dev/u ): 410892 blocks 47743 i-nodes
>/usr/spool/news (swii:/usr/spool/news ): 261438 blocks 0 i-nodes
>
> when I do a df /usr/spool/news I receive the following:
>
>/usr/spool/news (swii:/usr/spool/news ): 261438 blocks 0 i-nodes
>
> The Inodes are there on the swii machine. So the 0 inodes is
>misleading.
How do you know the inodes are there. Do an fsck and see if
they come back. If they do it's probably the Sys V bug that
most people have gotten fixed by now, but news gobbles up
inodes in a hurry. I have seen 0 inodes far too often when
running news.
># In the following, the initialization of nf determines which field the
># block count comes from, and the one for nr determines which line. For
># System V, the Makefile edits in a sed which tries to strip silliness
># off in a reasonably System-V-variant-independent way. Expr would be
># faster than awk, but on a 16-bit machine, expr does 16-bit arithmetic,
># which isn't enough.
>
># this is set up for the stupid System V df
>echo " df argument= $arg NR=$NR nr=$nr NF=$NF nf=$nf" >> t2
>df $arg | sed "s/.*:/: :/" | awk "BEGIN { nf = 3 ; nr = 2 }
^^^^^^^
I'm not running ODT - or SCO on this machine but a Sys V.3.2
and I found that nr needed to be 1 here. You might try it.
--
Bill Vermillion - bill@bilver.oau.org | bill.vermillion@oau.org
Technical Details
Message-ID:
<1994Mar2.042706.27172@bilver.oau.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-biz.sco.general.mbox.zip!gmd.de!Germany.EU.net!EU.net!uunet!rde!gator!bilver!billReferences:
<1994Feb28.115108.26024@wshb.csms.com>Show Full Headers
Complete Article Headers
Message-ID: <1994Mar2.042706.27172@bilver.oau.org> Subject: Re: CNEWS Spacefor problems (CNEWS2) Date: Wed, 2 Mar 1994 04:27:06 GMT From: bill@bilver.oau.org (Bill Vermillion) References: <1994Feb28.115108.26024@wshb.csms.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-biz.sco.general.mbox.zip!gmd.de!Germany.EU.net!EU.net!uunet!rde!gator!bilver!bill Newsgroups: news.software.b,news.software.nntp,biz.sco.general,comp.unix.questions Organization: W. J. Vermillion - Orlando / Winter Park, FL Lines: 42