Any way around the ext2 2GiB limit?
Jerry Feldman
gaf at blu.org
Wed Oct 31 08:22:03 EST 2001
I had the same problem when backing up my wife's system. Although I
am now on a 2.4 kernel, when I bought my wife a new system, I decided
to use rsysnc and just maintain a mirror of her system.
On 30 Oct 2001, at 15:24, Matthew J. Brodeur wrote:
> -----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-----
>
> _______________________________________________
> Discuss mailing list
> Discuss at blu.org
> http://www.blu.org/mailman/listinfo/discuss
Jerry Feldman <gaf at blu.org>
Associate Director
Boston Linux and Unix user group
http://www.blu.org
More information about the Discuss
mailing list