欢迎光临
我们一直在努力

Error starting daemon: error initializing graphdriver: devmapper: Device docker-thinpool is not a thin pool

docker无法启动

Error starting daemon: error initializing graphdriver: devmapper: Device docker-thinpool is not a thin pool

解决方法

删除以上逻辑卷:

lvremove /dev/docker/thinpool

lvremove /dev/docker/thinpoolmeta

查看机器挂载明细

  1. lvdisplay
  2. docker info
  3. lsblk
  4. pvcreate /dev/vdb1
  5. vgcreate docker /dev/vdb1
  6. vgdisplay docker
  7. lvcreate –wipesignatures y -n thinpool docker -l 95%VG
  8. lvcreate –wipesignatures y -n thinpoolmeta docker -l 1%VG
  9. lvconvert -y –zero n -c 512K –thinpool docker/thinpool –poolmetadata docker/thinpoolmeta
  10. vi /etc/lvm/profile/docker-thinpool.profile
  11. lvs -o+seg_monitor
  12. vim /etc/docker/daemon.json
  13. rm -rf /var/lib/docker/*
  14. systemctl daemon-reload
  15. systemctl start docker
  16. docker ps

pvcreate /dev/vdb1

vi /etc/lvm/profile/docker-thinpool.profile

vim /etc/docker/daemon.json

赞(0) 打赏
未经允许不得转载:运维那些事 » Error starting daemon: error initializing graphdriver: devmapper: Device docker-thinpool is not a thin pool

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

微信扫一扫打赏