{"action":"created","issue":{"url":"https://api.github.com/repos/weaveworks/weave/issues/1947","repository_url":"https://api.github.com/repos/weaveworks/weave","labels_url":"https://api.github.com/repos/weaveworks/weave/issues/1947/labels{/name}","comments_url":"https://api.github.com/repos/weaveworks/weave/issues/1947/comments","events_url":"https://api.github.com/repos/weaveworks/weave/issues/1947/events","html_url":"https://github.com/weaveworks/weave/issues/1947","id":130659669,"number":1947,"title":"Containers created after attaching weave-ip has a stale entry in output of df -h command.","user":{"login":"djain13","id":17024863,"avatar_url":"https://avatars.githubusercontent.com/u/17024863?v=3","gravatar_id":"","url":"https://api.github.com/users/djain13","html_url":"https://github.com/djain13","followers_url":"https://api.github.com/users/djain13/followers","following_url":"https://api.github.com/users/djain13/following{/other_user}","gists_url":"https://api.github.com/users/djain13/gists{/gist_id}","starred_url":"https://api.github.com/users/djain13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/djain13/subscriptions","organizations_url":"https://api.github.com/users/djain13/orgs","repos_url":"https://api.github.com/users/djain13/repos","events_url":"https://api.github.com/users/djain13/events{/privacy}","received_events_url":"https://api.github.com/users/djain13/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-02-02T11:55:30Z","updated_at":"2016-02-03T08:53:49Z","closed_at":null,"body":"I am using docker 1.9 and weave 1.3. After attaching weave-ip to the docker container I see a stale entry added to the containers df -h output. \r\n[root@bi-paygobm-prod-033 dharjain]# docker exec -it bi-hadoop-prod-4033-bi-hadoop-prod-4033 df -h\r\n**df: `/etc/hosts (deleted)': No such file or directory**\r\nFilesystem            Size  Used Avail Use% Mounted on\r\nrootfs                 30G  5.8G   25G  20% /\r\n/dev/mapper/docker-8:17-4298781828-7888b9674faaa566e011a5ea4a31327c9bf1015a4f49376af8bda9cc05d0fd41\r\n                       30G  5.8G   25G  20% /\r\ntmpfs                 126G     0  126G   0% /dev\r\ntmpfs                 126G     0  126G   0% /sys/fs/cgroup\r\n/dev/loop10           9.8G   70M  9.2G   1% /meta\r\n/dev/loop11            99G   93M   94G   1% /log\r\n/dev/loop12            99G   63M   94G   1% /data\r\n/dev/sdb1             1.9T   29G  1.8T   2% /w\r\n/dev/sdb1             1.9T   29G  1.8T   2% /etc/resolv.conf\r\n/dev/sdb1             1.9T   29G  1.8T   2% /etc/hostname\r\nshm                    64M     0   64M   0% /dev/shm\r\ntmpfs                 126G     0  126G   0% /proc/kcore\r\ntmpfs                 126G     0  126G   0% /proc/timer_stats\r\n\r\nThis stale entry is causing other scripts dependent on df -h output break.\r\nHow can I go about this?"},"comment":{"url":"https://api.github.com/repos/weaveworks/weave/issues/comments/179099659","html_url":"https://github.com/weaveworks/weave/issues/1947#issuecomment-179099659","issue_url":"https://api.github.com/repos/weaveworks/weave/issues/1947","id":179099659,"user":{"login":"rade","id":109109,"avatar_url":"https://avatars.githubusercontent.com/u/109109?v=3","gravatar_id":"","url":"https://api.github.com/users/rade","html_url":"https://github.com/rade","followers_url":"https://api.github.com/users/rade/followers","following_url":"https://api.github.com/users/rade/following{/other_user}","gists_url":"https://api.github.com/users/rade/gists{/gist_id}","starred_url":"https://api.github.com/users/rade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rade/subscriptions","organizations_url":"https://api.github.com/users/rade/orgs","repos_url":"https://api.github.com/users/rade/repos","events_url":"https://api.github.com/users/rade/events{/privacy}","received_events_url":"https://api.github.com/users/rade/received_events","type":"User","site_admin":false},"created_at":"2016-02-03T08:53:49Z","updated_at":"2016-02-03T08:53:49Z","body":"> /dev/mapper/\r\n\r\nI think that is the clue. You are running with the devicemapper Docker storage driver. That is highly inefficient and full of bugs. I recommend switching to the `overlay` driver."}}