当前基础设备UUID:与存储的UUID不匹配:
Docker发生故障,所以我重新启动服务,服务不启动,我得到以下错误:
error msg="[graphdriver] prior storage driver \"devicemapper\" failed: devmapper: Base Device UUID and Filesystem verification failed: devmapper: Current Base Device UUID: does not match with stored UUID:696f3567-83d7-48d7-9675-688e8543534b. Possibly using a different thin pool than last invocation"
我知道这个问题的解决方法是删除/ var / lib / docker的内容,然后重新启动。
有没有解决scheme或解决此问题而不删除容器数据或图像?
当我在debugging模式下启动泊坞窗时,我得到以下内容:
WARN[0002] devmapper: Usage of loopback devices is strongly discouraged for production use. Please use `--storage-opt dm.thinpooldev` or use `man docker` to refer to dm.thinpooldev section. DEBU[0002] devmapper: activateDeviceIfNeeded() DEBU[0002] devmapper: UUID for device: /dev/mapper/docker-253:1-134790422-base is: DEBU[0002] devmapper: deactivateDevice() DEBU[0002] devmapper: removeDevice START(docker-253:1-134790422-base) DEBU[0002] devmapper: removeDevice END(docker-253:1-134790422-base) DEBU[0002] devmapper: deactivateDevice END() DEBU[0002] devmapper: Error device setupBaseImage: devmapper: Base Device UUID and Filesystem verification failed: devmapper: Current Base Device UUID: does not match with stored UUID:696f3567-83d7-48d7-9675-688e8543534b. Possibly using a different thin pool than last invocation ERRO[0002] [graphdriver] prior storage driver "devicemapper" failed: devmapper: Base Device UUID and Filesystem verification failed: devmapper: Current Base Device UUID: does not match with stored UUID:696f3567-83d7-48d7-9675-688e8543534b. Possibly using a different thin pool than last invocation DEBU[0002] Cleaning up old mountid : start. FATA[0002] Error starting daemon: error initializing graphdriver: devmapper: Base Device UUID and Filesystem verification failed: devmapper: Current Base Device UUID: does not match with stored UUID:696f3567-83d7-48d7-9675-688e8543534b. Possibly using a different thin pool than last invocat
谢谢
最好的祝福
您好,我有同样的问题,解决scheme是用blkid查看/ dev / loop0上的实际UUID
示例/ dev / loop0:UUID =“12345678-e192-482e-81c6-9f703db548b6”TYPE =“xfs”
基础设备configuration在文件(/ var / lib / docker / devicemapper / metadata / deviceset-metadata)中 :
{"next_device_id":1,"BaseDeviceUUID":"**OLD-UUID**","BaseDeviceFilesystem":"xfs"}
只要改变它!
再次启动引擎…你的图像和容器可能已经回到你身上了!
- ImagePullBackOff与Minikube的本地存储库
- 使用Travis CI和Docker进行连续部署
- 如何在Azure容器服务中运行docker-compose并将其部署到代理而不是主服务器?
- Google Container Engine stdout日志不显示
- 用户:目前没有实施在Linux / amd64与golang使用docker从头开始
- 自定义docker-java响应来移除一些像stream一样的logging器
- Docker和Consul:Pinging服务工作,但curl总是返回不能连接到主机错误
- 为什么使用Docker Stack比Docker Compose还要糟糕?
- 如何在离子应用中将ip地址更改为域名