Re: Increasing number of inodes after format?

Nathan Scott
2004-06-09T00:33:07Z

On Tue, Jun 08, 2004 at 05:27:11PM -0400, Timothy Miller wrote:
> I was involved in a discussion a while back where it was explained that
> ext2/3 allocate a certain maximum number of inodes at format time, and
> you cannot increase that number later.
>
> It was also mentioned that one or more of the journaling file systems
> (XFS, JFS, Reiser, etc.) either dynamically allocated inodes or could
> increase the maximum later if the pre-allocated set got used up.
>
> Could someone please repeat for me which filesystems have dynamic
> maximum inode counts?

XFS does dynamic inode allocation, there is no preallocated set.
Steve also recently implemented dynamic space reclaim for ondisk
inode clusters too, once they're no longer used. XFS puts a cap
on the amount of space that can be used for inodes at mkfs time
(25% iirc), and this can be adjusted later via "xfs_growfs -m".

I don't know enough about the other filesystems to answer for them
though.

cheers.

--
Nathan