[TriLUG] question about 2 GB file size limitation in Linux

Geoffrey Douglas Purdy gdpurdy at unity.ncsu.edu
Thu Dec 20 14:13:00 EST 2001


John and Jeremy,
Thanks for your replies.  The articles you recommended were very helpful.
I found an option that directs the analysis application to take input from
stdin, and that seems to work fine.  I'll try to find source for the
application and compile it to use LFS support.  If not, using input from
stdin seems like a workable solution.

I appreciate your help,
Geoff




On Thu, 20 Dec 2001, Jon Carnes wrote:

> Here's a great article on Large Filesystem support and Linux:
> http://www.suse.de/~aj/linux_lfs.html
>
> ----- Original Message -----
> >From: "Geoffrey Douglas Purdy" <gdpurdy at unity.ncsu.edu>
> To: <trilug at trilug.org>
> Sent: Thursday, December 20, 2001 11:31 AM
> Subject: [TriLUG] question about 2 GB file size limitation in Linux
>
>
> > I'm running into a problem analyzing large files ( > 2 GB ) under
> > Linux.  The analysis application fails with input files greater than 2
> > GB in size but works on input of 1.9 GB or less.  I hope to identify
> > whether the 2 GB limitation lies at the application level, in the ext2
> > filesystem, or the Linux kernel.
> >
> > I can perform copy, cat, tail operations on files as large as 5 GB
> > without problems so I suspect that the limitation isn't the 2.4 kernel
> > or ext2, however I've seen a "2 GB file size limit in Linux" mentioned
> > frequently.  Does this limit refer only to older kernels?
> >
> > My system is running RH7.1 (2.4.2-2 kernel) with the ext2 filesystem.
> >
> > The error message generated by the application is the following.  The
> > application docs show "FileOpen" as a call to ANSI C "fopen":
> > NOTE: CoreLib [002.003] FileOpen("genomic_seq","r") failed
> >
> > Can I safely chalk this up as an application issue, or might the Linux
> > kernel or fs be at fault?
> >
> > Thanks,
> > Geoff
> >
> > _______________________________________________
> > TriLUG mailing list
> > http://www.trilug.org/mailman/listinfo/trilug
>
> _______________________________________________
> TriLUG mailing list
> http://www.trilug.org/mailman/listinfo/trilug
>




More information about the TriLUG mailing list