Thread View: news.software.nntp
5 messages
5 total messages
Started by jpk
Mon, 15 Oct 2001 22:12
cnfsstats shows unexpected size
Author: jpk
Date: Mon, 15 Oct 2001 22:12
Date: Mon, 15 Oct 2001 22:12
15 lines
1504 bytes
1504 bytes
I set up cnfs with a 17681700KB buffer for alt.binaries on a Solaris 7 raw partition: cycbuff:RDSK1:/dev/rdsk/inn_c0t1d0s6:17681700 Seems to work real well. Only problem is that cnfsstat shows a size of only 883MBytes. So I'm wondering if this buffer is really close to 18GB or if it's only 883MB. And if it's only 883MB, what do I have to do to make it use the whole partition (or close to it). Jim Kunze jkunze@tamerica.com
Re: cnfsstats shows unexpected size
Author: Kjetil Torgrim Homme
Date: Mon, 15 Oct 2001 23:03
Date: Mon, 15 Oct 2001 23:03
21 lines
1813 bytes
1813 bytes
[jpk] > I set up cnfs with a 17681700KB buffer for alt.binaries on a Solaris 7 raw > partition: > > cycbuff:RDSK1:/dev/rdsk/inn_c0t1d0s6:17681700 > > Seems to work real well. Only problem is that cnfsstat shows a > size of only 883MBytes. So I'm wondering if this buffer is really > close to 18GB or if it's only 883MB. And if it's only 883MB, what > do I have to do to make it use the whole partition (or close to > it). cnfsstat is wrong. You probably have a perl which isn't compiled with support for largefiles. 883 MiB is what you get when you only consider the lowest 32 bits ... -- Kjetil T. abusing standards for the greater good http://www.microsoft.com:products@3333866552/
Re: cnfsstats shows unexpected size
Author: Jim Kunze
Date: Tue, 16 Oct 2001 22:48
Date: Tue, 16 Oct 2001 22:48
36 lines
2162 bytes
2162 bytes
Thanks for the clue. I rebuilt perl and installed and also rebuilt inn with largefiles to be sure. Now the numbers look right. Had a little trouble with the existing raw buffer which I wanted to clear out. I did get it cleared using dd, but is there a quick and straightforward way to nuke the existing cnfs buffer header and let it be recreated on startup? Thank you! "Kjetil Torgrim Homme" <kjetilho@haey.ifi.uio.no> wrote in message news:1rlmicbj5m.fsf@fimm.ifi.uio.no... > [jpk] > > > I set up cnfs with a 17681700KB buffer for alt.binaries on a Solaris 7 raw > > partition: > > > > cycbuff:RDSK1:/dev/rdsk/inn_c0t1d0s6:17681700 > > > > Seems to work real well. Only problem is that cnfsstat shows a > > size of only 883MBytes. So I'm wondering if this buffer is really > > close to 18GB or if it's only 883MB. And if it's only 883MB, what > > do I have to do to make it use the whole partition (or close to > > it). > > cnfsstat is wrong. You probably have a perl which isn't compiled with > support for largefiles. 883 MiB is what you get when you only > consider the lowest 32 bits ... > > -- > Kjetil T. abusing standards for the greater good > http://www.microsoft.com:products@3333866552/
Re: cnfsstats shows unexpected size
Author: Russ Allbery
Date: Wed, 17 Oct 2001 00:33
Date: Wed, 17 Oct 2001 00:33
15 lines
1521 bytes
1521 bytes
Jim Kunze <kunzejp@yahoo.com> writes:
> Had a little trouble with the existing raw buffer which I wanted to
> clear out. I did get it cleared using dd, but is there a quick and
> straightforward way to nuke the existing cnfs buffer header and let it
> be recreated on startup?
dd if=/dev/zero of=/path/to/buffer bs=1024 count=1
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: cnfsstats shows unexpected size
Author: jpk
Date: Wed, 17 Oct 2001 15:15
Date: Wed, 17 Oct 2001 15:15
21 lines
1914 bytes
1914 bytes
Thanks - that was my guess. Good to have it confirmed. "Russ Allbery" <rra@stanford.edu> wrote in message news:ylpu7naywp.fsf@windlord.stanford.edu... > Jim Kunze <kunzejp@yahoo.com> writes: > > > Had a little trouble with the existing raw buffer which I wanted to > > clear out. I did get it cleared using dd, but is there a quick and > > straightforward way to nuke the existing cnfs buffer header and let it > > be recreated on startup? > > dd if=/dev/zero of=/path/to/buffer bs=1024 count=1 > > -- > Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/> > > Please post questions rather than mailing me directly. > <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
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