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?
Thanks,
Sean
_______________________________________________
Ext3-users mailing list
Ext3-users@redhat.com
https://www.redhat.com/mailman/listinfo/ext3-users
04-25-2011, 10:13 PM
Eric Sandeen
Allocation of Indirect Blocks
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:
... and so on (IND/DIND are indirect & double indirect blocks).
-Eric
> Thanks,
> Sean
_______________________________________________
Ext3-users mailing list
Ext3-users@redhat.com
https://www.redhat.com/mailman/listinfo/ext3-users
04-25-2011, 10:15 PM
Sean McCauliff
Allocation of Indirect Blocks
Cool.
Thanks,
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:
... and so on (IND/DIND are indirect & double indirect blocks).
-Eric
Thanks,
Sean
_______________________________________________
Ext3-users mailing list
Ext3-users@redhat.com
https://www.redhat.com/mailman/listinfo/ext3-users
06-13-2011, 03:52 PM
Carlos Maiolino
Allocation of Indirect Blocks
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
_______________________________________________
Ext3-users mailing list
Ext3-users@redhat.com
https://www.redhat.com/mailman/listinfo/ext3-users