• Re: Best spool for an archive server

    From aw@aw@somewhere.invalid (Adam W.) to news.software.nntp on Mon Apr 13 14:03:19 2026
    From Newsgroup: news.software.nntp

    Adam W. <aw@somewhere.invalid> wrote:

    No, not with ZFS. I created ext4 buffer, but I didn't get to the stage of actually injecting articles yet (I'm keeping them in a large file with a simple, custom format now, and I'm still trying to source some archives to merge into it). It's a side project that's been postponed now due to other things... But I didn't forget about it.

    Some time has passed, and the server is online now
    (news-archive.chmurka.net, port 121 -- port is important, as the IP is currently shared with news.chmurka.net, so there's a normal news server on port 119).

    I tried with tradspool first, but after several millions of articles I
    started getting some weird errors regarding symlinking files ("could not create symlink", I don't remember the issue exactly now). I switched to timehash and it seems to have fixed the issue.

    It's just ext4 made with:

    mkfs.ext4 -b 1024 -i 1024 -I 128 -m 0 -O dir_index,large_dir /dev/nbd0

    [newsarch@fna ~]$ df -h /mnt/fna
    Filesystem Size Used Avail Use% Mounted on
    /dev/nbd0 171G 120G 52G 70% /mnt/fna

    [newsarch@fna ~]$ df -ih /mnt/fna
    Filesystem Inodes IUsed IFree IUse% Mounted on
    /dev/nbd0 196M 38M 158M 20% /mnt/fna

    Perhaps I could've used a larger inode ratio, but it is how it is now.

    Seems to work fine.
    --- Synchronet 3.21f-Linux NewsLink 1.2