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

Friedemann Stoffregen friedemann.stoffregen at student.fh-kiel.de
Thu Feb 27 13:39:30 UTC 2014


Thank you very much! It seems to work fine now.


Am 27.02.2014 um 13:17 schrieb Fajar A. Nugraha <list at fajar.net>:

> On Thu, Feb 27, 2014 at 5:35 PM, Friedemann Stoffregen
> <friedemann.stoffregen at student.fh-kiel.de> wrote:
>> 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...
> 
> 
> Not sure where that error comes from, but I'm using this (the default
> from ubuntu template)
> 
> lxc.mount = /var/lib/lxc/container_name/fstab
> 
> 
> ... and the content of fstab (the one refered in the config, not the
> one in container rootfs) is similar to this
> 
> /data/path_on_host   data/share    none    rbind   0 0
> 
> tested only on two containers, works so far. The "rbind" is useful
> since in my case I use zfs, which has several different FS under the
> shared path. rbind makes everything under the shared path available to
> the containers.
> 
> Perhaps try again, using newly-created containers from ubuntu
> template, to help narrow down your problem?
> 
> -- 
> Fajar
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users




More information about the lxc-users mailing list