Article View: news.software.nntp
Article #30416Re: INN 2.1, Solaris 2.6, block disk cnfs problem
From: Jason Cash cash
Date: Tue, 11 Aug 1998 00:00
Date: Tue, 11 Aug 1998 00:00
69 lines
3721 bytes
3721 bytes
In article <35ce3e08.3804269@news.v-wave.com>,
Alan Chan <achan@v-wave.com> wrote:
>Hi,
>
>Actually, I would like to ask for some help from you guys as I read
>from this thread.
>
>Since the installation note of INN2.1 doesn't clearly teach you how to
>set up raw partition to use with CNFS.
>
>I have a Solaris 2.6 box too. I wonder if you guys could give me some
>step by step instruction and examples to setup INN2.1 with Solaris 2.6
>with CNFS on raw partition. I get CNFS running on file base method,
>but I really would like to get it run on raw partition...
>Hope any of you could give me some pointers.
>Thanks in advance, really appreciate any help.
>Alan
If you already have CNFS running on big files in the file system,
you are almost there!
1) create partitions on disks that you want to use for raw cnfs partitions.
use /usr/sbin/format (all commands mentioned are for solaris 2.6). You
have already done this if you have built UFS filesystems to "dd" big files
into. If your disk is larger that 2gbs, you will need to break it up
into several 2gb or less chunks since there does not appear to be
solaris 2.6/2.7 large file support ifdef'd into the code yet.
*NOTE* DO NOT USE CYLINDER 0 OF THE DISKS WHILE CONSTRUCTING RAW
CNFS PARTITIONS! Inn _will_ store info over the partition table of
the disk (see: /usr/include/sys/dklabel.h). ("but newfs doesn't
screw everything up when I use cylinder 0?", newfs knows to not mess
w/ cylinder 0, head 0, sector 0.)
2) Make sure the devices are chowned to the news users. The cycbuff.conf(5)
man page has a way to do this by making new block device files. I was lazy
with my test machine and just used the standard /dev/dsk/cxtydzsn devices.
3) Add the cycbuffs into you cycbuff.conf file. Again, see cycbuff.conf(5)
for information. The entries will be very similar to you "dd"'d file
entries. Some entries on my test system look like:
cycbuff:FAST00a:/dev/dsk/c3t1d0s4:2000000
cycbuff:FAST00b:/dev/dsk/c3t1d0s5:2000000
cycbuff:SLOW01a:/dev/dsk/c1t2d0s5:2000000
cycbuff:SLOW02b:/dev/dsk/c1t3d0s6:700000
The cycbuff.conf(5) man page describes the fields with good detail. (I
sound like a broken record, rtfm, rtfm, rtfm, i know). If you are starting
fresh, you can then remake your history files "makehistory -i" and move the
".n" files to their correct positions (see INSTALL). Makehistory will
complain if the cycbuffs have some problems (permissions, non-existence,
etc).
4) look in /var/adm/messages and the logfile where you are sending the
news.notice messages when you start to see if the cycbuffs are still
screwed. I made probably every mistake one could make the first time I went
through this process, but the error messages logged by syslog or the
complaints made by makehistory pointed me in the correct direction.
Good Luck,
Jason Cash
cash@ee.udel.edu
Technical Details
Message-ID:
<6qpokd$cud$1@ren.eecis.udel.edu>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailReferences:
<slrn6rv6ge.3ok.twells@shell3.shore.net> <6ps3tq$7ke$1@holly.csv.warwick.ac.uk> <6ps6e3$907$1@holly.csv.warwick.ac.uk> <35ce3e08.3804269@news.v-wave.com>Show Full Headers
Complete Article Headers
Message-ID: <6qpokd$cud$1@ren.eecis.udel.edu> Subject: Re: INN 2.1, Solaris 2.6, block disk cnfs problem Date: Tue, 11 Aug 1998 00:00:00 +0000 From: cash@eecis.udel.edu (Jason Cash <cash@ee.udel.edu>=) References: <slrn6rv6ge.3ok.twells@shell3.shore.net> <6ps3tq$7ke$1@holly.csv.warwick.ac.uk> <6ps6e3$907$1@holly.csv.warwick.ac.uk> <35ce3e08.3804269@news.v-wave.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 380084674 Organization: University of Delaware, Newark Newsgroups: news.software.nntp