error initializing graphdriver: devmapper: Base Device UUID and Filesystem verif
1.docker服務啟動報錯(此錯誤資訊是因為docker配置檔案與loop磁碟的UUID不一至導致)
[root@ecsnode03 ifly]# journalctl -u docker -f
-- Logs begin at Wed 2019-12-11 22:59:33 CST. --
Dec 11 22:59:40 ecsnode03 systemd[1]: Starting Docker Application Container Engine...
Dec 11 22:59:41 ecsnode03 dockerd[1226]: time="2019-12-11T22:59:41.063315645+08:00" level=info msg="libcontainerd: new containerd process, pid: 1755"
Dec 11 22:59:42 ecsnode03 dockerd[1226]: time="2019-12-11T22:59:42.281844881+08:00" level=warning msg="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."
Dec 11 22:59:42 ecsnode03 dockerd[1226]: time="2019-12-11T22:59:42.326215305+08:00" level=error msg="[graphdriver] prior storage driver \"devicemapper\" failed: devmapper: Base Device UUID and Filesystem verification failed: devmapper: Current Base Device UUID:304bc993-f955-4043-b2f8-637b26564757 does not match with stored UUID:55f465c2-a746-4c74-a4d4-ab10cdca595c. Possibly using a different thin pool than last invocation"
Dec 11 22:59:42 ecsnode03 dockerd[1226]: time="2019-12-11T22:59:42.326351360+08:00" level=fatal msg="Error starting daemon: error initializing graphdriver: devmapper: Base Device UUID and Filesystem verification failed: devmapper: Current Base Device UUID:304bc993-f955-4043-b2f8-637b26564757 does not match with stored UUID:55f465c2-a746-4c74-a4d4-ab10cdca595c. Possibly using a different thin pool than last invocation"
Dec 11 22:59:42 ecsnode03 systemd[1]: docker.service: main process exited, code=exited, status=1/FAILURE
Dec 11 22:59:42 ecsnode03 systemd[1]: Failed to start Docker Application Container Engine.
Dec 11 22:59:42 ecsnode03 systemd[1]: Unit docker.service entered failed state.
Dec 11 22:59:42 ecsnode03 systemd[1]: docker.service failed.
2.排查方法及處理過程
(1).檢查docker資料存放目錄
[root@ecsnode03 ~]# vim /usr/lib/systemd/system/docker.service
[root@ecsnode03 ~]# vim /data/docker-mapper/devicemapper/metadata/deviceset-metadata
{"next_device_id":1,"BaseDeviceUUID":" bc801ce6-0b03-45ad-b538-04760fb4f2c2","BaseDeviceFilesystem":"xfs"}
(2).檢視磁碟loop的UUID是否一至,如果不一至請修改以上配置檔案。(我已經修改了)
[root@ecsnode03 ~]# lsblk -af
NAME FSTYPE LABEL UUID MOUNTPOINT
loop1
└─docker-253:2-805306452-pool
├─docker-253:2-805306452-d654b716ff01bd676554f1dfe572eebe1e63dc7831ad38cd4fafb075837c2b60 xfs
bc801ce6-0b03-45ad-b538-04760fb4f2c2 /data/docker-mapper/devicemapper/mnt/d654b716ff01bd676554f1dfe572eebe1e63dc7831ad38cd4fafb075837c2b60
├─docker-253:2-805306452-9d77d82e4a42bf3176ee91ba4b741271de22b49fa9b89892c9daa63d0a9000e5 xfs bc801ce6-0b03-45ad-b538-04760fb4f2c2 /data/docker-mapper/devicemapper/mnt/9d77d82e4a42bf3176ee91ba4b741271de22b49fa9b89892c9daa63d0a9000e5
├─docker-253:2-805306452-e28211099cb7567d8f565b4b741b3a445a33e7f4404e6f3c6434d5123e286e66 xfs bc801ce6-0b03-45ad-b538-04760fb4f2c2 /data/docker-mapper/devicemapper/mnt/e28211099cb7567d8f565b4b741b3a445a33e7f4404e6f3c6434d5123e286e66
├─docker-253:2-805306452-b326d2e147e7f69ac67187d957fd871c7fd70016766cfefe9fe22cb1bb553bf0 xfs bc801ce6-0b03-45ad-b538-04760fb4f2c2 /data/docker-mapper/devicemapper/mnt/b326d2e147e7f69ac67187d957fd871c7fd70016766cfefe9fe22cb1bb553bf0
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/25854343/viewspace-2671928/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- PVE安裝Windows 95報錯 while initializing device IOSWindowsWhiledeviOS
- Error: Connection activation failed: Device not managed by NetworkManagerErrorAIdev
- openGauss 出現-Error-No-space-left-on-device-提示Errordev
- 【踩坑】RuntimeError: CUDA error: device-side assert triggeredErrordevIDE
- Initializing Spring root WebApplicationContextSpringWebAPPContext
- 【ubuntu】解決Unable to determine the device handle for GPU 0000:02:00.0: Unknown ErrorUbuntudevGPUError
- Flutter常見問題-Error retrieving device properties for ro.product.cpu.abiFlutterErrordev
- PHP Filesystem 簡介PHP
- uuidUI
- Oracle案例06—— OGG-01098 Could not flush "./dirdat/e1000004383" (error 28, No space left on device)OracleErrordev
- 無法寫入檔案 Filesystem
- oracle生成uuidOracleUI
- MySQL的UUIDMySqlUI
- UUID7與UUID4簡單比較UI
- Linux中uuid是什麼?UUID由幾部分組成?LinuxUI
- 使用 Laravel-filesystem-oss web 直傳LaravelWeb
- go-filesystem 檔案管理器Go
- iOS UDID與UUIDiOSUI
- uuid自動生成UI
- Mysql修改server uuidMySqlServerUI
- 執行時報錯RuntimeError: expected device cpu but got device cuda:0ErrordevGo
- VC++ gen uuid and timeC++UI
- golang mail、shell、cookie、uuidGolangAICookieUI
- uuid的簡單使用UI
- oracle安裝包遇到Error: Package: gcc-4.8.5-11.el7.x86_64 (base)問題OracleErrorPackageGC
- VFS: Cannot open root device “nfs“ or unknown-block(2,0): error -6 NFS掛載不上,核心配置問題devNFSBloCError
- kubernetes container device interface (CDI)AIdev
- Waiting for target device to come onlineAIdev
- 翻譯:Linux and the Device TreeLinuxdev
- As 除錯 no target device found除錯dev
- Xamarin Essentials應用教程檔案系統FileSystem
- Tomcat啟動時Initializing Spring FrameworkServlet 'springmvc'卡住,並且不報錯TomcatFrameworkServletSpringMVC
- Fatal error: require(): Failed opening required 'E:\phpstudy_pro\WWW\TP5\tp5\public/../thinkphp/baseErrorUIAIPHP
- base/publicPath
- Ubuntu baseUbuntu
- 雪花演算法和UUID演算法UI
- UUID和GUID的區別GUI
- base16,base32,base64 編碼方式的通俗講解