🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #92006

Re: Switching INN 2 storage format

#92006
From: Julien ÉLIE
Date: Fri, 14 Feb 2025 19:55
33 lines
2628 bytes
Salut Tanguy,

> Therefore, I am considering switching to a news storage format more
> suitable with a CoW filesystem. I think the best option would be
> timehash, any thoughts on that?

If you are looking for a news storage format writing one article per 
file, either timehash or tradspool could be used.


> As I understand it, switching storage format for /new/ articles can
> simply be done by simply adding the new storage backend in first
> position in storage.conf, can it not?

Exactly.  The first matching class found in the storage.conf file is 
used.  You'll have to restart innd to take the modified file into account.


> I do not plan on migrating existing articles, but simply to wait for
> them to expire since there does not seem to exist any simple migration
> procedure. But if someone knows a way to do so, I could be interested.

There is a program named "respool" in the contrib directory 
<https://github.com/InterNetNews/inn/blob/main/contrib/respool.c> but I 
have never used it so I do not know whether it works fine.  Use at your 
own risk!  :-)

-- 
Julien ÉLIE

« – Dis Astérix ! Quelle salade pour un peu d'huile !
   – Oui, et dépêchons-nous de trouver un guérisseur avant que ça ne
     tourne au vinaigre. » (Astérix)
Technical Details
Message-ID: <voo745$5sgj$2@news.trigofacile.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!apf8.newsdeef.eu!nnrp.usenet.blueworldhosting.com!!spool1.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!weretis.net!feeder8.news.weretis.net!news.trigofacile.com!.POSTED.2001:861:3f82:d7c0:9c00:5756:c897:5b82!not-for-mail
References: <vofpbq$pmf$1@herbert.ortolo.eu>

Show Full Headers
Complete Article Headers
Message-ID: <voo745$5sgj$2@news.trigofacile.com>
Subject: Re: Switching INN 2 storage format
Date: Fri, 14 Feb 2025 20:55:49 +0100
From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid>
References: <vofpbq$pmf$1@herbert.ortolo.eu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!apf8.newsdeef.eu!nnrp.usenet.blueworldhosting.com!!spool1.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!weretis.net!feeder8.news.weretis.net!news.trigofacile.com!.POSTED.2001:861:3f82:d7c0:9c00:5756:c897:5b82!not-for-mail
Newsgroups: news.software.nntp
Organization: Groupes francophones par TrigoFACILE
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 14 Feb 2025 19:55:49 -0000 (UTC)
Injection-Info: news.trigofacile.com; posting-account="julien"; posting-host="2001:861:3f82:d7c0:9c00:5756:c897:5b82";
 logging-data="193043"; mail-complaints-to="abuse@trigofacile.com"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:AKsjUXoMOTxkqA+w0mi2aogHXTU= sha256:58Z+SOz7UH4C0Leeww8pXI/h+6yQ0foE3w8wBstFX+c=
In-Reply-To: <vofpbq$pmf$1@herbert.ortolo.eu>