CNFS-sm: CNFSinitdisks ... invalid argument.

"Miquel van Smoorenburg" list-inn-workers at news.cistron.nl
Sat Nov 13 00:24:22 UTC 2004


In article <1100298538.22231.28.camel at bren.lh.net>,
Brendon Colby  <bren at lightedge.com> wrote:
>I've searched for a solution to this for over an hour. I have two
>partitions to use as raw CNFS devices. System is Debian Woody with 2.6.9
>kernel running inn 2.3.2.
>
>cycbuff:BIN1:/var/spool/news/cycbuffs/c0d0p10:87859200
>cycbuff:LP1:/var/spool/news/cycbuffs/c0d0p11:9728000
>metacycbuff:BINARIES:BIN1
>metacycbuff:LARGEPOSTS:LP1
>
>Nov 12 16:19:27 news innfeed[1914]: CNFS-sm: CNFSinitdisks: mmap
>for /var/spool/news/cycbuffs/c0d0p10 offset 0 len -49152 failed: Invalid
>argument

Did you configure and compile INN with large file support ?
(configure --enable-largefiles)

BTW, INN with CNFS appears to work better if you run it on a
file rather than on a partition - pagecache buffering under Linux
appears to be smoother than going through the buffercache.

As a workaround you can use
ftp://ftp.cistron.nl/pub/people/miquels/kernel/v2.6/rawfs-0.8.tar.gz ,
a mini-filesystem that shows a disk device as a single large file.

Mike.

-- 
The From: and Reply-To: addresses are internal news2mail gateway addresses.
Reply to the list or to "Miquel van Smoorenburg" <miquels at cistron.nl>


More information about the inn-workers mailing list