xfs
[Top] [All Lists]

Re: How and or do I ensure a system will not run out of inodes?

To: Steve Lord <lord@xxxxxxx>
Subject: Re: How and or do I ensure a system will not run out of inodes?
From: Q A <qarce_mail_lists@xxxxxxxxx>
Date: Thu, 20 Dec 2001 11:11:19 -0800 (PST)
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <1008874699.13614.65.camel@jen.americas.sgi.com>
Sender: owner-linux-xfs@xxxxxxxxxxx
Very cool :-)

Thanks,

Quentin


--- Steve Lord <lord@xxxxxxx> wrote:
> On Thu, 2001-12-20 at 12:55, Q A wrote:
> > Hello,
> > 
> >     I am not on the list so, please :-) reply to all
> so
> > that I may learn from you all.
> > 
> > I think I just saw an ext2 system run out of
> inodes. 
> > I have a large (about 280GB) system I will be
> bringing
> > on line soon with XFS.  It will be a source
> repository
> > system.  I know once the file system is built you
> can
> > not re-define the number of inodes.  For this
> reason,
> > the size of the system, and the large number of
> files
> > that will be created on this system I would like
> to
> > plan.
> > 
> > Is there a formula for determining the number of
> > inodes a system should have based on use, size, fs
> > type?
> > 
> > Thanks for all of your help,
> > 
> > Quentin Arce
> 
> For XFS this is wrong. XFS allocates inodes
> dynamically as you need
> them, there is no mkfs imposed limit. By default 25%
> of the filesystem
> is allowed to be allocated as inodes, you can change
> this limit at
> mkfs time, or you can change it later with
> xfs_growfs. This space
> can be consumed as data and other things too, it is
> not 25% which can
> only be inodes.
> 
> Note that with defaul sizes this allows for 1
> million inodes per Gbyte
> of filesystem space - default size inodes take 256
> bytes each. So unless
> you expect more that 280 million files in your
> filesystem you do not
> need to change anything.
> 
> Steve
> 
> 
> -- 
> 
> Steve Lord                                     
> voice: +1-651-683-3511
> Principal Engineer, Filesystem Software        
> email: lord@xxxxxxx


__________________________________________________
Do You Yahoo!?
Check out Yahoo! Shopping and Yahoo! Auctions for all of
your unique holiday gifts! Buy at http://shopping.yahoo.com
or bid at http://auctions.yahoo.com


<Prev in Thread] Current Thread [Next in Thread>