Filesystem Size Used Avail Use% Mounted on
/dev/xvda1 20G 19G 4.0K 100% /
tmpfs 938M 0 938M 0% /dev/shm
/dev/xvdb1 20G 173M 19G 1% /pan2
我用du -h --max-depth=1 / 查看所有文件只占用了1.8G。到底什么原因导致的磁盘100%?
迷茫2017-04-25 09:03:32
df -lh
查看磁盘用量df -i
查看inode用量du -sh |*sort -n
View folder size
After cleaning the disk, you find that the capacity has not been reduced, then reboot
伊谢尔伦2017-04-25 09:03:32
You can use lsof -a | grep delete to check. It may be that some files are not really deleted. Just kill pid.
Note: Root is required
我想大声告诉你2017-04-25 09:03:32
May I ask if the poster has any solution? I am in the same situation as you.