Re: [lxc-users] [Unable to start using lvm backend]

2015-04-13 Thread Xavier Gendre
It may be useful to give more details about what i am trying to do ;-) I work with a Debian Jessie and LXC 1.0.6 from the Debian repository. First, i give an ID range to root and i set the container's configuration with this range: root # grep root /etc/sub[ug]id

Re: [lxc-users] [Unable to start using lvm backend]

2015-04-13 Thread Xavier Gendre
Hello Fajar, It may be useful to give more details about what i am trying to do ;-) I work with a Debian Jessie and LXC 1.0.6 from the Debian repository. You should realy use at least 1.0.7 from experimental, or better yet, 1.1.1. That was a good advice... with 1.0.7 from experimental,

Re: [lxc-users] [Unable to start using lvm backend]

2015-04-12 Thread Xavier Gendre
Hi Serge, please, can you give more details about your settings of root owned unprivileged container with LVM backend? Indeed, I encounter the same problem as Andrea. I have tried to set the container as you explain but it fails to run... root # grep lxc.id_map /var/lib/lxc/test/config

Re: [lxc-users] [Unable to start using lvm backend]

2015-01-24 Thread Serge Hallyn
Yes, unprivileged users cannot manipulate the lvm devices on the host. You can still use user namespaces though. I have a few containers on my main server which do that. They each run in a unique uid range, but are started by root, so that they can use lvm (actually luks-encrypted lvm)

Re: [lxc-users] [Unable to start using lvm backend]

2015-01-24 Thread Andrea Masi
The problem seems related to unprivileged containers that seems cannot work with -B lvm. Must we assume that lvm backed store (and maybe others) actually cannot work with unprivileged containers? 2015-01-23 17:02 GMT+01:00 Andrea Masi eracli...@gmail.com: Hi, I'm using lxc 1.0.6 on ubuntu

[lxc-users] [Unable to start using lvm backend]

2015-01-23 Thread Andrea Masi
Hi, I'm using lxc 1.0.6 on ubuntu 14.04. I've no problems creating/running on dir backing store but when I use lvm I cannot start containers getting these errors: lxc-start 1422026234.562 ERRORbdev - failed to determine fs type for '/dev/lxc/lvm-cont' lxc-start 1422026234.563 ERROR