Devicemapper:error running Devicecreate (activatedevice) Dm_task_run failed

Source: Internet
Author: User

On a new machine, after Docker finishes processing the LVS data volume, the boot failure occurs when the Docker service starts, and the failure message is as follows:

[[email protected] ~]# systemctl status Docker docker.service-docker application Container Engine loaded:loaded  (/usr/lib/systemd/system/docker.service; enabled; vendor preset:disabled) Drop-in:/usr/lib/systemd/system/docker.service.d└─flannel.conf active:failed (result:exit-code) since Tue 2018-07-24 14:06:15 CST; 4s ago docs:https://docs.docker.com process:28723 execstart=/usr/bin/dockerd $DOCKER _network_options $DOCKER _networ K_options $DOCKER _storage_options (code=exited, status=1/failure) Main pid:28723 (code=exited, status=1/failure) Memor y:412.0k CGroup:/system.slice/docker.servicejul 14:06:14 hxin221 systemd[1]: Starting Docker application Container Engine ... Jul 14:06:14 hxin221 dockerd[28723]: time= "2018-07-24t14:06:14.416711161+08:00" Level=info msg= "libcontainerd:new Containerd process, pid:28738 "Jul 14:06:15 hxin221 dockerd[28723]: Error starting Daemon:error initializing Graphdriv Er:devmapper:Base Device UUID and FileSystem Verification Failed:devicemapper:Error running Devicecreate (activatedevice) dm_task_run Failedjul-14:06:15 HX in221 Systemd[1]: Docker.service:main process exited, code=exited, Status=1/failurejul 14:06:15 hxin221 systemd[1]: Fa iled to start Docker application Container Engine.jul 14:06:15 hxin221 systemd[1]: Unit Docker.service entered failed s Tate. Jul 14:06:15 hxin221 systemd[1]: Docker.service failed.

  

In general it is:

Error starting Daemon:error initializing Graphdriver:devmapper:Base Device UUID and Filesystem verification Failed:dev Icemapper:error running Devicecreate (activatedevice) Dm_task_run failed

  

Well, this mistake, never encountered before, stepped on a lot of pits, and finally, think, is this machine has been installed in the previous time Docker, and then the old data caused?

So, with the aim of trying, the following actions are performed:

[Email protected] ~]# rm-rf/var/lib/docker/*

Yes, the data is removed from the Docker, because it is a new machine, I did not do any backup processing, other small partners if they encounter, remember to back up the data first.

Then, restart the service

[Email protected] ~]# Systemctl restart Docker

OK, the problem is not big, solved.

Above

Devicemapper:error running Devicecreate (activatedevice) Dm_task_run failed

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.