🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #63898

Re: [inn 2.3.2] Changing storage method from tradspool to cnfs

#63898
From: 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
Technical Details
Message-ID: <b1sifo$tcn$9@puck.litech.org>
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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.ems.psu.edu!news.litech.org!not-for-mail
References: <b1qr2t$fn0$1@sapa.inka.de>

Show Full Headers
Complete Article Headers
Message-ID: <b1sifo$tcn$9@puck.litech.org>
Subject: Re: [inn 2.3.2] Changing storage method from tradspool to cnfs
Date: Thu, 06 Feb 2003 02:49:28 +0000
From: jeff@litech.org (Jeffrey M. Vinocur)
References: <b1qr2t$fn0$1@sapa.inka.de>
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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.ems.psu.edu!news.litech.org!not-for-mail
Newsgroups: news.software.nntp
Organization: Litech Systems Design
Lines: 45
Sender: jeff@litech.org
NNTP-Posting-Host: puck.litech.org
X-Trace: puck.litech.org 1044499768 30103 66.218.0.75 (6 Feb 2003 02:49:28 GMT)
X-Complaints-To: usenet@litech.org
NNTP-Posting-Date: Thu, 6 Feb 2003 02:49:28 +0000 (UTC)
X-Newsreader: trn 4.0-test76 (Apr 2, 2001)
Originator: jeff@litech.org (Jeffrey M. Vinocur)