* Increasing number of inodes after format?
@ 2004-06-08 21:27 Timothy Miller
2004-06-09 0:32 ` Nathan Scott
` (2 more replies)
0 siblings, 3 replies; 7+ messages in thread
From: Timothy Miller @ 2004-06-08 21:27 UTC (permalink / raw)
To: Linux Kernel Mailing List
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?
Thanks.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Increasing number of inodes after format?
2004-06-08 21:27 Increasing number of inodes after format? Timothy Miller
@ 2004-06-09 0:32 ` Nathan Scott
2004-06-09 9:42 ` Jan Kara
2004-06-09 20:07 ` Dave Kleikamp
2 siblings, 0 replies; 7+ messages in thread
From: Nathan Scott @ 2004-06-09 0:32 UTC (permalink / raw)
To: Timothy Miller; +Cc: linux-kernel, linux-xfs
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
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Increasing number of inodes after format?
2004-06-08 21:27 Increasing number of inodes after format? Timothy Miller
2004-06-09 0:32 ` Nathan Scott
@ 2004-06-09 9:42 ` Jan Kara
2004-06-09 10:06 ` Christoph Hellwig
2004-06-09 20:07 ` Dave Kleikamp
2 siblings, 1 reply; 7+ messages in thread
From: Jan Kara @ 2004-06-09 9:42 UTC (permalink / raw)
To: Timothy Miller; +Cc: Linux Kernel Mailing List
> 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?
ReiserFS also does not have any particular limit on the number of inodes
(because it actually does not have any ;).
Honza
--
Jan Kara <jack@suse.cz>
SuSE CR Labs
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Increasing number of inodes after format?
2004-06-09 9:42 ` Jan Kara
@ 2004-06-09 10:06 ` Christoph Hellwig
2004-06-09 16:09 ` Hans Reiser
0 siblings, 1 reply; 7+ messages in thread
From: Christoph Hellwig @ 2004-06-09 10:06 UTC (permalink / raw)
To: Jan Kara; +Cc: Timothy Miller, Linux Kernel Mailing List
On Wed, Jun 09, 2004 at 11:42:18AM +0200, Jan Kara wrote:
> ReiserFS also does not have any particular limit on the number of inodes
> (because it actually does not have any ;).
they're just called stat_data in reiserfs.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Increasing number of inodes after format?
2004-06-09 10:06 ` Christoph Hellwig
@ 2004-06-09 16:09 ` Hans Reiser
0 siblings, 0 replies; 7+ messages in thread
From: Hans Reiser @ 2004-06-09 16:09 UTC (permalink / raw)
To: Christoph Hellwig; +Cc: Jan Kara, Timothy Miller, Linux Kernel Mailing List
Christoph Hellwig wrote:
>On Wed, Jun 09, 2004 at 11:42:18AM +0200, Jan Kara wrote:
>
>
>> ReiserFS also does not have any particular limit on the number of inodes
>>(because it actually does not have any ;).
>>
>>
>
>they're just called stat_data in reiserfs.
>-
>To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
>the body of a message to majordomo@vger.kernel.org
>More majordomo info at http://vger.kernel.org/majordomo-info.html
>Please read the FAQ at http://www.tux.org/lkml/
>
>
>
>
and there is no limit on them, but there is an objectid limit which is
32 bits in V3 and 64 bits in V4.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Increasing number of inodes after format?
2004-06-08 21:27 Increasing number of inodes after format? Timothy Miller
2004-06-09 0:32 ` Nathan Scott
2004-06-09 9:42 ` Jan Kara
@ 2004-06-09 20:07 ` Dave Kleikamp
2004-08-07 17:53 ` Hans Reiser
2 siblings, 1 reply; 7+ messages in thread
From: Dave Kleikamp @ 2004-06-09 20:07 UTC (permalink / raw)
To: Timothy Miller; +Cc: Linux Kernel Mailing List
On Tue, 2004-06-08 at 16:27, 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?
JFS dynamically allocates inodes as needed. An inode extent (consisting
of 32 inodes) will also be freed if all of its inodes are freed.
--
David Kleikamp
IBM Linux Technology Center
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Increasing number of inodes after format?
2004-06-09 20:07 ` Dave Kleikamp
@ 2004-08-07 17:53 ` Hans Reiser
0 siblings, 0 replies; 7+ messages in thread
From: Hans Reiser @ 2004-08-07 17:53 UTC (permalink / raw)
To: Dave Kleikamp; +Cc: Timothy Miller, Linux Kernel Mailing List
Dave Kleikamp wrote:
>On Tue, 2004-06-08 at 16:27, 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?
>>
>>
>
>JFS dynamically allocates inodes as needed. An inode extent (consisting
>of 32 inodes) will also be freed if all of its inodes are freed.
>
>
reiserfs V3 and V4 have stat data not on disk inodes, and they are
dynamically allocated.
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2004-08-07 17:53 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-08 21:27 Increasing number of inodes after format? Timothy Miller
2004-06-09 0:32 ` Nathan Scott
2004-06-09 9:42 ` Jan Kara
2004-06-09 10:06 ` Christoph Hellwig
2004-06-09 16:09 ` Hans Reiser
2004-06-09 20:07 ` Dave Kleikamp
2004-08-07 17:53 ` Hans Reiser
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox