{"action":"created","issue":{"url":"https://api.github.com/repos/docker/docker/issues/12087","labels_url":"https://api.github.com/repos/docker/docker/issues/12087/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/12087/comments","events_url":"https://api.github.com/repos/docker/docker/issues/12087/events","html_url":"https://github.com/docker/docker/issues/12087","id":66380656,"number":12087,"title":"Docker stopped working after 'yum update' and reboot (Centos 7)","user":{"login":"ctmnz","id":80100,"avatar_url":"https://avatars.githubusercontent.com/u/80100?v=3","gravatar_id":"","url":"https://api.github.com/users/ctmnz","html_url":"https://github.com/ctmnz","followers_url":"https://api.github.com/users/ctmnz/followers","following_url":"https://api.github.com/users/ctmnz/following{/other_user}","gists_url":"https://api.github.com/users/ctmnz/gists{/gist_id}","starred_url":"https://api.github.com/users/ctmnz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ctmnz/subscriptions","organizations_url":"https://api.github.com/users/ctmnz/orgs","repos_url":"https://api.github.com/users/ctmnz/repos","events_url":"https://api.github.com/users/ctmnz/events{/privacy}","received_events_url":"https://api.github.com/users/ctmnz/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/docker/docker/labels//ecosystem/centos","name":"/ecosystem/centos","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":16,"created_at":"2015-04-04T23:43:12Z","updated_at":"2015-04-14T13:21:30Z","closed_at":null,"body":"<pre>\r\n[root@cos7 data]# uname -a\r\nLinux cos7 3.10.0-229.1.2.el7.x86_64 #1 SMP Fri Mar 27 03:04:26 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux\r\n[root@cos7 data]# docker -v\r\nDocker version 1.5.0-dev, build fc0329b/1.5.0\r\n[root@cos7 data]# cat /etc/redhat-release\r\nCentOS Linux release 7.1.1503 (Core)\r\n[root@cos7 data]#\r\n[root@cos7 data]# systemctl start docker\r\nJob for docker.service failed. See 'systemctl status docker.service' and 'journalctl -xn' for details.\r\n[root@cos7 data]# systemctl status docker.service\r\ndocker.service - Docker Application Container Engine\r\n   Loaded: loaded (/usr/lib/systemd/system/docker.service; enabled)\r\n   Active: failed (Result: exit-code) since Sun 2015-04-05 02:41:58 EEST; 5s ago\r\n     Docs: http://docs.docker.com\r\n  Process: 14431 ExecStart=/usr/bin/docker -d $OPTIONS $DOCKER_STORAGE_OPTIONS $DOCKER_NETWORK_OPTIONS $ADD_REGISTRY $BLOCK_REGISTRY $INSECURE_REGISTRY (code=exited, status=1/FAILURE)\r\n Main PID: 14431 (code=exited, status=1/FAILURE)\r\n\r\nApr 05 02:41:58 cos7 docker[14431]: time=\"2015-04-05T02:41:58+03:00\" level=\"info\" msg=\"+job serveapi(unix:///var/run/docker.sock)\"\r\nApr 05 02:41:58 cos7 docker[14431]: time=\"2015-04-05T02:41:58+03:00\" level=\"fatal\" msg=\"EOF\"\r\nApr 05 02:41:58 cos7 systemd[1]: docker.service: main process exited, code=exited, status=1/FAILURE\r\nApr 05 02:41:58 cos7 systemd[1]: Failed to start Docker Application Container Engine.\r\nApr 05 02:41:58 cos7 systemd[1]: Unit docker.service entered failed state.\r\n[root@cos7 data]#\r\n</pre>"},"comment":{"url":"https://api.github.com/repos/docker/docker/issues/comments/92826950","html_url":"https://github.com/docker/docker/issues/12087#issuecomment-92826950","issue_url":"https://api.github.com/repos/docker/docker/issues/12087","id":92826950,"user":{"login":"ctmnz","id":80100,"avatar_url":"https://avatars.githubusercontent.com/u/80100?v=3","gravatar_id":"","url":"https://api.github.com/users/ctmnz","html_url":"https://github.com/ctmnz","followers_url":"https://api.github.com/users/ctmnz/followers","following_url":"https://api.github.com/users/ctmnz/following{/other_user}","gists_url":"https://api.github.com/users/ctmnz/gists{/gist_id}","starred_url":"https://api.github.com/users/ctmnz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ctmnz/subscriptions","organizations_url":"https://api.github.com/users/ctmnz/orgs","repos_url":"https://api.github.com/users/ctmnz/repos","events_url":"https://api.github.com/users/ctmnz/events{/privacy}","received_events_url":"https://api.github.com/users/ctmnz/received_events","type":"User","site_admin":false},"created_at":"2015-04-14T13:21:30Z","updated_at":"2015-04-14T13:21:30Z","body":"So.. I have fixed the problem manually. It was a problem with the device mapper\r\n\r\nAfter clearing the volume with the command *dmsetup clear docker-8:1-1612350994-pool* and reboot the docker started without problem.\r\n\r\n:\r\n<pre>\r\n[root@cos7 lib]# dmsetup info docker-8:1-1612350994-pool\r\nName:              docker-8:1-1612350994-pool\r\nState:             ACTIVE\r\nRead Ahead:        256\r\nTables present:    INACTIVE\r\nOpen count:        0\r\nEvent number:      0\r\nMajor, minor:      253, 0\r\nNumber of targets: 0\r\n\r\n[root@cos7 lib]# dmsetup clear docker-8:1-1612350994-pool\r\n[root@cos7 lib]# \r\n[root@cos7 lib]# dmsetup info docker-8:1-1612350994-pool\r\nName:              docker-8:1-1612350994-pool\r\nState:             ACTIVE\r\nRead Ahead:        256\r\nTables present:    None\r\nOpen count:        0\r\nEvent number:      0\r\nMajor, minor:      253, 0\r\nNumber of targets: 0\r\n\r\n[root@cos7 lib]# reboot \r\n[root@cos7 ~]# systemctl start docker\r\n[root@cos7 ~]# \r\n[root@cos7 ~]# docker info \r\nContainers: 8\r\nImages: 580\r\nStorage Driver: devicemapper\r\n Pool Name: docker-8:1-1612350994-pool\r\n Pool Blocksize: 65.54 kB\r\n Backing Filesystem: xfs\r\n Data file: /dev/loop0\r\n Metadata file: /dev/loop1\r\n Data Space Used: 11.86 GB\r\n Data Space Total: 107.4 GB\r\n Data Space Available: 95.52 GB\r\n Metadata Space Used: 23.96 MB\r\n Metadata Space Total: 2.147 GB\r\n Metadata Space Available: 2.124 GB\r\n Udev Sync Supported: true\r\n Data loop file: /var/lib/docker/devicemapper/devicemapper/data\r\n Metadata loop file: /var/lib/docker/devicemapper/devicemapper/metadata\r\n Library Version: 1.02.93-RHEL7 (2015-01-28)\r\nExecution Driver: native-0.2\r\nKernel Version: 3.10.0-229.1.2.el7.x86_64\r\nOperating System: CentOS Linux 7 (Core)\r\nCPUs: 8\r\nTotal Memory: 7.639 GiB\r\nName: cos7\r\nID: NOPE:NOPE:NOPE:NOPE:NOPE:NOPE:NOPE:NOPE:NOPE:NOPE:NOPE:NOPE\r\nDebug mode (server): true\r\nDebug mode (client): false\r\nFds: 12\r\nGoroutines: 14\r\nEventsListeners: 0\r\nInit SHA1: 444444444444444444431735b44444444444\r\nInit Path: /usr/libexec/docker/dockerinit\r\nDocker Root Dir: /var/lib/docker\r\n\r\n</pre>"}}