Allocation of Indirect Blocks

Carlos Maiolino cmaiolino at maiolino.org
Mon Jun 13 15:52:48 UTC 2011


Hi Sean,

> Eric Sandeen wrote:
> >On 4/25/11 5:07 PM, Sean McCauliff wrote:
> >>Does ext3 allocate indirect blocks as needed or is there some fixed number of these like inodes?  Should I be concerned with running out of indirect blocks?
> >ext3 allocates them as needed.
> >
> >In fact you will often see them allocated consecutively with the data blocks they refer to:
> >

Not sure if it's an useful comment, but even that ext2/3 uses indirect blocks as needed and you need not care about it while writing to the FS, you'll still need to be careful about the maximum file size, which can be up to 2TiB using default 4k blocks iirc.

Cheers

-- 
-Carlos




More information about the Ext3-users mailing list