Bug 111407 - Can't stat big (over 2Gb) file in ext2
Can't stat big (over 2Gb) file in ext2
Product: Fedora
Classification: Fedora
Component: filesystem (Show other bugs)
i686 Linux
medium Severity medium
: ---
: ---
Assigned To: Bill Nottingham
Mike McLean
Depends On:
  Show dependency treegraph
Reported: 2003-12-03 05:04 EST by Roger Strandberg
Modified: 2014-03-16 22:40 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2003-12-03 12:59:25 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Roger Strandberg 2003-12-03 05:04:07 EST
Can't stat big file in Fedora Core 1 with ext2 filesystem

if(stat(filename, &filestat))
  printf("unable to stat file %s", filename);

If file is under 2GB then no problem, if file bigger then 
result -1.

I run swapoff -a before.
I have 512Mb Ram 2.4Ghz and Adaptec SATA Raid.
Comment 1 Bill Nottingham 2003-12-03 12:59:25 EST
You need to use stat64, or build with large file support.

Note You need to log in before you can comment on or make changes to this bug.