Announcement

Collapse
No announcement yet.

How to check and see your inode usage

Collapse
This topic is closed.
X
This is a sticky topic.
X
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to check and see your inode usage

    Sometimes your system will throw errors saying that you are out of space. However, when you run the df -h command, no disk usage show up. This may mean that your inodes are filled up. To check this, you can use the following:

    Code:
    df -ih
    When you see where it is filled up, change to that directory and run the following to see what directory is using up the space:

    Code:
    sudo find . -xdev -type f | cut -d "/" -f 2 | sort | uniq -c | sort -n
    From there, you can take the necessary steps to delete unneeded files/directories.

    If this is a cpanel server, the following link may be helpful:
    http://g33kinfo.com/info/archives/3869
    www.AYKsolutions.com
    From Shared to Dedicated
    Professional. Painless. Polite.
Working...
X