Fault analysis
Execute df-h command found that space occupies less than 70%, the implementation of Df-hi, found that a partition iuse% value of 100%, indicating that the inode has been used up, should be in some directories exist a large number of small files caused.
Solving method
There are two possibilities for a large number of small file distributions, one is that there are a large number of small files in one or a few directories, and in this case we can use the following command to find the exception directory:
Find/-type d-size +10m
This command is to find a directory size greater than 10M (the larger the directory size, the more files in the directory are represented).
The second possibility is that a large number of small files are distributed in a large number of directories, at which point the command may not find an exception directory, the following commands are required:
CD/
Find * *! -type L | cut-d/F 1 | Uniq-c
This command is to find out the total number of files in the directory and may need to be performed several times until a specific directory is found. For example, the above command found a large number of small files in the/data directory, but the/data/directory also has a lot of directories, this time we need to continue to execute:
Cd/data
Find * *! -type L | cut-d/F 1 | Uniq-c
Until you find the specific directory.
Fault Summary
To monitor the inode occupancy, and to receive the inode alarm should be used in time to locate the problem, and feedback to the corresponding personnel from the source to solve