{"action":"created","issue":{"url":"https://api.github.com/repos/ClusterHQ/build.clusterhq.com/issues/123","labels_url":"https://api.github.com/repos/ClusterHQ/build.clusterhq.com/issues/123/labels{/name}","comments_url":"https://api.github.com/repos/ClusterHQ/build.clusterhq.com/issues/123/comments","events_url":"https://api.github.com/repos/ClusterHQ/build.clusterhq.com/issues/123/events","html_url":"https://github.com/ClusterHQ/build.clusterhq.com/pull/123","id":95255945,"number":123,"title":"[FLOC-2659] Manage docker storage","user":{"login":"wallrj","id":978965,"avatar_url":"https://avatars.githubusercontent.com/u/978965?v=3","gravatar_id":"","url":"https://api.github.com/users/wallrj","html_url":"https://github.com/wallrj","followers_url":"https://api.github.com/users/wallrj/followers","following_url":"https://api.github.com/users/wallrj/following{/other_user}","gists_url":"https://api.github.com/users/wallrj/gists{/gist_id}","starred_url":"https://api.github.com/users/wallrj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wallrj/subscriptions","organizations_url":"https://api.github.com/users/wallrj/orgs","repos_url":"https://api.github.com/users/wallrj/repos","events_url":"https://api.github.com/users/wallrj/events{/privacy}","received_events_url":"https://api.github.com/users/wallrj/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-15T18:11:30Z","updated_at":"2015-07-16T08:56:27Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ClusterHQ/build.clusterhq.com/pulls/123","html_url":"https://github.com/ClusterHQ/build.clusterhq.com/pull/123","diff_url":"https://github.com/ClusterHQ/build.clusterhq.com/pull/123.diff","patch_url":"https://github.com/ClusterHQ/build.clusterhq.com/pull/123.patch"},"body":"Design for https://clusterhq.atlassian.net/browse/FLOC-2659\r\n\r\nI mentioned a few different strategies in the issue.\r\nThis branch sketches out how we might reconfigure Docker on our on-demand buildslaves so that its device mapper data file doesn't grow larger than the available space on the root file system.\r\n\r\nWe might also consider increasing the size of the root partition.\r\n\r\nAs a followup, we should consider upgrading to a newer version of Docker which is better at cleaning up unused container layers from the device mapper data store.\r\nOr we could configure docker to use a separate block device instead of loopback devices for its data pool, as suggested here:\r\n * http://www.projectatomic.io/blog/2015/06/notes-on-fedora-centos-and-docker-storage-drivers/\n\n<!-- Reviewable:start -->\n[<img src=\"https://reviewable.io/review_button.png\" height=40 alt=\"Review on Reviewable\"/>](https://reviewable.io/reviews/clusterhq/build.clusterhq.com/123)\n<!-- Reviewable:end -->\n"},"comment":{"url":"https://api.github.com/repos/ClusterHQ/build.clusterhq.com/issues/comments/121885275","html_url":"https://github.com/ClusterHQ/build.clusterhq.com/pull/123#issuecomment-121885275","issue_url":"https://api.github.com/repos/ClusterHQ/build.clusterhq.com/issues/123","id":121885275,"user":{"login":"jongiddy","id":3735327,"avatar_url":"https://avatars.githubusercontent.com/u/3735327?v=3","gravatar_id":"","url":"https://api.github.com/users/jongiddy","html_url":"https://github.com/jongiddy","followers_url":"https://api.github.com/users/jongiddy/followers","following_url":"https://api.github.com/users/jongiddy/following{/other_user}","gists_url":"https://api.github.com/users/jongiddy/gists{/gist_id}","starred_url":"https://api.github.com/users/jongiddy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jongiddy/subscriptions","organizations_url":"https://api.github.com/users/jongiddy/orgs","repos_url":"https://api.github.com/users/jongiddy/repos","events_url":"https://api.github.com/users/jongiddy/events{/privacy}","received_events_url":"https://api.github.com/users/jongiddy/received_events","type":"User","site_admin":false},"created_at":"2015-07-16T08:56:27Z","updated_at":"2015-07-16T08:56:27Z","body":"You should proceed with coding this up. Even if we end up doing some of the other options, it seems reasonable to also limit the loopback device to fit in the size of the underlying filesystem.  Being sparse doesn't help if the device is being filled."}}