{"action":"created","issue":{"url":"https://api.github.com/repos/lxc/lxd/issues/1889","repository_url":"https://api.github.com/repos/lxc/lxd","labels_url":"https://api.github.com/repos/lxc/lxd/issues/1889/labels{/name}","comments_url":"https://api.github.com/repos/lxc/lxd/issues/1889/comments","events_url":"https://api.github.com/repos/lxc/lxd/issues/1889/events","html_url":"https://github.com/lxc/lxd/issues/1889","id":147952950,"number":1889,"title":"LXD wrong paths on ZFS","user":{"login":"tomposmiko","id":2580497,"avatar_url":"https://avatars.githubusercontent.com/u/2580497?v=3","gravatar_id":"","url":"https://api.github.com/users/tomposmiko","html_url":"https://github.com/tomposmiko","followers_url":"https://api.github.com/users/tomposmiko/followers","following_url":"https://api.github.com/users/tomposmiko/following{/other_user}","gists_url":"https://api.github.com/users/tomposmiko/gists{/gist_id}","starred_url":"https://api.github.com/users/tomposmiko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomposmiko/subscriptions","organizations_url":"https://api.github.com/users/tomposmiko/orgs","repos_url":"https://api.github.com/users/tomposmiko/repos","events_url":"https://api.github.com/users/tomposmiko/events{/privacy}","received_events_url":"https://api.github.com/users/tomposmiko/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-13T05:47:24Z","updated_at":"2016-04-13T05:55:21Z","closed_at":null,"body":"```\r\ntank/lxd on /tank/lxd type zfs (rw,noatime)\r\ntank/lxd/containers on /tank/lxd/containers type zfs (rw,noatime)\r\ntank/lxd/deleted on /tank/lxd/deleted type zfs (rw,noatime)\r\ntank/lxd/deleted/images on /tank/lxd/deleted/images type zfs (rw,noatime)\r\ntank/lxd/images on /tank/lxd/images type zfs (rw,noatime)\r\ntank/lxd/images/4c779c2f068cfa819c27e3775f98ec88b098b75053b68dd0ece8630b6ba1278f on /var/lib/lxd/images/4c779c2f068cfa819c27e3775f98ec88b098b75053b68dd0ece8630b6ba1278f.zfs type zfs (rw,noatime)\r\ntank/lxd/images/e9ba98e963c89a5be3e11ab55f0d6eff93cc47e88a75d00fc900c38bc4a5aba4 on /var/lib/lxd/images/e9ba98e963c89a5be3e11ab55f0d6eff93cc47e88a75d00fc900c38bc4a5aba4.zfs type zfs (rw,noatime)\r\ntank/lxd/images/8bc41c8af0a852d674551772a3f0c6afe893b13adfd4ca1c5b9a37a0d90c51e1 on /var/lib/lxd/images/8bc41c8af0a852d674551772a3f0c6afe893b13adfd4ca1c5b9a37a0d90c51e1.zfs type zfs (rw,noatime)\r\n```\r\n\r\nWhy is not mounted everything under /var/lib/lxd? Is that because ZFS backend was configured (obviously) after lxd get installed?\r\nWhy are images mounted by default? With these long hashes the mount output gets ruined.\r\n\r\nAnyway, my current problem is that lxc publish does not work, because it intents to write and image file under /var/lib/lxd/images, which is not on zfs and there is no enough space this way.\r\n\r\nBTW why does it want to write an image and not create a zfs dateset?\r\n\r\n\r\nAm I lost in space somehow?"},"comment":{"url":"https://api.github.com/repos/lxc/lxd/issues/comments/209240191","html_url":"https://github.com/lxc/lxd/issues/1889#issuecomment-209240191","issue_url":"https://api.github.com/repos/lxc/lxd/issues/1889","id":209240191,"user":{"login":"tomposmiko","id":2580497,"avatar_url":"https://avatars.githubusercontent.com/u/2580497?v=3","gravatar_id":"","url":"https://api.github.com/users/tomposmiko","html_url":"https://github.com/tomposmiko","followers_url":"https://api.github.com/users/tomposmiko/followers","following_url":"https://api.github.com/users/tomposmiko/following{/other_user}","gists_url":"https://api.github.com/users/tomposmiko/gists{/gist_id}","starred_url":"https://api.github.com/users/tomposmiko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomposmiko/subscriptions","organizations_url":"https://api.github.com/users/tomposmiko/orgs","repos_url":"https://api.github.com/users/tomposmiko/repos","events_url":"https://api.github.com/users/tomposmiko/events{/privacy}","received_events_url":"https://api.github.com/users/tomposmiko/received_events","type":"User","site_admin":false},"created_at":"2016-04-13T05:55:21Z","updated_at":"2016-04-13T05:55:21Z","body":"My current problem was solved by \r\n```\r\nzfs set mountpoint=/var/lib/lxd/images tank/lxd/images\r\n```\r\nBut it's just a workaround."}}