一。操作报错 no space left on device。但是查看系统磁盘占用空间,却还有空闲,说明是inodes占用满了。
二。查看磁盘系统的inodes使用情况
![](https://img-blog.csdnimg.cn/img_convert/d501f1184be6fd38b3d31c3df8764a6e.png)
三。要解决这问题,只需找出,并且删除创建多个文件的目录或者文件即可,例如找下/data目录下有多少文件
![](https://img-blog.csdnimg.cn/img_convert/bb58c3a8b81e9a50896bced6ade990b2.png)
四:然后删除多的目录下文件.上面以/data/services为例子。
# find /data/services/* -name '*.*' -type f|xargs -i rm -rf {}
![](https://img-blog.csdnimg.cn/img_convert/e85303d67f67cce5ac5ff91c3b309202.png)
五。再次查看系统的inodes使用情况,df -i