【随手记录】docker报错Cannot create container for service xxx-app: mkdir /xxx/overlay2/xx-init: no space left on device

项目服务器启动镜像时候报错

Cannot create container for service xxx-app: mkdir /xxx/overlay2/xx-init: no space left on device

但是前几天刚加的2T磁盘,不应该满了 df -h查了下磁盘还有空间

又查了下索引 df -i ,发现索引节点满了

用命令查了下哪个磁盘占的索引节点多:

for i in /xxx/*; do echo $i; find $i |wc -l|sort -nr; done

最后发现有个目录下因为走文件型数据源,最近在切缓存,产生很多缓存图片,占满了磁盘索引
把这部分缓存图片迁移出来即可。

posted @ 2022-09-29 10:07  空知大仙人  阅读(399)  评论(0编辑  收藏  举报