{"action":"created","issue":{"url":"https://api.github.com/repos/docker/docker/issues/4036","labels_url":"https://api.github.com/repos/docker/docker/issues/4036/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/4036/comments","events_url":"https://api.github.com/repos/docker/docker/issues/4036/events","html_url":"https://github.com/docker/docker/issues/4036","id":27256520,"number":4036,"title":"docker fails to mount the block device for the container on devicemapper","user":{"login":"unclejack","id":1409668,"avatar_url":"https://avatars.githubusercontent.com/u/1409668?v=3","gravatar_id":"","url":"https://api.github.com/users/unclejack","html_url":"https://github.com/unclejack","followers_url":"https://api.github.com/users/unclejack/followers","following_url":"https://api.github.com/users/unclejack/following{/other_user}","gists_url":"https://api.github.com/users/unclejack/gists{/gist_id}","starred_url":"https://api.github.com/users/unclejack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/unclejack/subscriptions","organizations_url":"https://api.github.com/users/unclejack/orgs","repos_url":"https://api.github.com/users/unclejack/repos","events_url":"https://api.github.com/users/unclejack/events{/privacy}","received_events_url":"https://api.github.com/users/unclejack/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/docker/docker/labels//os/linux/ubuntu","name":"/os/linux/ubuntu","color":"fbca04"},{"url":"https://api.github.com/repos/docker/docker/labels//system/devicemapper","name":"/system/devicemapper","color":"FBCA04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":186,"created_at":"2014-02-10T11:01:55Z","updated_at":"2015-02-23T22:05:15Z","closed_at":null,"body":"When running something like `for i in {0..100}; do docker run busybox echo test; done` with Docker running on devicemapper, errors are thrown and containers fail to run:\r\n\r\n```\r\n2014/02/10 9:48:42 Error: start: Cannot start container 56bee8c4da5bd5641fc42405c742083b418ca14ddfb4a3e632955e236e23c284: Error getting container 56bee8c4da5bd5641fc42405c742083b418ca14ddfb4a3e632955e236e23c284 from driver devicemapper: Error mounting '/dev/mapper/docker-8:1-4980769-56bee8c4da5bd5641fc42405c742083b418ca14ddfb4a3e632955e236e23c284' on '/var/lib/docker/devicemapper/mnt/56bee8c4da5bd5641fc42405c742083b418ca14ddfb4a3e632955e236e23c284': no such file or directory\r\n2014/02/10 9:48:42 Error: start: Cannot start container b90b4385778142aab5251846460008e5c4eb9fe1e7ec82f07d06f1de823bd914: Error getting container b90b4385778142aab5251846460008e5c4eb9fe1e7ec82f07d06f1de823bd914 from driver devicemapper: Error mounting '/dev/mapper/docker-8:1-4980769-b90b4385778142aab5251846460008e5c4eb9fe1e7ec82f07d06f1de823bd914' on '/var/lib/docker/devicemapper/mnt/b90b4385778142aab5251846460008e5c4eb9fe1e7ec82f07d06f1de823bd914': no such file or directory\r\n2014/02/10 9:48:43 Error: start: Cannot start container ca53b3b21c92ffb17ad15c1088be293260ea240abdf25db7e5aadc11517cf93c: Error getting container ca53b3b21c92ffb17ad15c1088be293260ea240abdf25db7e5aadc11517cf93c from driver devicemapper: Error mounting '/dev/mapper/docker-8:1-4980769-ca53b3b21c92ffb17ad15c1088be293260ea240abdf25db7e5aadc11517cf93c' on '/var/lib/docker/devicemapper/mnt/ca53b3b21c92ffb17ad15c1088be293260ea240abdf25db7e5aadc11517cf93c': no such file or directory\r\ntest\r\n2014/02/10 9:48:43 Error: start: Cannot start container 1e1e06044711e73cede8ede10547de7e270c33fac7ad5e60a8cb23246950adf3: Error getting container 1e1e06044711e73cede8ede10547de7e270c33fac7ad5e60a8cb23246950adf3 from driver devicemapper: Error mounting '/dev/mapper/docker-8:1-4980769-1e1e06044711e73cede8ede10547de7e270c33fac7ad5e60a8cb23246950adf3' on '/var/lib/docker/devicemapper/mnt/1e1e06044711e73cede8ede10547de7e270c33fac7ad5e60a8cb23246950adf3': no such file or directory\r\n```\r\nFedora 20 with kernel 3.12.9 doesn't seem to be affected.\r\n\r\n\r\nkernel version, distribution, docker info and docker version:\r\n```\r\n3.11.0-15-generic #25~precise1-Ubuntu SMP Thu Jan 30 17:39:31 UTC 2014 x86_64 x86_64\r\nUbuntu 12.04.4\r\n docker info\r\nContainers: 101\r\nImages: 44\r\nDriver: devicemapper\r\n Pool Name: docker-8:1-4980769-pool\r\n Data file: /var/lib/docker/devicemapper/devicemapper/data\r\n Metadata file: /var/lib/docker/devicemapper/devicemapper/metadata\r\n Data Space Used: 3234.9 Mb\r\n Data Space Total: 102400.0 Mb\r\n Metadata Space Used: 6.9 Mb\r\n Metadata Space Total: 2048.0 Mb\r\n\r\nClient version: 0.8.0-dev\r\nGo version (client): go1.2\r\nGit commit (client): 695719b\r\nServer version: 0.8.0-dev\r\nGit commit (server): 695719b\r\nGo version (server): go1.2\r\nLast stable version: 0.8.0\r\n```\r\n\r\nThe Docker binary is actually master with PR #4017 merged.\r\n\r\n/cc @alexlarsson"},"comment":{"url":"https://api.github.com/repos/docker/docker/issues/comments/75647065","html_url":"https://github.com/docker/docker/issues/4036#issuecomment-75647065","issue_url":"https://api.github.com/repos/docker/docker/issues/4036","id":75647065,"user":{"login":"DJBnjack","id":315946,"avatar_url":"https://avatars.githubusercontent.com/u/315946?v=3","gravatar_id":"","url":"https://api.github.com/users/DJBnjack","html_url":"https://github.com/DJBnjack","followers_url":"https://api.github.com/users/DJBnjack/followers","following_url":"https://api.github.com/users/DJBnjack/following{/other_user}","gists_url":"https://api.github.com/users/DJBnjack/gists{/gist_id}","starred_url":"https://api.github.com/users/DJBnjack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DJBnjack/subscriptions","organizations_url":"https://api.github.com/users/DJBnjack/orgs","repos_url":"https://api.github.com/users/DJBnjack/repos","events_url":"https://api.github.com/users/DJBnjack/events{/privacy}","received_events_url":"https://api.github.com/users/DJBnjack/received_events","type":"User","site_admin":false},"created_at":"2015-02-23T22:05:15Z","updated_at":"2015-02-23T22:05:15Z","body":"Still getting it after upgrade to 14.04.2:\r\n\r\n    vagrant@vagrant-ubuntu-trusty-64:~$ sudo docker info\r\n    Containers: 2\r\n    Images: 28\r\n    Storage Driver: devicemapper\r\n     Pool Name: docker-8:1-262148-pool\r\n     Pool Blocksize: 65.54 kB\r\n     Backing Filesystem: extfs\r\n     Data file: /dev/loop0\r\n     Metadata file: /dev/loop1\r\n     Data Space Used: 1.484 GB\r\n     Data Space Total: 107.4 GB\r\n     Metadata Space Used: 2.47 MB\r\n     Metadata Space Total: 2.147 GB\r\n     Udev Sync Supported: false\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.82-git (2013-10-04)\r\n    Execution Driver: native-0.2\r\n    Kernel Version: 3.13.0-45-generic\r\n    Operating System: Ubuntu 14.04.2 LTS\r\n    CPUs: 2\r\n    Total Memory: 993.9 MiB\r\n    Name: vagrant-ubuntu-trusty-64\r\n    ID: WJ7Y:XPXC:EMAH:5Q27:RD3H:R2YU:RHLN:6G7D:R6DG:LHSW:2ODK:Z4W6\r\n    WARNING: No swap limit support"}}