🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
4 messages
4 total messages Started by Jeffrey M. Vinocur Thu, 06 Feb 2003 02:49
Re: [inn 2.3.2] Changing storage method from tradspool to cnfs
#63898
Author: Jeffrey M. Vinocur
Date: Thu, 06 Feb 2003 02:49
46 lines
2519 bytes
In article <b1qr2t$fn0$1@sapa.inka.de>,
Markus Kadelke  <usenet99-01@kadelke.inka.de> wrote:
>
>As I ran out of inodes on my system I decided to set up a cnfs spool
>and put all the new arriving articles in there. However I wanted to
>keep my old articles (stored in tradspool).

That can be done.


>What I did was changing storage.conf, so that all new articles
>(wildmat: *) would go into the new buffers. I assigned storage class 1.

Uh, was class 1 used for tradspool before the change?  You should
have left the number for tradspool the same, and assigned a new
number for CNFS.  (The numbers don't have to be in order -- I
think the purpose of the storage class numbers is not entirely
clear from the documentation, though.)


>I surely can rebuild the overview and history database, but will the
>same thing happen by the next expire run?

You should be fine, provided that both tradspool and CNFS are
listed in storage.conf (I don't think it matters what numbers you
give them, since you're rebuilding everything anyway.)


>Does it has anything to do with groupbased expiry 

I don't believe so.


>(I could not choose another storage class for the cnfs buffers
>as the old articles didn't have any storage class assigned)?

That sounds like your problem.

The way it works is that the storage class is encoded in the
storage API token (in history), and then that is crossreferenced
with storage.conf to figure out where to look for the article.

-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: [inn 2.3.2] Changing storage method from tradspool to cnfs
#63911
Author: Markus Kadelke
Date: Thu, 06 Feb 2003 14:33
42 lines
2741 bytes
Jeffrey M. Vinocur <jeff@litech.org> wrote:
> In article <b1qr2t$fn0$1@sapa.inka.de>,
> Markus Kadelke  <usenet99-01@kadelke.inka.de> wrote:
>>What I did was changing storage.conf, so that all new articles
>>(wildmat: *) would go into the new buffers. I assigned storage class 1.

> Uh, was class 1 used for tradspool before the change?  You should
> have left the number for tradspool the same, and assigned a new
> number for CNFS.  (The numbers don't have to be in order -- I
> think the purpose of the storage class numbers is not entirely
> clear from the documentation, though.)

Yes, I know that. But as I said I used groupbased expiry before, so
there was no storage class assigned. Or is there a default storage
class?

>>I surely can rebuild the overview and history database, but will the
>>same thing happen by the next expire run?

> You should be fine, provided that both tradspool and CNFS are
> listed in storage.conf (I don't think it matters what numbers you
> give them, since you're rebuilding everything anyway.)

Just to make sure I got your point: I have a catch-all entry, which
will store all incoming articles in a cnfs buffer. The same entry used
to store all articles in tradspool. Do I now have to add another
catch-all entry for tradspool, so the storage manager knows about it?

> The way it works is that the storage class is encoded in the
> storage API token (in history), and then that is crossreferenced
> with storage.conf to figure out where to look for the article.

Ok, that sounds like I have to add an entry for tradspool.

I will try that.

Thank you for your help.

Regards,

Markus
Re: [inn 2.3.2] Changing storage method from tradspool to cnfs
#63913
Author: Jeffrey M. Vinocur
Date: Thu, 06 Feb 2003 15:25
29 lines
1964 bytes
In article <b1trno$f64$1@sapa.inka.de>,
Markus Kadelke  <usenet99-01@kadelke.inka.de> wrote:
>Jeffrey M. Vinocur <jeff@litech.org> wrote:
>
>> Uh, was class 1 used for tradspool before the change?  You should
>> have left the number for tradspool the same, and assigned a new
>> number for CNFS.
>
>Yes, I know that. But as I said I used groupbased expiry before, so
>there was no storage class assigned. Or is there a default storage
>class?

If you have no storage classes, INN won't start.


>Just to make sure I got your point: I have a catch-all entry, which
>will store all incoming articles in a cnfs buffer. The same entry used
>to store all articles in tradspool. Do I now have to add another
>catch-all entry for tradspool, so the storage manager knows about it?

Yes.  INN can only retrieve articles from locations listed in
storage.conf.



-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: [inn 2.3.2] Changing storage method from tradspool to cnfs
#63916
Author: Markus Kadelke
Date: Thu, 06 Feb 2003 16:03
22 lines
1908 bytes
Jeffrey M. Vinocur <jeff@litech.org> wrote:
> In article <b1trno$f64$1@sapa.inka.de>,
> Markus Kadelke  <usenet99-01@kadelke.inka.de> wrote:
>>Jeffrey M. Vinocur <jeff@litech.org> wrote:
>>
>>> Uh, was class 1 used for tradspool before the change?  You should
>>> have left the number for tradspool the same, and assigned a new
>>> number for CNFS.
>>
>>Yes, I know that. But as I said I used groupbased expiry before, so
>>there was no storage class assigned. Or is there a default storage
>>class?

> If you have no storage classes, INN won't start.

Hm. That explains my problem as you it pointed out. Ok, I will give it a
try this night. Again thanks, Jeffrey.

Regards,

Markus
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