Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi,
how is the max filesize limit determined in a ext 3/4 partition.
As per wiki, https://en.wikipedia.org/wiki/Ext3#Size_limits
I understand the relationship between filesystem size and the block size. But not really getting the relationsip between block size and the max size limit of an individual file.
The larger a block, the more pointers to indirect blocks fit in a block. With the diagram at https://en.m.wikipedia.org/wiki/Ext2#Inodes, you should be able to do the math.
Thanks for the reply. But even if the block is not large enough, it can still contain multiple levels to indirect pointers to hold any size of file rite ? It can have indirect, double indirect, triple indirect, so on.....
Ok, I think there is restriction on the no. of indirect block pointers (1..128) in each level.
So if the block size if large, can the inode hold more block pointers than just 3 as show in the diagram ?
Ok, I think there is restriction on the no. of indirect block pointers (1..128) in each level.
So if the block size if large, can the inode hold more block pointers than just 3 as show in the diagram ?
The inode size is not configurable, as far as I know. An inode always has the same number of block pointers, 10 direct, 3 indirect according to the diagram.
There are direct blocks, indirect blocks, double indirect blocks and triple indirect blocks. That's it. No quadruple and so on.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.