🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #73071

Re: Switching CNFS from interleaved to sequential

#73071
From: Jeffrey M. Vinocur
Date: Sat, 14 Jan 2006 01:05
67 lines
2990 bytes
In article <xn0eh6uc6jztnd000@news2.open-news-network.org>,
Mike Lischke <newsgroups@soft-gems.net> wrote:
>Jeffrey M. Vinocur wrote
>
>>If you have additional space available, by far the easiest way to
>>accomplish your goal is to allocate new cycbuffs, start using
>>those until they're full, and then delete the old ones.  We can
>>talk about exactly how to do that if you're interested.
>
>Hmm, but the storage keyword would have to be attached to the meta buffer
>line, right? So how would that preserve the old spool? I have lost my
>entire spool last December, because it was stored as tradspool (and hit the
>magic 10 million inodes limit), and now I've climbed up to 7 mill. articles
>again. So you can image I would hate to lose that again.

Okay, so right now you have something like this (simplifying to
jsut one hierarchy):

    cycbuff.conf:

        metacycbuff:ALT:ALT1,ALT2,ALT3


    storage.conf:

        method cnfs {
          newsgroups: alt.*
          class: 1
          options: ALT
        }


If you make some new cycbuffs and then change this to:

    cycbuff.conf (just the metacycbuff part):

        metacycbuff:ALT:ALT1,ALT2,ALT3

        metacycbuff:NEWALT:NEWALT1,NEWALT2,NEWALT3:SEQUENTIAL


    storage.conf:

        method cnfs {
          newsgroups: alt.*
          class: 2
          options: NEWALT
        }

        method cnfs {
          newsgroups: !*
          class: 1
          options: ALT
        }

making sure to leave the block with the original "class" number
referencing the existing buffers, and assigning a new storage
class for the block referencing the new buffers, then the old
articles will still be accessible, while new articles are written
only to the new buffers.

Does that make sense?


-- 
Jeffrey M. Vinocur
jeff@litech.org
Technical Details
Message-ID: <dq9ipf$lis$1@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.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!news4.google.com!news.glorb.com!news.litech.org!not-for-mail
References: <xn0eh6i833m0ve002@news2.open-news-network.org> <dq86sr$b5s$1@puck.litech.org> <xn0eh6uc6jztnd000@news2.open-news-network.org>

Show Full Headers
Complete Article Headers
Message-ID: <dq9ipf$lis$1@puck.litech.org>
Subject: Re: Switching CNFS from interleaved to sequential
Date: Sat, 14 Jan 2006 01:05:51 +0000
From: jeff@litech.org (Jeffrey M. Vinocur)
References: <xn0eh6i833m0ve002@news2.open-news-network.org> <dq86sr$b5s$1@puck.litech.org> <xn0eh6uc6jztnd000@news2.open-news-network.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.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!news4.google.com!news.glorb.com!news.litech.org!not-for-mail
Newsgroups: news.software.nntp
Organization: Litech Systems Design
Lines: 67
Sender: jeff@litech.org
NNTP-Posting-Host: puck.litech.org
X-Trace: puck.litech.org 1137200751 22108 66.218.0.75 (14 Jan 2006 01:05:51
 GMT)
X-Complaints-To: usenet@litech.org
NNTP-Posting-Date: Sat, 14 Jan 2006 01:05:51 +0000 (UTC)
X-Newsreader: trn 4.0-test76 (Apr 2, 2001)
Originator: jeff@litech.org (Jeffrey M. Vinocur)