public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: David Chinner <dgc@sgi.com>
To: "Stein M. Hugubakken" <dulci@start.no>
Cc: xfs@oss.sgi.com
Subject: Re: Inode usage
Date: Thu, 19 Apr 2007 23:14:42 +1000	[thread overview]
Message-ID: <20070419131442.GC32602149@melbourne.sgi.com> (raw)
In-Reply-To: <4627283E.7060000@start.no>

On Thu, Apr 19, 2007 at 10:28:46AM +0200, Stein M. Hugubakken wrote:
> Hi!
> 
> I have a lot of free inodes on my xfs-partitions and was wondering about 
> what impact this has on performance or memory?

None.  The number of free inodes is a made up number. ;)

XFS dynamically allocates and frees inodes, so the number of free
inodes is determined by working out how many inodes
could be allocated in the remaining free space you have.
It's a theoretical maximum....

> Here is output from 'df':
> df -ih
> Filesystem            Inodes   IUsed   IFree IUse% Mounted on
> /dev/hda2               5,1M    129K    5,0M    3% /
> /dev/hda3                31M     54K     31M    1% /home
> 
> df -h
> Filesystem            Size  Used Avail Use% Mounted on
> /dev/hda2             5,1G  2,8G  2,4G  55% /
> /dev/hda3              31G   18G   13G  59% /home
> 
> With xfs_growfs -m I can adjust the amount of free inodes, but it seems 
> I can't change it for the root-partition, why is that a problem?

Works for me....

Cheers,

Dave.
-- 
Dave Chinner
Principal Engineer
SGI Australian Software Group

  reply	other threads:[~2007-04-19 13:14 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-19  8:28 Inode usage Stein M. Hugubakken
2007-04-19 13:14 ` David Chinner [this message]
2007-04-19 13:42   ` Daniele P.
2007-04-19 13:50     ` Daniele P.

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070419131442.GC32602149@melbourne.sgi.com \
    --to=dgc@sgi.com \
    --cc=dulci@start.no \
    --cc=xfs@oss.sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox