Thread View: news.software.nntp
4 messages
4 total messages
Started by Joel Turoff
Mon, 13 Jul 1998 00:00
inn 2.0 cfns question (disk setup
Author: Joel Turoff
Date: Mon, 13 Jul 1998 00:00
Date: Mon, 13 Jul 1998 00:00
54 lines
2425 bytes
2425 bytes
Greetings! I am currently trying to upgrade from INN 1.7.2 to the new 2.0 package. I've gone over the INSTALL file, but have some confusion on the best strategy for configuring my disks. I've got a news server that is running BSD/OS 3.1 (with all the patches). Currently, I have the news binaries installed in /usr/news. I have a 740 meg partition mounted on /var/news/etc, which holds all of the config files and the history database, etc. Then I've got a 16 gig spool mounted on /var/news/spool, which holds the articles. (The spool is actually four 4 gig disks spliced into one 16 gig filesystem). Here's the output of df: Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/sd0a 99135 23580 70598 25% / /dev/sd0h 545543 499176 19089 96% /usr /dev/sd0g 396783 126114 250829 33% /var /dev/sd0f 740847 358916 344888 51% /var/news /dev/sp0d 16563064 13843783 1891127 88% /var/news/spool What I would like to do, is install 2.0 and take advantage of the CFNS format, but I am unsure of where to put the pre-configured buffer files. It is also not entirely clear where the articles will be stored with the new format. Will they still be in /var/news/spool? >From the documentation, I can see that the distribution wants to be installed in /usr/local/news. Unfortunately, I don't have enough space on /usr to handle the distribution. Would I be better off doing a newfs on /var/news and mounting it on /usr/local/news. What about the pre-configured buffer files? Should I do a newfs on the 16 gig partition and put the buffer files there? Would the 16 gig spool still be mounted on /var/news/spool? Or should I create a huge 17 gig partition and mount the whole thing on /usr/local/news. Any advice would be greatly appreciated. Joel
Re: inn 2.0 cfns question (disk setup
Author: A
Date: Tue, 14 Jul 1998 00:00
Date: Tue, 14 Jul 1998 00:00
57 lines
2933 bytes
2933 bytes
Joel Turoff wrote: > I am currently trying to upgrade from INN 1.7.2 to the new 2.0 > package. > What I would like to do, is install 2.0 and take advantage of the CFNS > format, but I am unsure of where to put the pre-configured buffer > files. It is also not entirely clear where the articles will be > stored with the new format. Will they still be in /var/news/spool? > > What about the pre-configured buffer files? Should I do a newfs on > the 16 gig partition and put the buffer files there? Would the 16 > gig spool still be mounted on /var/news/spool? Hi Joel, I upgraded to INN 2.0-snapshot on BSDI 3.1 and: 1) Created a 1G partition for /usr/local/news (actually mounted as /n0 with /usr/local/news a symbolic link). 2) Spliced 12G into a single disk partition, newfs with 1024*1024 bytes per inode (newfs -i 1048576) and mounted at /n1. I then created a bunch of < 2G cycbuffs in /n1/cycbuffs. 3) Edit cycbuf.conf and added lines like: cycbuff:B000:/n1/cycbuffs/B000:2000000 cycbuff:B001:/n1/cycbuffs/B001:2000000 4) Changed /etc/fstab to mount /n1 as: /dev/sp0c /n1 ufs rw,async,noaccesstime 0 2 It works a charm. /var/spool/news is not required. Mike Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/sd0a 15855 8689 6373 58% / /dev/sd0h 890807 380683 465583 45% /usr /dev/sd1a 991727 418830 523310 44% /n0 /dev/sp0c 11315973 10506699 243475 98% /n1 $ ls -l /n1/cycbuffs/ total 10506697 -rw-r----- 1 news news 2048000000 Jul 14 21:31 B000 -rw-r----- 1 news news 2048000000 Jul 14 21:31 B001 -rw-r----- 1 news news 2048000000 Jul 14 21:31 B002 -rw-r----- 1 news news 1024000000 Jul 14 21:31 B010 -rw-r----- 1 news news 1024000000 Jul 14 21:31 B011 -rw-r----- 1 news news 1024000000 Jul 14 21:31 B012 -rw-r----- 1 news news 512491520 Jul 14 21:31 B020 -rw-r----- 1 news news 512491520 Jul 14 21:31 B021 -rw-r----- 1 news news 512491520 Jul 14 21:07 B022
Re: inn 2.0 cfns question (disk setup
Author: SO Kwok Tsun
Date: Wed, 15 Jul 1998 00:00
Date: Wed, 15 Jul 1998 00:00
14 lines
1052 bytes
1052 bytes
A <g@quake.net> writes:
>4) Changed /etc/fstab to mount /n1 as:
>/dev/sp0c /n1 ufs rw,async,noaccesstime 0 2
^^^^^
Can anyone comment the potential problem of using async with cycbuffs?
If our traditional spool crashed, we missed a number of articles. If we
crashed a cycbuff, would we lose all articles in that cycbuff? Thanks.
--
Remove -NOSPM- to reply email.
Re: inn 2.0 cfns question (disk setup
Author: Matt Dillon
Date: Wed, 15 Jul 1998 00:00
Date: Wed, 15 Jul 1998 00:00
26 lines
1585 bytes
1585 bytes
:In article <6ohi95$rsf@hpg30a.csc.cuhk.edu.hk>,
:SO Kwok Tsun <ktso@cu-NOSPM-hk.edu.hk> wrote:
:>A <g@quake.net> writes:
:>
:>>4) Changed /etc/fstab to mount /n1 as:
:>
:>>/dev/sp0c /n1 ufs rw,async,noaccesstime 0 2
:> ^^^^^
:>Can anyone comment the potential problem of using async with cycbuffs?
:>If our traditional spool crashed, we missed a number of articles. If we
:>crashed a cycbuff, would we lose all articles in that cycbuff? Thanks.
:>
:>--
:>Remove -NOSPM- to reply email.
I'm not sure async would have any effect since random lseek()/write()'s
to pre-sized files are usually asynchronous anyway.
-Matt
--
Matthew Dillon Engineering, HiWay Technologies, Inc. & BEST Internet
Communications
<dillon@best.net> (Please include original email in any response)
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads