<div dir="ltr"><div><div><div><div><div><div>Hi<br></div>Is there an option where shared mount works and restrict propogation of unmounts ?<br><br></div>This the sequence to reproduce the issue.<br></div>1) make /mnt share mount<br>
</div>2) mount a usb stick on it /dev/sdc -> /mnt/usb<br> [here mount shows : /dev/sdc on /mnt/usb type ... ]<br></div>3) Now start a container that has the mount entry for /mnt<br></div><div>[e.g., lxc.mount.entry = /mnt /home/otvlxc/rootfs/mnt none rw,bind 0 0 ]<br>
<br></div>what I see is : <div><div>lxc-start 73733.655 DEBUG lxc_conf - umounted '/myvm1_putold/mnt/usb'<br></div><div>/mnt/usb is gone from the host also :(<br><br><br></div><div>The reason I want to make /mnt shared is that to share a mount point that is mounted by one vm ( not just mounts done by host) be available on another vm any suggestions towards this is fine too.<br>
<br></div><div>Any tips and tricks ?<br></div><div><br></div><div>Thx.<br></div><div><br><br></div></div></div>