{"action":"created","issue":{"url":"https://api.github.com/repos/lxc/lxd/issues/1311","labels_url":"https://api.github.com/repos/lxc/lxd/issues/1311/labels{/name}","comments_url":"https://api.github.com/repos/lxc/lxd/issues/1311/comments","events_url":"https://api.github.com/repos/lxc/lxd/issues/1311/events","html_url":"https://github.com/lxc/lxd/issues/1311","id":116963354,"number":1311,"title":"error: Can not change LVM config. Images or containers are still using LVs","user":{"login":"sgireddy","id":3526482,"avatar_url":"https://avatars.githubusercontent.com/u/3526482?v=3","gravatar_id":"","url":"https://api.github.com/users/sgireddy","html_url":"https://github.com/sgireddy","followers_url":"https://api.github.com/users/sgireddy/followers","following_url":"https://api.github.com/users/sgireddy/following{/other_user}","gists_url":"https://api.github.com/users/sgireddy/gists{/gist_id}","starred_url":"https://api.github.com/users/sgireddy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sgireddy/subscriptions","organizations_url":"https://api.github.com/users/sgireddy/orgs","repos_url":"https://api.github.com/users/sgireddy/repos","events_url":"https://api.github.com/users/sgireddy/events{/privacy}","received_events_url":"https://api.github.com/users/sgireddy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-11-15T00:32:14Z","updated_at":"2015-11-30T16:29:54Z","closed_at":null,"body":"Requirement: Create two trusty containers each on its own disk so I could setup a 2-node mongodb replica set. My idea was to create two LVM volume groups so that each container owns its own volume group (and disks associated).\r\n\r\nsgireddy@sbox02:/var/lib$ lxc config show\r\nconfig:\r\n  images.remote_cache_expiry: \"10\"\r\n  storage.lvm_thinpool_name: thinpool1\r\n  storage.lvm_vg_name: vgpool1\r\nThen I was able to create a container on this new volume group.\r\n\r\nNow I wan to switch over to my second volume group, but lxc is not letting me to do do that.\r\n\r\nsgireddy@sbox02:/var/lib$ lxc config set storage.lvm_vg_name vgpool2\r\nerror: Can not change LVM config. Images or containers are still using LVs: [db01 ***]\r\n\r\nIs there any alternate way to achieve what I want?"},"comment":{"url":"https://api.github.com/repos/lxc/lxd/issues/comments/160680003","html_url":"https://github.com/lxc/lxd/issues/1311#issuecomment-160680003","issue_url":"https://api.github.com/repos/lxc/lxd/issues/1311","id":160680003,"user":{"login":"stgraber","id":2230599,"avatar_url":"https://avatars.githubusercontent.com/u/2230599?v=3","gravatar_id":"","url":"https://api.github.com/users/stgraber","html_url":"https://github.com/stgraber","followers_url":"https://api.github.com/users/stgraber/followers","following_url":"https://api.github.com/users/stgraber/following{/other_user}","gists_url":"https://api.github.com/users/stgraber/gists{/gist_id}","starred_url":"https://api.github.com/users/stgraber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stgraber/subscriptions","organizations_url":"https://api.github.com/users/stgraber/orgs","repos_url":"https://api.github.com/users/stgraber/repos","events_url":"https://api.github.com/users/stgraber/events{/privacy}","received_events_url":"https://api.github.com/users/stgraber/received_events","type":"User","site_admin":false},"created_at":"2015-11-30T16:29:54Z","updated_at":"2015-11-30T16:29:54Z","body":"No, the path is correct, it's the temporary LXC mountpoint.\r\n\r\nDo both /dev/sdb1 on the host and /mnt/sdb in the container exist?"}}