ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
**1、docker 启动报错:** ~~~ Dec 5 16:15:31 WLWHDX50 docker-storage-setup: INFO: Waiting for device /dev/mapper/docker--vg-docker--pool to be available. Wait time remaining is 5 seconds Dec 5 16:15:36 WLWHDX50 docker-storage-setup: INFO: Timed out waiting for device /dev/mapper/docker--vg-docker--pool Dec 5 16:15:36 WLWHDX50 docker-storage-setup: ERROR: Already configured thin pool /dev/mapper/docker--vg-docker--pool is not available. If thin pool exists and is taking longer to activate, set DEVICE_WAIT_TIMEOUT to a higher value and retry. If thin pool does not exist any more, remove /etc/sysconfig/docker-storage and retry ~~~ /etc/sysconfig/docker-storage 配置文件制定pool,但是docker的版本不相同,会导致启动报错,可以将配置删除掉。再次启动 **2、docker启动报错:** ~~~ Dec 14 18:08:33 WLWHDX50 docker-storage-setup: Logical volume docker-vg/docker-pool changed. Dec 14 18:08:33 WLWHDX50 systemd: Started Docker Storage Setup. Dec 14 18:08:33 WLWHDX50 systemd: Starting Docker Application Container Engine... Dec 14 18:08:33 WLWHDX50 journal: Forwarding stdin to journald using Priority Informational and tag docker Dec 14 18:08:34 WLWHDX50 kernel: device-mapper: table: 253:5: thin: Couldn't open thin internal device Dec 14 18:08:34 WLWHDX50 kernel: device-mapper: ioctl: error adding target to table Dec 14 18:08:34 WLWHDX50 journal: time="2017-12-14T18:08:34.027979062+08:00" level=fatal msg="Error starting daemon: error initializing graphdriver: Base Device UUID and Filesystem verification failed.Error running deviceCreate (ActivateDevice) dm_task_run failed" Dec 14 18:08:34 WLWHDX50 systemd: Started Docker Application Container Engine. ~~~ 解决思路: `cat /var/lib/docker/devicemapper/metadata/deviceset-metadata` 中的BaseDeviceUUID与现主机的不通导致。 将/var/lib/docker/下的所有东西清理掉: `rm -rf /var/lib/docker/` 重启docker `systemctl restart docker` 原因:之前安装过1.12版本的docker,启动成功过,划分过vg-pool。卸载后再安装1.9.1版本的docker启动会报错。