🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
10 messages
10 total messages Started by Peter Chant Tue, 19 Oct 2004 22:07
Inn thinks I have run out of inodes (on Reiser) but I am not convinced.
#70150
Author: Peter Chant
Date: Tue, 19 Oct 2004 22:07
49 lines
2714 bytes
Hi there.

I'm trying to run Inn 2.4.1 as supplied with Slackware 10.0.  I 
am using a Reiser file system, 3.6 I beleive.  I am using tradspool
for storage.  When trying to connect from my newsreader I get the
following:

400 No space (spool inodes) [innwatch:39] 0 lt 200

RTFMing and Googling indicates that I am out of inodes.  However I 
am not convinced.  I was running a very similar setup under 
Slack 9.1 with no problems.  

The spool directory is owner and group 'news'.

It is worth noting that I have only been carrying less than a dozen
groups, and it broke with far less groups than it was happily running with
under Slack 9.1

'df -i' gives:

Filesystem            Inodes   IUsed   IFree IUse% Mounted on
/dev/hda2                  0       0       0    -  /
/dev/hda1                  0       0       0    -  /mnt/alt-slack
/dev/sda2                  0       0       0    -  /mnt/images

Which seems a tad odd.

'df' gives:

Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/hda2             39092976  16606152  22486824  43% /
/dev/hda1             39084912  35811064   3273848  92% /mnt/alt-slack
/dev/sda2              3452976   2869796    583180  84% /mnt/images

The spool directory is on /dev/hda2.  It gave this error before I
copied a lot of stuff to /dev/hda2, if I had ran out of inodes I think
copying data would have been a big problem.

Just to illustrate the point as I was writing this post I wrote a quick
and dirty script to create a directory on the same partition (/dev/hda2)
with 10000 small files. This script ran with no problems.  On this basis I
don't beleive that I am lacking in inodes.

Does anyone have any ideas?

Thanks,

Pete
Re: Inn thinks I have run out of inodes (on Reiser) but I am not convinced.
#70162
Author: Xn
Date: Wed, 20 Oct 2004 18:25
15 lines
1795 bytes
Peter Chant  :

Peter Chant :

> 400 No space (spool inodes) [innwatch:39] 0 lt 200
> 
> RTFMing and Googling indicates that I am out of inodes.

you are out of inodes because reiser does not use inodes ...

inndf program tries to cout free inodes on partition and returns 0 for
reiser ... you can disable checking for inodes in innwatch.ctl (which is
ok if you are using reiser only, but could cause trouble with ext) or find
some replacement for inndf ...
Re: Inn thinks I have run out of inodes (on Reiser) but I am not convinced.
#70163
Author: Peter Chant
Date: Wed, 20 Oct 2004 22:41
34 lines
2339 bytes
On Wed, 20 Oct 2004 20:25:40 +0200, Xn wrote:


> you are out of inodes because reiser does not use inodes ...

Ah, that explains the strange message from df.  It does not explain why I
never had this problem before when I was using Reiser, but I'll worry
about getting inn working now rather than why it used to work.


> 
> inndf program tries to cout free inodes on partition and returns 0 for
> reiser ... you can disable checking for inodes in innwatch.ctl (which is
> ok if you are using reiser only, but could cause trouble with ext) or find
> some replacement for inndf ...

OK commented out the following by adding a '#' to the start of every line:
##  If load is OK, check space (and inodes) on various filesystems
!!! ${INNDF} . ! lt ! ${INNWATCHSPOOLSPACE} ! throttle ! No space (spool)
!!! ${INNDF} ${BATCH} ! lt ! ${INNWATCHBATCHSPACE} ! throttle ! No space (newsq)
!!! ${INNDF} ${PATHDB} ! lt ! ${INNWATCHLIBSPACE} ! throttle ! No space (newslib)
!!! ${INNDF} -i . ! lt ! ${INNWATCHSPOOLNODES} ! throttle ! No space (spool inodes)
!!! ${INNDF} ${OVERVIEWDIR} ! lt ! ${INNWATCHSPOOLSPACE} ! throttle ! No
space (overview)


I'm slightly confused by the tripple '!'s but Inn now seems to be running
fine.

Cheers for that.

(Now all I have to do is find out why newx and rnews are not playing ball)

Pete
Re: Inn thinks I have run out of inodes (on Reiser) but I am not convinced.
#70165
Author: Jeffrey M. Vinocur
Date: Wed, 20 Oct 2004 23:53
22 lines
1980 bytes
In article <pan.2004.10.20.22.41.26.746282@phoenix.fire>,
Peter Chant  <pete@phoenix.fire> wrote:
>On Wed, 20 Oct 2004 20:25:40 +0200, Xn wrote:
>
>
>> you are out of inodes because reiser does not use inodes ...
>
>Ah, that explains the strange message from df.  It does not explain why I
>never had this problem before when I was using Reiser, but I'll worry
>about getting inn working now rather than why it used to work.

If I read the latest INN source correctly, the way Reiser reports
inodes changed in the 2.6 kernel.  When 2.4.2 is released, it
should handle either the old or new behavior correctly.

