Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

If I make a ext4 filesystem and add about 20% of extra inodes, how would this effect the inode count if later I extend the filesystem? Would the extended filesystem also automatically add an extra 20% inodes? Or would it add a normal amount of inodes? Would the inodes be spread across the filesystem evenly after extending the filesystem?

share|improve this question

1 Answer 1

The number of inodes on ext4 will grow proportionally to number of blocks (in ratio dependent on "-i" flag to mke2fs). See ext4 wiki for details. So if you specified 20% more inodes than default by using "-i ", than yes it would grow by same extra 20% more than default ratio. However, if you specified 20% more inode manually using "-N number-of-inodes", then no, number of inodes would grow only by default ratio.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.