Re: [lxc-users] Best practice for sharing folder between lxc-guests?

2014-02-27 Thread Tamas Papp
On 02/27/2014 10:57 AM, Friedemann Stoffregen wrote: Hi everyone, I’m trying to setup a folder where each lxc-guest can have read/write access to. Is there already a practice for using it? Trying to add lxc.mount.entry = /shared/files shared/ none bind,rw 0 0 to each guest resulted in

Re: [lxc-users] Best practice for sharing folder between lxc-guests?

2014-02-27 Thread Fajar A. Nugraha
On Thu, Feb 27, 2014 at 5:14 PM, Andreas Laut andreas.l...@spark5.de wrote: Is the mount bind really working on first guest? In ubuntu lxc version your config entry wont work. lxc-start needs the whole path to the directory from host sight of view. That's not true. At least, not in newer

Re: [lxc-users] Best practice for sharing folder between lxc-guests?

2014-02-27 Thread Friedemann Stoffregen
Ah sorry guys, here are some more informations: As Fajar correctly pointed out, I’m using ubuntu’s ppa with lxc 1.0. This is the error-message I'm receiving: lxc-start: command get_cgroup failed to receive response I thought that would be caused by concurrent rw mounts… Am 27.02.2014 um

Re: [lxc-users] Best practice for sharing folder between lxc-guests?

2014-02-27 Thread Friedemann Stoffregen
Thank you very much! It seems to work fine now. Am 27.02.2014 um 13:17 schrieb Fajar A. Nugraha l...@fajar.net: On Thu, Feb 27, 2014 at 5:35 PM, Friedemann Stoffregen friedemann.stoffre...@student.fh-kiel.de wrote: Ah sorry guys, here are some more informations: As Fajar correctly

Re: [lxc-users] Best practice for sharing folder between lxc-guests?

2014-02-27 Thread Guido Jäkel
Dear Andreas, Dear Friedemann, you should not need the whole path and in my opinion you should not use it because then you don't need to change it if the container root will change later. But the mount point inside the container rootfs must exist. This is obviously, but i stepped into this

Re: [lxc-users] Best practice for sharing folder between lxc-guests?

2014-02-27 Thread Serge Hallyn
Quoting Guido Jäkel (g.jae...@dnb.de): Dear Andreas, Dear Friedemann, you should not need the whole path and in my opinion you should not use it because then you don't need to change it if the container root will change later. But the mount point inside the container rootfs must exist.

Re: [lxc-users] Best practice for sharing folder between lxc-guests?

2014-02-27 Thread Guido Jäkel
On 2014-02-27 19:01, Serge Hallyn wrote: Or add 'create=dir' to the mount options. This little ones are what i like - „For knowledge itself is power“ yours Guido ___ lxc-users mailing list lxc-users@lists.linuxcontainers.org