🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #30237

Re: INN 2.1, Solaris 2.6, block disk cnfs problem

#30237
From: Jon Harley
Date: Fri, 31 Jul 1998 00:00
45 lines
2853 bytes
twells@shell3.shore.net (Tabor J. Wells) writes:
 Jon Harley <Jon.Harley@warwick.ac.uk> wrote:
   twells@shell3.shore.net (Tabor J. Wells) writes:
>>>I'm trying to make my test installation of INN 2.1 use cnfs with
>>>block disk devices on Solaris 2.6 with no success. Basically everytime
>>>I start up the news server, the labels on the cnfs spool disks get
>>>corrupted and I have to repartition them again.

>>The disk label is stored in the first cylinder of the disk. You must
>>make the first partition you want to use for CNFS start at the
>>second cylinder.

>Thanks for the info. I actually tried that just after posting, and that
>does keep the partition table from being blown away, but I get errors
>like:
>
>Jul 30 16:05:47 server makehistory[609]: CNFS-sm: Mismatch: read 0x115ba000 
>length for cycbuff /home/news/cycbuffs/c1t0d0s0

>The appropriate line from my cycbuff.conf:
>cycbuff:SPOOL01:/home/news/cycbuffs/c1t0d0s0:2098304
>
>I know I'm missing something obvious here, but I can't for the life of me
>figure out what. :)

Firstly, having made the partition a cylinder shorter, is the size
figure in cycbuff.conf still OK or should it be less?

Secondly, because you've already stored some stuff in that cycbuf,
there is data at the start of the cycbuf partition which the storage
manager is trying to interpret as its own data structures. Take innd
down (if it is up!), copy at least 3600 zeroes into the start of that
partition (from /dev/null or using the C program I posted to this
newsgroup last week), restart innd and it will reinitialise its
data structures at the new start of the partition.


/jon
-- 
______________________________________________________________________________
Dr JW Harley               J.W.Harley@warwick.ac.uk                IT Services
Phone: 01203 524217       UNIX/Networking Consultant     University of Warwick
See  http://www.warwick.ac.uk/J.W.Harley/  for fax number, address and PGP key

Technical Details
Message-ID: <6ps3tq$7ke$1@holly.csv.warwick.ac.uk>
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
References: <slrn6rv6ge.3ok.twells@shell3.shore.net> <6ppikm$r0t$1@holly.csv.warwick.ac.uk> <slrn6s1t88.3ok.twells@shell3.shore.net>

Show Full Headers
Complete Article Headers
Message-ID: <6ps3tq$7ke$1@holly.csv.warwick.ac.uk>
Subject: Re: INN 2.1, Solaris 2.6, block disk cnfs problem
Date: Fri, 31 Jul 1998 00:00:00 +0000
From: Jon.Harley@warwick.ac.uk (Jon Harley)
References: <slrn6rv6ge.3ok.twells@shell3.shore.net> <6ppikm$r0t$1@holly.csv.warwick.ac.uk> <slrn6s1t88.3ok.twells@shell3.shore.net>
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: 376627803
Distribution: inet
X-Complaints-To: abuse@csv.warwick.ac.uk
X-Trace: holly.csv.warwick.ac.uk 901878522 7822 137.205.192.26 (31 Jul 1998 09:48:42 GMT)
Organization: University of Warwick, UK
NNTP-Posting-Date: 31 Jul 1998 09:48:42 GMT
Newsgroups: news.software.nntp