(That should be soon.  Or you can upgrade to CURRENT in the
meanwhile.)


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: Inn thinks I have run out of inodes (on Reiser) but I am not convinced.
#70169
Author: Peter Chant
Date: Thu, 21 Oct 2004 16:39
22 lines
2136 bytes
On Wed, 20 Oct 2004 23:53:26 +0000, Jeffrey M. Vinocur wrote:

> If I read the latest INN source correctly, the way Reiser reports
> inodes changed in the 2.6 kernel.  When 2.4.2 is released, it
> should handle either the old or new behavior correctly.
>

May be I should upgrade when it is out.  I wonder if turning off the
checking in innwatch.ctl has caused something else nasty to happen as I am
downloading news using newsx, which seemed OK until I modified that file.
It now seg faults.  One for the newsx mailing list I think.  Perhaps
upgrading Inn might work as newsx does use some of Inn's libraries.


> (That should be soon.  Or you can upgrade to CURRENT
 in the meanwhile.)

Hmm, not brave enough for CURRENT.  I only run inn at home, I'm not a full
time news admin.   Therefore I find it a bit of a hastle to get it working
each time because I have to re-learn.  However once it is working it is
usually indestructable.  :-)
Re: Inn thinks I have run out of inodes (on Reiser) but I am not convinced.
#70171
Author: Xn
Date: Thu, 21 Oct 2004 22:51
10 lines
1743 bytes
Peter Chant :

> OK commented out the following by adding a '#' to the start of every
> line:

i don't think it is a good idea to leave inn completely without clue about
available disk space ... this is the only line you need to comment out:

> ${INNWATCHSPOOLNODES} ! throttle ! No space (spool inodes) !!! ${INNDF}
Re: Inn thinks I have run out of inodes (on Reiser) but I am not convinced.
#70198
Author: Bill Davidsen
Date: Thu, 28 Oct 2004 15:50
25 lines
2364 bytes
Xn wrote:
> Peter Chant  :
> 
> Peter Chant :
> 
> 
>>400 No space (spool inodes) [innwatch:39] 0 lt 200
>>
>>RTFMing and Googling indicates that I am out of inodes.
> 
> 
> you are out of inodes because reiser does not use inodes ...
> 
> inndf program tries to cout free inodes on partition and returns 0 for
> reiser ... you can disable checking for inodes in innwatch.ctl (which is
> ok if you are using reiser only, but could cause trouble with ext) or find
> some replacement for inndf ...
> 
Or find a replacement for reiser ;-)

-- 
bill davidsen (davidsen@darkstar.prodigy.com)
   SBC/Prodigy Yorktown Heights NY data center
   Project Leader, USENET news
   http://newsgroups.news.prodigy.com
Re: Inn thinks I have run out of inodes (on Reiser) but I am not convinced.
#70201
Author: Xn
Date: Thu, 28 Oct 2004 16:44
6 lines
1441 bytes
Bill Davidsen :

> Or find a replacement for reiser ;-)

what's wrong with reiser ?
Re: Inn thinks I have run out of inodes (on Reiser) but I am not convinced.
#70208
Author: Vid Strpic
Date: Fri, 29 Oct 2004 05:26
32 lines
2622 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Bill Davidsen whispered unto us in news.software.nntp:
> Xn wrote:
>> you are out of inodes because reiser does not use inodes ...
>> inndf program tries to cout free inodes on partition and returns 0
>> for reiser ... you can disable checking for inodes in innwatch.ctl
>> (which is ok if you are using reiser only, but could cause trouble
>> with ext) or find some replacement for inndf ...
> Or find a replacement for reiser ;-)

XFS, XFS :)))))))

OK, doesn't do tail packing like reiser, but it's good and fast... I run
my innd now on xfs, and I'm very very happy... real good filesystem I
can highly recommend.


 - Vid `Marquis de RTFM` Strpic.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBgdSIq1AzG0/iPGMRAgOGAKC2/2wVBGpFvo65yxk+Pa4Eyaz/BQCfS+cg
Mcq4P354mYIZCKCWEx+XIcE=
=d0kp
-----END PGP SIGNATURE-----

-- 
           vms@bofhlet.net, IRC:*@Martin, /bin/zsh. C|N>K
Linux lorien 2.4.27 #1 Sun Aug 15 21:29:46 CEST 2004 i686
 07:24:42 up 3 days, 12:09, 14 users,  load average: 0.02, 0.03, 0.00
Re: Inn thinks I have run out of inodes (on Reiser) but I am not convinced.
#70356
Author: Bill Davidsen
Date: Mon, 22 Nov 2004 17:36
24 lines
2456 bytes
Xn wrote:
> Bill Davidsen :
> 
> 
>>Or find a replacement for reiser ;-)
> 
> 
> what's wrong with reiser ?
> 
As the original poster noted, it doesn't have inodes in the usual sense, 
so software which expects it to behave like every other UNIX filesystem 
gets unhappy.

You did note the smiley on my comment I hope, I wasn't saying anything 
bad about it other than it doesn't work with the standard scripts.

Consider I said ME TOO to the post on XFS, which seems to provide the 
performance benefits of Reiser without the unusual characteristics.

-- 
bill davidsen (davidsen@darkstar.prodigy.com)
   SBC/Prodigy Yorktown Heights NY data center
   Project Leader, USENET news
   http://newsgroups.news.prodigy.com
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads