Linux—磁盘管理

inode爆满解决方案

出现这种情况,是小文件占用较多的inode,创建文件或目录占用一个inode,通常这些小文件是定时任务引起的,删除需慎重。

1、查看inode使用情况

[root@localhost ~]# df -i

2、删除部分文件

find /tmp -type f -exec rm {} ;              # 删除临时文件(必要的时候删除)
find /tmp -type f -size 0 -exec rm {} ;      # 删除空白文件(0字节的文件)

  

https://www.cnblogs.com/new-journey/p/10076387.html

https://www.cnblogs.com/jiangxiaoxian/p/9610903.html

https://blog.csdn.net/youmatterhsp/article/details/80382552

https://www.cnblogs.com/sunlizhao/p/9610300.html

https://www.cnblogs.com/along21/p/7410619.html

原文地址:https://www.cnblogs.com/liuhaidon/p/11867989.html