🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
3 messages
3 total messages Started by Vladimir Gabrielescu Mon, 15 Feb 1999 00:00
large raw cycbuffs under Solaris
#35437
Author: Vladimir Gabrielescu
Date: Mon, 15 Feb 1999 00:00
26 lines
1538 bytes
Hi all.

I have inn2.2 built with large file support on a Solaris 5.7 ( or 7 or
whatever they call it today ). I also have a BoxHill 5300+ Hardware
Raid Controler, from which I get a number of partitions. One of them 
is about 10gb and define its cycbuff as such:


cycbuff:RRU:/inn/cycbuff/c1t0d0s1:10485760


However at startup time I get :

stringer.rutgers.edu innd: CNFS-sm: Mismatch: read 0x7fb1b800 length for cycbuff /inn/cycbuff/c1t0d0s1
Feb 15 12:41:20 stringer.rutgers.edu innd: SM storage method 'cnfs' failed initialization
Feb 15 12:41:20 stringer.rutgers.edu innd: SM one or more storage methods failed initialization
Feb 15 12:41:20 stringer.rutgers.edu innd: SERVER cant initialize the storage subsystem one or more storage methods failed initialization

Note that 0x7fb1b800 is about 2TB so it seems a bit odd to me.

Anyone has any experiences running large raw disk partitions as cycbuffs
under Solaris??

Vlad

Re: large raw cycbuffs under Solaris
#35460
Author: harik
Date: Tue, 16 Feb 1999 00:00
32 lines
1952 bytes
In article <7a9mba$q39$1@lochaber.rutgers.edu>,
	vgabriel@lochaber.rutgers.edu (Vladimir Gabrielescu) writes:
> Hi all.
> 
> I have inn2.2 built with large file support on a Solaris 5.7 ( or 7 or
> whatever they call it today ). I also have a BoxHill 5300+ Hardware
> Raid Controler, from which I get a number of partitions. One of them 
> is about 10gb and define its cycbuff as such:
> 
> 
> cycbuff:RRU:/inn/cycbuff/c1t0d0s1:10485760
> 
> 
> However at startup time I get :
> 
> stringer.rutgers.edu innd: CNFS-sm: Mismatch: read 0x7fb1b800 length for cycbuff /inn/cycbuff/c1t0d0s1

You'll want to zero out that partition.  If it's completely null, innd
assumes it's new and generates headers.  Otherwise, it reads info from
the file/partition and matches it to what you have configured (keeps
you from accidentally swapping cycbuffs around.)

I don't know if you need to zero the entire 10gig... with filesystem based
CNFS buffers I used sparse files to start them (as a bonus, let me watch
how fast they filled up the first cycle as a group)

Probably zeroing the first few meg would be good enough... although
you may want to nuke the whole thing to make sure.

--Dan

Re: large raw cycbuffs under Solaris
#35481
Author: Aad Boer
Date: Wed, 17 Feb 1999 00:00
25 lines
1585 bytes
Vladimir Gabrielescu wrote:
> 
> Hi all.
> 
> I have inn2.2 built with large file support on a Solaris 5.7 ( or 7 or
> whatever they call it today ). I also have a BoxHill 5300+ Hardware
> Raid Controler, from which I get a number of partitions. One of them
> is about 10gb and define its cycbuff as such:
> 
> cycbuff:RRU:/inn/cycbuff/c1t0d0s1:10485760
> 
> However at startup time I get :
> 
> stringer.rutgers.edu innd: CNFS-sm: Mismatch: read 0x7fb1b800 length for cycbuff /inn/cycbuff/c1t0d0s1

Max. cycbuff for Solaris 2.7 (mmap) is 2048000 (2GB)
Don't use Cylinder 0 (format)
Zero the partition: /usr/bin/dd if=/dev/zero of=/cycbuff/c2t0d0s5
count=1000
ls -l /cycbuff/c2t0d0s5
brw-rw-r--   1 news     news      32,245 Feb 17 16:36 /cycbuff/c2t0d0s5

Aad Boer

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