Using block device as cnfs buffer under FreeBSD.

Russ Allbery rra at stanford.edu
Tue Mar 6 14:18:58 EST 2007


newsmaster <newsmaster at alkar.net> writes:

> FreeBSD 6.2, inn-2.4.3, compiled with large files support.

> Can I use block device (drive) directly as cnfs buffer? As far as I see, no.

> In errlog:

> innd: SERVER cant initalize storage manager: one or more storage methods failed initialization

> And that's it. How can I see more debug information to be sure that
> problem is in FreeBSD?

news.notice will hopefully have more detailed messages, at least including
the errno information.  Usually the problem is that mmap isn't supported
on block devices (it's somewhat rare for this to be supported).

> Is there any disadvantage using one (or several) big file instead of
> direct drive device?

It may be slightly slower due to the inode overhead, but in practice it's
probably not noticable.

-- 
Russ Allbery (rra at stanford.edu)             <http://www.eyrie.org/~eagle/>

    Please send questions to the list rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.




More information about the inn-workers mailing list