2GB limit for ext2?

2GB limit for ext2?

Post by Rob Dal » Sun, 15 Mar 1998 04:00:00



I read a post by someone (can't remember where/who), that said ext2 has
a 2GB limit. Is this right?  If so, what do I format my 4GB drive to?

Rob Dale

 
 
 

2GB limit for ext2?

Post by Veksler Micha » Sun, 15 Mar 1998 04:00:00



>  I read a post by someone (can't remember where/who), that said ext2 has
>  a 2GB limit. Is this right?  If so, what do I format my 4GB drive to?

It's the Linux file size limit, not the ext2 file system limit.
Fseek uses 32 bit signed int and that limits files to 2GB.

Although I never tried it, it seems that you can make a single 4GB partition.

BTW it is recommended to have separate partitions for
/ /home /tmp /usr /opt (or /usr/local).
This will force you to use partitions smaller than 4GB anyway...

Michael

 
 
 

2GB limit for ext2?

Post by Frank Sweetse » Sun, 15 Mar 1998 04:00:00



> I read a post by someone (can't remember where/who), that said ext2 has
> a 2GB limit. Is this right?  If so, what do I format my 4GB drive to?

the 2G limit is for individual files only (and soon won't apply to the 2.1
kernels on 64 bit machines! :)  the filesystem can be up to 4T in size, so
4G will be easy.

--
Frank Sweetser rasmusin at wpi.edu fsweetser at blee.net | PGP key available
paramount.res.wpi.net RH 5.0 kernel 2.0.33/2.1.90p2 i586 | at public servers
We are Pentium of Borg. Division is futile. You will be approximated.
(seen in someone's .signature)

 
 
 

2GB limit for ext2?

Post by Johannes Blankenste » Sun, 15 Mar 1998 04:00:00




Quote:> I read a post by someone (can't remember where/who), that said ext2 has
> a 2GB limit. Is this right?  If so, what do I format my 4GB drive to?

As far as I know has the ext2-filesystem no 2 GB limit. The limit is
somewhere in the Terrabyte. The only limit is that a file cant be
bigger than 2GB.

        Hannes

--
Johannes Blankenstein; Berlin; Germany


 
 
 

2GB limit for ext2?

Post by Christopher B. Brow » Mon, 16 Mar 1998 04:00:00


On Sat, 14 Mar 1998 22:08:20 GMT, Johannes Blankenstein



>> I read a post by someone (can't remember where/who), that said ext2 has
>> a 2GB limit. Is this right?  If so, what do I format my 4GB drive to?

>As far as I know has the ext2-filesystem no 2 GB limit. The limit is
>somewhere in the Terrabyte. The only limit is that a file cant be
>bigger than 2GB.

And that limitation is, of course, because you can't reliably seek() to a
location larger than 2^31-1, which happens to be 1 byte short of 2GB.  This
is because seek() is specified to use 32 bit integers.

It is possible that one might be able to construct files larger than that,
and read/write them successfully; just don't expect to be able to "seek()"
within them.  The further "danger" is that some file operations may
implicitly do a seek() behind your back...

If I had a 4GB drive, I'd try building a 3GB file, and see what
works/fails-to-work.  I would expect that things might break down somewhat
but not completely after 2GB.

There have been proposals on how to move on to "64 bit" support within the
"Real UNIX" realm; nothing has yet been fully standardized.

--
Those who do not understand Unix are condemned to reinvent it, poorly.  
-- Henry Spencer          <http://www.hex.net/~cbbrowne/lsf.html>

 
 
 

2GB limit for ext2?

Post by Bud Roger » Mon, 16 Mar 1998 04:00:00



> I read a post by someone (can't remember where/who), that said ext2 has
> a 2GB limit. Is this right?

Man, I hope not.

Filesystem         1024-blocks  Used Available Capacity Mounted on
        [...]
/dev/sdb1            4289431  964910  3102570     24%   /home

--


 
 
 

2GB limit for ext2?

Post by Alex Hafe » Wed, 18 Mar 1998 04:00:00


Likewise,

I'm not sure what the limit is but this serves as an example:


Filesystem         1024-blocks  Used Available Capacity Mounted on
/dev/hda1            1365495  678221   616716     52%   /
/dev/md0             42929039 12789994  27873081     31%   /var/news/spool

Anyone know what the limit is?

Cheers,
Alex.

 
 
 

1. 2GB file size limit on EXT2?

EXT2 fs seems to only be able to address files up to 2GB in size, and I
get a ext2-fs error when I try to create a larger file.  Is there any
way to get around this?  Does Linux support _stable_ read and write
support for some other FS that doesnt have this limit? Whats up wit'
dat?

I'm planning a two hundred twenty two gig file server at work.  I'd like
to use a dual Celeron system with eight 37GB IDE disks and Linux
Software RAID5.  I need to be able to manipulate files larger than 2GB
though...  Suggestions?

Please respond via _email_ as I dont check this NG often.

Thanks!!

--
Smith & Wesson... The original Point-N-Click interface.

2. Anyone get Shadow 3.1.4 to work under Ultrix4.3?

3. 2GB ext2 filesize limit applies to tape backup?

4. MTU size for PPP

5. fsck.ext2 and md drives > 2Gb?

6. SOSUG#4 - Monday October 17

7. ext2 and 2GB+ files

8. Compound-document architectures? OpenDoc clones?

9. ext2 particion > 2GB

10. >2GB files when? (ext2)

11. 2GB limit on file size

12. 2Gb Filesize Limit

13. Does a patch exist to override the 2GB vfat limit on 2.4.21?