🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #67204

Re: Moving from timehash to cnfs

#67204
From: Jeffrey M. Vinocur
Date: Tue, 18 Nov 2003 04:10
38 lines
2463 bytes
In article <bpbbbk$s4d$1@newsfeed.nextoneserver.com>,
Stefano <stefano@nospam.bizstudio.it> wrote:
>
>But is there the possibily to know how much space is used from a specific
>hierarchy in order to decide the needed space for each hierarchy?

It's not easy to do this based on the articles you currently
have.  But one thing you could do is start with some reasonable
amount, and see how fast the cycbuff starts to fill up, and then
add more cycbuffs to the metacycbuff as needed.


>And all news i've got on my server, if I change the used storage method in
>storage.conf i loose all messages stored in my system? or i get them from
>another peer?

The usual solution to this problem is:

- leave all your existing storage.conf entries as is

- add the cnfs method to the top of storage.conf with a *new*
  class: number (it doesn't matter, just don't reuse the same one
  as is already being used by timehash)

- now all new articles will go to CNFS, but old articles in
  timehash can still be read

- the timehash articles will expire as per expire.ctl, and
  eventually you'll get that disk space back.

You can also try other things, like "respool" in the contrib
directory, but unless there's something wrong with the above,
that's probably easiest.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Technical Details
Message-ID: <bpc64h$gq0$3@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.20140818.mbox.gz!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!border1.nntp.ash.giganews.com!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!news.maxwell.syr.edu!news.litech.org!not-for-mail
References: <bpbbbk$s4d$1@newsfeed.nextoneserver.com>

Show Full Headers
Complete Article Headers
Message-ID: <bpc64h$gq0$3@puck.litech.org>
Subject: Re: Moving from timehash to cnfs
Date: Tue, 18 Nov 2003 04:10:57 +0000
From: jeff@litech.org (Jeffrey M. Vinocur)
References: <bpbbbk$s4d$1@newsfeed.nextoneserver.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!border1.nntp.ash.giganews.com!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!news.maxwell.syr.edu!news.litech.org!not-for-mail
Newsgroups: news.software.nntp
Organization: Litech Systems Design
Lines: 38
Sender: jeff@litech.org
NNTP-Posting-Host: puck.litech.org
X-Trace: puck.litech.org 1069128657 17216 66.218.0.75 (18 Nov 2003 04:10:57
 GMT)
X-Complaints-To: usenet@litech.org
NNTP-Posting-Date: Tue, 18 Nov 2003 04:10:57 +0000 (UTC)
X-Newsreader: trn 4.0-test76 (Apr 2, 2001)
Originator: jeff@litech.org (Jeffrey M. Vinocur)