[Zope] LARGE FILE SUPPORT

Bill Anderson bill@libc.org
24 Jul 2001 03:28:33 -0600


On 23 Jul 2001 18:26:14 -0400, marc lindahl wrote:
> 
> 
> >> 1- I'm using Red HAt Linux 6.2 How do I know if it's large-file-capable ?
> >> 
> > I think that large files are only available with Linux 2.4.x kernels,
> > which I think rules out RH6.2 unless you've done something special.
> 
> RH 6.2 comes out of the box with Ext2 file support, which limits individual
> file size to 2GB.... in fact RH7.1 install does the same (though the kernel
> can support other file systems).  Check out

Not True. Once again, (wink) it is the VFS layer, NOT ext2. And
furthermore, it is the ext2 layer on intel 32 bit machines. Any Linux FS
on any kernel less than 2.4, without a special, mostly operational
patch, will not do >2GB files. 

> http://oss.sgi.com/projects/xfs/1.0_release.html for a really good one, and
> easy to use and install.

While I love XFS on Linux, You do not need it to get LF support. it is in the 2.4 kernel's newer VFS.

 
> 
> > 
> > The sure-fire test, of course, is to create a > 2Gb file and try to see
> > its size. If you don't get an accurate reading, your system doesn't do
> > +2Gb files.
> 
> Actually, not a sure fire test, since some of the tools for listing file
> sizes (especially: GNOME) still choke.  From BASH, you can accurately see
> the sizes.

A recompile with the newer glibc and Kernel fixes most of these issues,
though I can not at this time, say it fixes them all.
(I can say I have yet to have any issues with 15 or even 500 GB files on
RH 7.1 with XFS.

Bill