美文网首页
容器启动异常 devicemapper: Error runni

容器启动异常 devicemapper: Error runni

作者: SailSea | 来源:发表于2021-06-24 12:46 被阅读0次

异常:Cannot create container for service xmq: devicemapper: Error running deviceCreate (CreateSnapDeviceRaw) dm_task_run failed

解决方法:

∘ systemctl stop docker
∘ thin_check --clear-needs-check-flag /var/lib/docker/devicemapper/devicemapper/metadata
∘ thin_check /var/lib/docker/devicemapper/devicemapper/metadata
∘ systemctl start docker

执行记录:

systemctl stop docker

[root@VM-0-2-centos ~]# thin_check --clear-needs-check-flag /var/lib/docker/devicemapper/devicemapper/metadata
examining superblock
TRANSACTION_ID=78
METADATA_FREE_BLOCKS=524287
examining devices tree
examining mapping tree
checking space map counts
[root@VM-0-2-centos ~]# 
[root@VM-0-2-centos ~]# 
[root@VM-0-2-centos ~]# thin_check /var/lib/docker/devicemapper/devicemapper/metadata
examining superblock
TRANSACTION_ID=78
METADATA_FREE_BLOCKS=524287
examining devices tree
examining mapping tree
checking space map counts
[root@VM-0-2-centos ~]# 
[root@VM-0-2-centos ~]# 

systemctl statr docker

参考:https://github.com/docker/for-linux/issues/46
[root@VM-0-2-centos ~]# systemctl start docker

相关文章

网友评论

      本文标题:容器启动异常 devicemapper: Error runni

      本文链接:https://www.haomeiwen.com/subject/dpmdmktx.html