Thread View: news.software.nntp
4 messages
4 total messages
Started by root
Wed, 05 Sep 2001 11:47
dd if=/dev/zero .... and CNFS
Author: root
Date: Wed, 05 Sep 2001 11:47
Date: Wed, 05 Sep 2001 11:47
80 lines
2852 bytes
2852 bytes
hi.
i am a lil bit questioning about CNFS in general and the creation of cycbuff
files in particular.
i did follow all the steps configuring cycbuff except the command to create
the files themselves.
please i need someone to guide me thru the rest of the process (i am
referring to the command dd if=....)
i enclose my storage.conf and cycbuff.conf
thanks in advance
root@surrender.it
storage.conf
#---------------------------------------
method tradspool {
class: 1
newsgroups: gal.*
}
# alt.binaries.*
#---------------------------------------
method cnfs {
class: 2
newsgroups: alt.binaries.*
options: BIN
}
# any>50KB
#---------------------------------------
method cnfs {
class: 3
newsgroups: *
size: 50000
options: LARGE
}
method cnfs {
class: 4
newsgroups: "alt.*"
options: ALTS
}
# silently-trash
#----------------------------------------
method trash {
class: 5
newsgroups: "*pedo*, *pedoph*, *pedof*"
}
# all other - parachute
method tradspool {
class: 6
newsgroups: *
}
#end.
cycbuff.conf
cycbuff:BIN:/usr/local/news/db/export/cycbuffs/bin:20000000
cycbuff:LARGE:/usr/local/news/db/export/cycbuffs/large:10000000
cycbuff:ALTS:/usr/local/news/db/export/cycbuffs/alts:10000000
# cnfs:*:1:0:3999:SMALLAREA
# cnfs:*:2:4000:1000000:BIGAREA
metacycbuff:BIN:BIN
metacycbuffS:LARGE:LARGE
metacycbuff:ALTS:ALTS
Re: dd if=/dev/zero .... and CNFS
Author: root
Date: Wed, 05 Sep 2001 12:42
Date: Wed, 05 Sep 2001 12:42
95 lines
3468 bytes
3468 bytes
this is the error i get, for example....:
dd: /usr/local/news/db/export/cycbuffs/buff01: File too large
65536+0 records in
65535+0 records out
does it mean i have to enlarge the bs?
what's the most correct choice?
<root@surrender.it> wrote in message
news:7hol7.211315$NK1.19224917@bin3.nnrp.aus1.giganews.com...
> hi.
> i am a lil bit questioning about CNFS in general and the creation of
cycbuff
> files in particular.
> i did follow all the steps configuring cycbuff except the command to
create
> the files themselves.
> please i need someone to guide me thru the rest of the process (i am
> referring to the command dd if=....)
> i enclose my storage.conf and cycbuff.conf
> thanks in advance
> root@surrender.it
>
>
> storage.conf
> #---------------------------------------
> method tradspool {
> class: 1
> newsgroups: gal.*
> }
>
>
> # alt.binaries.*
> #---------------------------------------
> method cnfs {
> class: 2
> newsgroups: alt.binaries.*
> options: BIN
> }
>
>
> # any>50KB
> #---------------------------------------
> method cnfs {
> class: 3
> newsgroups: *
> size: 50000
> options: LARGE
> }
>
> method cnfs {
> class: 4
> newsgroups: "alt.*"
> options: ALTS
> }
>
> # silently-trash
> #----------------------------------------
> method trash {
> class: 5
> newsgroups: "*pedo*, *pedoph*, *pedof*"
> }
>
> # all other - parachute
> method tradspool {
> class: 6
> newsgroups: *
> }
>
> #end.
>
>
>
>
> cycbuff.conf
> cycbuff:BIN:/usr/local/news/db/export/cycbuffs/bin:20000000
> cycbuff:LARGE:/usr/local/news/db/export/cycbuffs/large:10000000
> cycbuff:ALTS:/usr/local/news/db/export/cycbuffs/alts:10000000
>
> # cnfs:*:1:0:3999:SMALLAREA
> # cnfs:*:2:4000:1000000:BIGAREA
>
> metacycbuff:BIN:BIN
> metacycbuffS:LARGE:LARGE
> metacycbuff:ALTS:ALTS
>
>
>
>
>
>
Re: dd if=/dev/zero .... and CNFS
Author: Ed Clarke
Date: Wed, 05 Sep 2001 14:04
Date: Wed, 05 Sep 2001 14:04
25 lines
1940 bytes
1940 bytes
On Wed, 05 Sep 2001 12:42:20 GMT, root@surrender.it <root@surrender.it> wrote: >this is the error i get, for example....: >dd: /usr/local/news/db/export/cycbuffs/buff01: File too large >65536+0 records in >65535+0 records out > >does it mean i have to enlarge the bs? >what's the most correct choice? [snip] > >> cycbuff.conf >> cycbuff:BIN:/usr/local/news/db/export/cycbuffs/bin:20000000 >> cycbuff:LARGE:/usr/local/news/db/export/cycbuffs/large:10000000 >> cycbuff:ALTS:/usr/local/news/db/export/cycbuffs/alts:10000000 >> [snip] BIN is 20 million kilobytes, equivalent to a 20GB file. You are probably using an Intel based system that has not been updated to the 2.4 series of kernels AND a glibc with large file support. Your writes are probably failing at the 2GB point. Simplest solution is to use smaller cycbuffs and combine them in the metacycbuff statement.
Re: dd if=/dev/zero .... and CNFS
Author: root
Date: Wed, 05 Sep 2001 14:44
Date: Wed, 05 Sep 2001 14:44
44 lines
2904 bytes
2904 bytes
hello Ed. correct. it is my situation, actually. in your opinion, combining buffers will result in loss of performance? secondary: can you assist me in compiling the cycbuff/storage.conf to reflect the combination? thank you in advance ... root@surrender.it "Ed Clarke" <clarke@news.cilia.org> wrote in message news:slrn9pcc7r.gbk.clarke@news.cilia.org... > On Wed, 05 Sep 2001 12:42:20 GMT, root@surrender.it <root@surrender.it> wrote: > >this is the error i get, for example....: > >dd: /usr/local/news/db/export/cycbuffs/buff01: File too large > >65536+0 records in > >65535+0 records out > > > >does it mean i have to enlarge the bs? > >what's the most correct choice? > [snip] > > > >> cycbuff.conf > >> cycbuff:BIN:/usr/local/news/db/export/cycbuffs/bin:20000000 > >> cycbuff:LARGE:/usr/local/news/db/export/cycbuffs/large:10000000 > >> cycbuff:ALTS:/usr/local/news/db/export/cycbuffs/alts:10000000 > >> > [snip] > > BIN is 20 million kilobytes, equivalent to a 20GB file. You are probably > using an Intel based system that has not been updated to the 2.4 series of > kernels AND a glibc with large file support. Your writes are probably > failing at the 2GB point. > > Simplest solution is to use smaller cycbuffs and combine them in the > metacycbuff statement.
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