inode question: ext4 and ext3

Eric Sandeen sandeen at redhat.com
Mon Dec 29 17:32:45 UTC 2008


Mag Gam wrote:
> I was curious if ext4 has dynamic inode allocation. Presently, the
> application we run which resides on ext3; we constantly run out of
> inodes because each file is about 2KB but there are millions of them.

ext4 does not currently have dynamic inode allocation, though there has
been some discussion of that.

You can create your filesystem with more inodes from the start, though;
-i bytes-per-inode (-i 2048) should be about right.

> Also, is ext4 going to be a module or has to be compiled into the kernel?

that depends on how you build your kernel, it's a config option.

-Eric




More information about the Ext3-users mailing list