Thread View: news.software.nntp
6 messages
6 total messages
Started by Troy
Thu, 02 Mar 2000 00:00
Inn 2 / CNFS / Large Files
Author: Troy
Date: Thu, 02 Mar 2000 00:00
Date: Thu, 02 Mar 2000 00:00
64 lines
2554 bytes
2554 bytes
Hello!
I am setting up INN 2 on a Debain Linux machine, using CNFS. The
machine has 3 20G drives for the spools, but it won't work.
The startup dies with the error:
Feb 28 10:22:24 neon innd: CNFS-sm: ERROR opening '/export/news1/one'
O_RDONLY : File too large
Feb 28 10:22:24 neon innd: SM storage method 'cnfs' failed
initialization
I used dd to create the files, which are the size of the partition [19G
or so]
Here is how I have storage.conf setup:
method cnfs {
newsgroups: *
class: 0
options: BIGAREA
}
With This in cycbuff.conf:
cycbuff:ONE:/export/news1/one:18713964
cycbuff:TWO:/export/news2/two:18713964
cycbuff:THREE:/export/news3/three:18713964
metacycbuff:BIGAREA:ONE,TWO,THREE
Does somebody know what the limit to the size of the file is under
Linux? I cannot find mention of one in the docs, so I suppose it is OS
Specific, but I don't know how to find/set one.
Here is the rough system info:
news@neon:~$ ulimit -a
core file size (blocks) 0
data seg size (kbytes) unlimited
file size (blocks) unlimited
max locked memory (kbytes) unlimited
max memory size (kbytes) unlimited
open files 1024
pipe size (512 bytes) 8
stack size (kbytes) 8192
cpu time (seconds) unlimited
max user processes 4096
virtual memory (kbytes) unlimited
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/hda1 3215663 2300204 749141 75% /
/dev/hde1 19696192 18713964 0 100% /export/news1
/dev/hdf1 19696192 18713964 0 100% /export/news2
/dev/hdg1 19696192 18713964 0 100% /export/news3
Thanks in advance!
troy
Sent via Deja.com http://www.deja.com/
Before you buy.
Re: Inn 2 / CNFS / Large Files
Author: Russ Allbery
Date: Thu, 02 Mar 2000 00:00
Date: Thu, 02 Mar 2000 00:00
23 lines
1371 bytes
1371 bytes
Brad Knowles <brad@shub-internet.org> writes: > Troy <thanson@my-deja.com> wrote: >> I used dd to create the files, which are the size of the partition [19G >> or so] > I'm not sure you need to create the files with dd. I think INN might do > that for you. No, you need to use dd. >> Does somebody know what the limit to the size of the file is under >> Linux? I cannot find mention of one in the docs, so I suppose it is OS >> Specific, but I don't know how to find/set one. > I think it's 2GB. Yup. ext2fs doesn't support any files larger than that as of yet. -- Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Re: Inn 2 / CNFS / Large Files
Author: Brad Knowles
Date: Thu, 02 Mar 2000 00:00
Date: Thu, 02 Mar 2000 00:00
29 lines
1922 bytes
1922 bytes
In article <89mp4l$8ak$1@nnrp1.deja.com>, Troy <thanson@my-deja.com>
wrote:
> I used dd to create the files, which are the size of the partition [19G
> or so]
I'm not sure you need to create the files with dd. I think INN
might do that for you.
> Does somebody know what the limit to the size of the file is under
> Linux? I cannot find mention of one in the docs, so I suppose it is OS
> Specific, but I don't know how to find/set one.
I think it's 2GB. This is a common limit for OSes that have not
been fully upgraded to support 64-bit features, especially in the
filesystem. Try creating your files as just slightly smaller than 2Gb
and try again.
--
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
Note: No Microsoft programs were used in the creation or distribution of this
message. If you are using a Microsoft program to view this message, be
forewarned that I am not responsible for any harm you may encounter as a
result.
See <http://i-want-a-website.com/about-microsoft/twelve-step.html> for details.
Re: Inn 2 / CNFS / Large Files
Author: Vallo Kallaste
Date: Sun, 05 Mar 2000 00:00
Date: Sun, 05 Mar 2000 00:00
28 lines
1824 bytes
1824 bytes
Troy <thanson@my-deja.com> wrote: > I am setting up INN 2 on a Debain Linux machine, using CNFS. The > machine has 3 20G drives for the spools, but it won't work. > The startup dies with the error: > Feb 28 10:22:24 neon innd: CNFS-sm: ERROR opening '/export/news1/one' > O_RDONLY : File too large > Feb 28 10:22:24 neon innd: SM storage method 'cnfs' failed > initialization > I used dd to create the files, which are the size of the partition [19G > or so] > Does somebody know what the limit to the size of the file is under > Linux? I cannot find mention of one in the docs, so I suppose it is OS > Specific, but I don't know how to find/set one. I've not used Linux for a long time, but the OS specific limit was 2GB. Anyway, I think you are better out with more cycbuffs so you can puzzle with them as your needs are. INN configure has some large files option, don't know what's behind that but you can try that also. -- Vallo Kallaste vallo@matti.ee
Re: Inn 2 / CNFS / Large Files
Author: bill davidsen
Date: Thu, 09 Mar 2000 00:00
Date: Thu, 09 Mar 2000 00:00
28 lines
1855 bytes
1855 bytes
In article <ylg0u9djov.fsf@windlord.stanford.edu>, Russ Allbery <rra@stanford.edu> wrote: | Brad Knowles <brad@shub-internet.org> writes: | > I'm not sure you need to create the files with dd. I think INN might do | > that for you. | | No, you need to use dd. Hum, well no. You need to zero the first part of the file (4k or so), and if you want it to be contiguous you will fill it with zeros unless it's the only file in the filesystem. I admit that my `cycsetup' uses dd instead of bz because the barfzero program isn't common, but if you use the option to initialize cycbuffs in separate filesystems in parallel you will find that /dev/zero is a bit of a cpu hog on some systems (early AIX versions, for instance). Before someone asks, <http://news.prodigy.com/~news/> if you care. -- bill davidsen <davidsen@tmr.com> CTO, TMR Associates, Inc When taking small children to a carnival, always have them go potty *before* you let them go on the rides, and let them eat all the junk food and candy *after*.
Re: Inn 2 / CNFS / Large Files
Author: bill davidsen
Date: Thu, 09 Mar 2000 00:00
Date: Thu, 09 Mar 2000 00:00
19 lines
1454 bytes
1454 bytes
In article <ylg0u9djov.fsf@windlord.stanford.edu>, Russ Allbery <rra@stanford.edu> wrote: | Yup. ext2fs doesn't support any files larger than that as of yet. And it's actually the VM that doesn't, ext2 works fine on large files in the 64 bit versions of Linux. The Alpha and SPARC 64 versions. That *may* be larger in 2.4. Sorry to reply twice to one article, I missed that first time around. -- bill davidsen <davidsen@tmr.com> CTO, TMR Associates, Inc When taking small children to a carnival, always have them go potty *before* you let them go on the rides, and let them eat all the junk food and candy *after*.
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