Find the answer to your Linux question:
Results 1 to 4 of 4
Hello, on a Debian server (running Squeeze) I have around 80% of a total of 200.000 inodes occupied. Which tools (command line only) can I used to monitor, trace and ...
  1. #1
    Linux Newbie
    Join Date
    Dec 2008
    Location
    Luxembourg
    Posts
    130

    Tools for inodes management.

    Hello,

    on a Debian server (running Squeeze) I have around 80% of a total of 200.000 inodes occupied.

    Which tools (command line only) can I used to monitor, trace and maintain inodes ?

    Filesystem is ext3.

    Thanks.
    Bruno

  2. #2
    Linux Guru Lakshmipathi's Avatar
    Join Date
    Sep 2006
    Location
    3rd rock from sun - Often seen near moon
    Posts
    1,568
    I'm not aware of specific inode management tools -But you can use tune2fs (tune2fs -l <root-device>) - write a script around its output. (look for entries like Inode Count and Free Inodes)
    Last edited by Lakshmipathi; 08-04-2011 at 07:52 AM. Reason: typo
    - Lakshmipathi.G
    -------------------
    FOSS India Award winning ext3fs Undelete tool and tutorials www.giis.co.in
    First they criticize you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
    -------------------

  3. #3
    Linux Guru Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    2,096
    For a quick look or to be used in a monitoring script:
    Code:
    df -i
    You must always face the curtain with a bow.

  4. #4
    Linux Newbie
    Join Date
    Dec 2008
    Location
    Luxembourg
    Posts
    130
    df -i returns :

    Filesystem Inodes IUsed IFree IUse% Mounted on
    tmpfs 131072 5 131067 1% /lib/init/rw
    tmpfs 131072 1 131071 1% /dev/shm
    /dev/simfs 200000 157477 42523 79% /

    But how to check where are all these inodes consumed ?


    This system is rather light on usage and applications installed, and so I cannot see where and understand why there is around 80% of inodes used.

    The activity and load looks light :

    df -h returns :
    Filesystem Size Used Avail Use% Mounted on
    tmpfs 512M 0 512M 0% /lib/init/rw
    tmpfs 512M 0 512M 0% /dev/shm
    /dev/simfs 20G 3.0G 18G 15% /

    free -m returns:
    total used free shared buffers cached
    Mem: 1024 544 479 0 0 0
    -/+ buffers/cache: 544 479
    Swap: 0 0 0


    Thanks.
    Bruno

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •