Using block device as cnfs buffer under FreeBSD.
newsmaster at alkar.net
newsmaster at alkar.net
Wed Mar 7 05:33:10 EST 2007
На Tue, 06 Mar 2007 11:18:58 -0800
Russ Allbery <rra at stanford.edu> записано:
> 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).
I'm sorry, there was a little problem with syslog configuration. Now I see:
innd: CNFS-sm: CNFSinitdisks: mmap for /dev/da3s1 offset 0 l
en 131072 failed: Invalid argument
What does it mean?
>
> > 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.
>
--
С уважением,
Сергей Чумаков
системный администратор ISP Оптима Телеком
More information about the inn-workers
mailing list