重启容器,提示structures needs cleaning

现象:重启容器,提示mkdir /home/docker :structures needs cleaning

操作:进入/home目录,ll。提示结构需要清理

 

第一次服务器重启后,对/home目录做过umount。当时容器就可以重启了。

但是第二次服务器重启后,问题重复出现。

这一次,先umount,再xfs_respair(home目录是xfs文件系统)。容器可用

具体操作步骤:

#umount 文件系统

#xfs_repair 文件系统

#reboot 

因为是在/home目录,不需要重新挂载。

 

你可能感兴趣的:(运维)