inodes and tree-depth in ext2
Posted
by
David Hagan
on Server Fault
See other posts from Server Fault
or by David Hagan
Published on 2011-01-11T03:37:59Z
Indexed on
2011/01/11
3:56 UTC
Read the original article
Hit count: 333
I have an ext2 filesystem with a maximum number of inodes per directory (somewhere around 32k), and also a maximum number of inodes in the entire filesystem (somewhere around 350m). Because I'm using this filesystem as a datastore for a service that has in excess of 32k objects, I'm distributing those objects between multiple subdirectories (like a dictionary separates A-K and L-Z).
My question is this:
Is there any significance to the tree depth when I'm building these inodes? Is there a significant difference or limitation that's going to affect my service if I choose "/usr/www/service/data/a_k/aardvark" over "/data/a_k/aardvark"?
© Server Fault or respective owner