[lxc-users] mounting the same path on multiple containers

T.C 吳天健 tcwu2005 at gmail.com
Thu Apr 20 13:37:39 UTC 2017


I think lxc just do bind mount for you.  It will or not damage file depends
on the device file nature.  For example, block device allows multiple
process read-write.  Some other drive file might not allow multiple entry.

2017年4月20日 下午9:21,"Werner Hack" <werner.hack at uni-ulm.de>寫道:

> Hi all,
>
> I want to mount (lxc device add) the same path on multiple containers.
> Is this possible or will I damage my filesystem this way?
> How is concurrent (write) access to the same directory from multiple
> containers handled?
> Is this managed with lxd daemon or the kernel and I have not to worry
> about it?
> Or have I to use a cluster filesystem in this case?
>
> Thanks in advance
> Werner Hack
>
>
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20170420/223b5281/attachment.html>


More information about the lxc-users mailing list