On Tue, Sep 09, 2003 at 10:22:02AM +1200, Nick Rout wrote:

> hmm looks like not! is there a tool like du to find where these inodes
> are being used up?


To see the available, in use, and total inodes on all mounted 
filesystems (you probably know this, but...):

$ df -i

Finding where (i.e. within which directory) the inodes are being used up 
is a matter of finding where there are a lot of files:

$ for i in $(find /var); do echo $(dirname $i); done | sort | uniq -c
      1 /
     12 /var
     16 /var/backups
      6 /var/cache
      3 /var/cache/apt
    116 /var/cache/apt/archives
      5 /var/cache/debconf
      5 /var/cache/dictionaries-common
      1 /var/cache/locate
     14 /var/cache/man
     ...

There are probably better ways to do it, but the above is a 
Quick'N'Dirty(TM) way to find the source of the problem.

Cheers,
-mjg
-- 
Matthew Gregan                     |/
                                  /|                [EMAIL PROTECTED]

Reply via email to