Re: 2.1.108: file sizes > 2GB with ext2?

Andi Kleen (
Wed, 29 Jul 1998 23:19:53 +0200

On Thu, Jul 30, 1998 at 12:09:37AM +0200, Steven Roberts wrote:
> Andi Kleen wrote:
> > Carlos Carvalho <> writes:
> >
> > > I need a file bigger than 2GB, but apparently there's a limit of
> > > 2147479552 bytes for the file size :-( Is this correct? Is there an
> > > option I can use to have larger files?
> > >
> > > I've seen this as a wishlist for 2.2, but haven't found anything else...
> >
> > Only way is to use a block device directly, or switch to a 64bit platform.
> Seomthing just hit me on this, does this mean ext2 partitions made on a
> 64-bit arch aren't compatible with those made on a 32-bit arch (or is it
> just a in running kernel sizeof(long) limitation)?
> Am shuffling some servers around and was about to move a drive from an
> intel box to an alpha...

They are compatible, because ext2 internally uses 32bit block numbers (and a block
on a normal HD is 512bytes). It is purely a VM limitation.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at