Re: VFS/ext2fs - large files on the Alpha (fails for 17GB+)

Theodore Y. Ts'o (tytso@mit.edu)
Wed, 19 Aug 1998 14:10:37 -0400


Date: Wed, 19 Aug 1998 17:24:18 +1200
From: Chris Wedgwood <chris@cybernet.co.nz>

It appears I am able to create a 16 1/16 GB file - but not 16 1/8 GB
file. Somewhere in between lies a limit or problem...

Now, it seems to me, it should be possible to create files large than
this, even several hundred GD, am I correct?

Yup, you should; if you can't, it's a bug. I just got an Alpha from
Digital (err..., I mean Compaq --- thanks, maddog!) so I should be able
to start testing these things for myself very shortly. (The Alpha first
has to get used as a temporary stand-in for tsx-11.mit.edu while I do a
software upgrade on the current ftp server.)

Do you know if this a problem with a file which is really 16+ GB, or
does it also occur with sparse files? What sort of test program were
you running when you noticed the problem.

P.S. On the Intel, we are restricted to 2GB files because of mm
considerations. But, since we have a 3/1 split, why isn't the
maximum file size 3GB?

The problem is that off_t is a signed integer. Hence, we're limited to
2**31 bytes. It might be possible to kludge in support for 3GB using
llseek, but I wouldn't guarantee that this would work before meditating
deeply on the VM layer --- in case there's another 31-bit
limit/assumption lurking somewhere else in the VM layer.

- Ted

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html