Jump to content


Photo
- - - - -

ext2/ext3


  • Please log in to reply
1 reply to this topic

#1 .solo

.solo

    Gibson Hacker

  • Members
  • 80 posts

Posted 12 July 2010 - 01:02 PM

"The maximum file size for ext2/ext3 is actually dependent on the choice of blocksize and hardware architecture"

Why are the maximum file size and file system size dependent on the block size?

It appears that 4KB is the standard block size in x86; however, ext4 supports larger files and larger file systems with the same block size of 4KB.

Does anyone know the origin of this limitation in ext2/ext3 and/or how they overcame it in ext4?

#2 Olorcain

Olorcain

    I broke 10 posts and all I got was this lousy title!

  • Members
  • 18 posts
  • Gender:Male
  • Location:Muncie, IN

Posted 17 August 2010 - 07:22 PM

From what I understand Ext4 uses "multiblock allocator" (mballoc) which allocates many blocks in a single call, instead of a single block per call is one of the improvements made and through splitting of huge files into smaller "extents" avoids the issues found in ext3 which uses an indirect block mapping scheme.

For a better understanding here one link I found that may help. http://kernelnewbies.org/Ext4




BinRev is hosted by the great people at Lunarpages!