Thread View: news.software.nntp
3 messages
3 total messages
Started by Russell Virgilio
Mon, 12 Mar 2001 16:56
cnfs setup
Author: Russell Virgilio
Date: Mon, 12 Mar 2001 16:56
Date: Mon, 12 Mar 2001 16:56
49 lines
3334 bytes
3334 bytes
I am experimenting with cnfs, and have reached a snag. I have setup my cycbuffs (cycbuff.conf) and metacycbuffs (cycbuff.conf), as well as storage.conf. When I start rc.news, it doesn't report any errors on the console, but my news.err files shows the following entries. Mar 12 11:45:09 overkill overchan[4644]: [ID 814235 news.error] overchan is running while innd is creating overview data (you can ignore this message if you are running makehistory -F) Mar 12 11:45:09 overkill innfeed[4642]: [ID 771915 news.error] CNFS-sm: file '/var/spool/news/cycbuffs/one' does not exist, ignoring 'ONE' cycbuff ^^^^^^^^^^^^^ problem is it does exist, I made it with the dd command found in the INSTALL file. Here is a ls -la # ls -la /var/spool/news/cycbuffs total 156204692 drwxr-xr-x 2 news news 512 Mar 10 19:22 . drwxr-xr-x 10 news news 512 Mar 12 09:32 .. -rw-rw-r-- 1 news news 20480000000 Mar 10 19:51 five -rw-rw-r-- 1 news news 15360000000 Mar 10 19:47 four -rw-rw-r-- 1 news news 15360000000 Mar 9 14:18 one -rw-rw-r-- 1 news news 15360000000 Mar 9 17:37 three -rw-rw-r-- 1 news news 15360000000 Mar 9 16:33 two Am I missing something in the cnfs process? I am using Solaris 2.8 with 64bit architecture and 256 file descriptors. Here is the rest of the news.err log file. Thanks for any help... -Russell Mar 12 11:45:09 overkill innfeed[4642]: [ID 371779 news.error] SM storage method 'cnfs' failed initialization Mar 12 11:45:09 overkill innfeed[4642]: [ID 292155 news.error] SM one or more storage methods failed initialization Mar 12 11:45:09 overkill innfeed[4642]: [ID 896969 news.error] Storage manager initialization failed Mar 12 11:45:09 overkill innd: [ID 771915 news.error] CNFS-sm: file '/var/spool/news/cycbuffs/one' does not exist, ignoring 'ONE' cycbuff Mar 12 11:45:09 overkill innd: [ID 371779 news.error] SM storage method 'cnfs' failed initialization Mar 12 11:45:09 overkill innd: [ID 292155 news.error] SM one or more storage methods failed initialization Mar 12 11:45:09 overkill innd: [ID 892631 news.crit] SERVER cant initialize the storage subsystem one or more storage methods failed initialization
Re: cnfs setup
Author: Russell Virgilio
Date: Mon, 12 Mar 2001 22:03
Date: Mon, 12 Mar 2001 22:03
60 lines
3960 bytes
3960 bytes
It seems Solaris 2.8 with 64 bit will not accept >2Gig cycbuffs, so I have remidied my own question. It seems I am still having errors though this time inn sees the cycbuffs. This is the error I receive when I run cnfsstat -c ONE, which corresponds to a partition created with this command. dd if=/dev/zero of=/var/spool/news/cycbuffs/one bs=1k count=2097150 Illegal division by zero at /services/server/news/bin/cnfsstat line 289, <STOR> chunk 81. Buffer , size: 0.00 TBytes, position: 0.00 TBytes > I am experimenting with cnfs, and have reached a snag. I have setup my > cycbuffs (cycbuff.conf) and metacycbuffs (cycbuff.conf), as well as > storage.conf. When I start rc.news, it doesn't report any errors on the > console, but my news.err files shows the following entries. > > Mar 12 11:45:09 overkill overchan[4644]: [ID 814235 news.error] overchan > is running while innd is creating overview data (you can ignore this > message if you are running makehistory -F) > Mar 12 11:45:09 overkill innfeed[4642]: [ID 771915 news.error] CNFS-sm: > file '/var/spool/news/cycbuffs/one' does not exist, ignoring 'ONE' > cycbuff > ^^^^^^^^^^^^^ > problem is it does exist, I made it with the dd command found in the > INSTALL file. Here is a ls -la > > # ls -la /var/spool/news/cycbuffs > total 156204692 > drwxr-xr-x 2 news news 512 Mar 10 19:22 . > drwxr-xr-x 10 news news 512 Mar 12 09:32 .. > -rw-rw-r-- 1 news news 20480000000 Mar 10 19:51 five > -rw-rw-r-- 1 news news 15360000000 Mar 10 19:47 four > -rw-rw-r-- 1 news news 15360000000 Mar 9 14:18 one > -rw-rw-r-- 1 news news 15360000000 Mar 9 17:37 three > -rw-rw-r-- 1 news news 15360000000 Mar 9 16:33 two > > Am I missing something in the cnfs process? I am using Solaris 2.8 with > 64bit architecture and 256 file descriptors. Here is the rest of the > news.err log file. Thanks for any help... > -Russell > > Mar 12 11:45:09 overkill innfeed[4642]: [ID 371779 news.error] SM > storage method 'cnfs' failed initialization > Mar 12 11:45:09 overkill innfeed[4642]: [ID 292155 news.error] SM one or > more storage methods failed initialization > Mar 12 11:45:09 overkill innfeed[4642]: [ID 896969 news.error] Storage > manager initialization failed > Mar 12 11:45:09 overkill innd: [ID 771915 news.error] CNFS-sm: file > '/var/spool/news/cycbuffs/one' does not exist, ignoring 'ONE' cycbuff > Mar 12 11:45:09 overkill innd: [ID 371779 news.error] SM storage method > 'cnfs' failed initialization > Mar 12 11:45:09 overkill innd: [ID 292155 news.error] SM one or more > storage methods failed initialization > Mar 12 11:45:09 overkill innd: [ID 892631 news.crit] SERVER cant > initialize the storage subsystem one or more storage methods failed > initialization
cnfsstat error
Author: Russell Virgilio
Date: Tue, 13 Mar 2001 18:08
Date: Tue, 13 Mar 2001 18:08
27 lines
2434 bytes
2434 bytes
Has anyone seen the error below? The only problem I see is I was using /dev/zero as my if= and i had a divide by zero error in the cnfsstat program. I can trace the line number and it seems there are a couple of lines that $len is used as a dividend, but what happens when $len=0? This should be coded into cnfsstat I would think, does anyone have any suggestions as to how to rewrite cnfsstat so it doesn't crash when $len=0. Has anyone else encountered this problem. Can I use a different value for if=/dev/zero and still create the cycbuff files able to be initialized by inn? Am I diagnosing my problem accurately? Thanks for any and all help, I am most grateful to everyone on this newsgroup.... -Russell > It seems Solaris 2.8 with 64 bit will not accept >2Gig cycbuffs, so I have > remidied my own question. It seems I am still having errors though this > time inn sees the cycbuffs. This is the error I receive when I run > cnfsstat -c ONE, which corresponds to a partition created with this > command. > > dd if=/dev/zero of=/var/spool/news/cycbuffs/one bs=1k count=2097150 > > Illegal division by zero at /services/server/news/bin/cnfsstat line 289, > <STOR> chunk 81. > Buffer , size: 0.00 TBytes, position: 0.00 TBytes
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