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

Re: 2GB File size limit on ext3?


On Tue, 2003-03-11 at 16:06, Junus Djunawidjaja wrote:

> 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"

Looks like perl hasn't been built with large file support on 7.2. ext3
definitely has large file support.

> 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.

"cat" shouldn't be sensitive to the underlying filesystem --- can you
reproduce this?

> Does ext3 have 2GB file size limitation?

No, I regularly use files larer than that under ext3.

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



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