Linux system iNode exhausted hard disk can not write files how to do?

  
                

Linux users find that the space usage is less than 70% when executing the df -h command, and df -hi is executed, and the IUse% value of a certain partition is found to be 100%. In the face of this problem, how can we solve it? This situation shows that there is no space for the inode. Let's take a look at the solution to this problem with Xiaobian.

Solution:

There are a large number of small files distributed two possibilities, one and only one or a few large number of small files in the directory, in which case we can use the following command to come Out of this exception directory:

find /-type d -size +10M

The purpose of this command is to find a directory with a size greater than 10M (the larger the directory size, the more files in the directory) ).

The second possibility is that a large number of small files are distributed in a large number of directories. At this time, the above command may not find an abnormal directory, and the following command is required:

cd /

find */! -type l

Copyright © Windows knowledge All Rights Reserved