Re: 2GB File size limit on ext3?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Mar 11, 2003 at 10:06:31AM -0600, Junus Djunawidjaja wrote:
> I'm using RedHat 7.2 with kernel 2.4.18-26.7.xsmp and root mount using
> ext3.
> And I have simple test.pl script:
> #!/usr/local/bin/perl
> open FILE, ">testfile";
> while(1){
>   print FILE "Test.\n" or die $!;
> }
> It's died when the file size is 2147483647
> and give error message: "File size limit exceeded"
> 
> and I run "cat testfile testfile >> testfile2", died at the same
> filesize.
> 
> After that I downgrade the filesystem to ext2.
> The test.pl script still error but the cat command works fine and
> testfile2 can exceed more than 2GB.
> 
> Does ext3 have 2GB file size limitation?

AFAIK, Ext3 can scale to several (4?) terabytes. Whether the utilities can
address up to that amount is another question.

> OOT: do you think I need to recompile my perl to enable large file
> access?

That's probably your best bet. You could try 5.8; more recent releases are
more likely to support large files.

-- 
-- Skylar Thompson (skylar@attglobal.net)
-- http://www.earlham.edu/~thompsk/

Attachment: pgp00023.pgp
Description: PGP signature


[Index of Archives]         [Linux RAID]     [Kernel Development]     [Red Hat Install]     [Video 4 Linux]     [Postgresql]     [Fedora]     [Gimp]     [Yosemite News]

  Powered by Linux