original link: http://www.cnblogs.com/yinxiangpei/articles/4211743.html
@1. generally the first DF to look at, and then CD to the full disk, the execution: Du-shx * This can list all the folder size (x parameter will remove the mount directory, such as samba hanging up the disk, which will interfere with the statistics) in if there are subfolders , continue with the implementation of DU-SHX * first-level
@2. Special case (the file is deleted, but it is occupied by a process, and is still being written) the performance of this scenario is that you cannot find the file that consumes the disk in the 1 method, and Du- Shx The result of the entire disk and the result of DF is very different, it must have been deleted, but the process is occupied, and still writing. Such a deleted file will still occupy the disk, when written, the space naturally dropped, this situation with the previous method is unable to find the file. Method: Lsof | grep deleted so that you can find the deleted files that are still occupied by the process, the process is listed, the related process is restarted again, the space is released.
How to locate and delete files when the Linux disk is full