Any way around the ext2 2GiB limit?

Matthew J. Brodeur mbrodeur at NextTime.com
Tue Oct 30 15:24:13 EST 2001


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tue, 30 Oct 2001, E. Wiliam Horne wrote:

> "...  there is a serious restriction in that a file in an ext2
> filesystem on hardware
> with 32-bit integers cannot be larger than 2 GiB".
>
> So, the question: is there a way around this, short of making multiple
> TAR files?

   I believe this limitation disappeared (or changed) in the 2.4 kernel.
On a machine with 2.4.9:
[root at localhost root]# dd if=/dev/zero of=test-file bs=1M count=4096
4096+0 records in
4096+0 records out
[root at localhost root]# ls -lh
- -rw-r--r--    1 root     root         4.0G Oct 30 12:07 test-file

   On another machine I managed to create a file of ~70GB while
benchmarking the disks.
   If 2.4 isn't an option, Google seems to indicate that there are (were?)
projects to implement workarounds in 2.2.  This link looks promising:
http://www.suse.de/~aj/linux_lfs.html


- -- 
     -Matt

No problem is so formidable that you can't just walk away from it.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE73wx7c8/WFSz+GKMRAnMgAKCMyub+5y4wA2Xt8RVV7BttjknjTQCffjw6
PlOIyZL6t9+3pdyMaaxQyhk=
=66r2
-----END PGP SIGNATURE-----




More information about the Discuss mailing list