[lxc-users] Question regarding container affecting the system mounts

Christian Brauner christian.brauner at getenv.org
Mon Apr 9 08:20:16 UTC 2018


On Tue, Mar 27, 2018 at 11:00:01AM -0500, Ronak Desai wrote:
> Hi,
> 
> I came a cross a problem where if the containers are running then it
> affects the unmount process of the system's mount points. I am not
> using these mount points as shared partitions with container.
> 
> For example, I am using SD card and NAND as external storage device
> and mounting it to a mount point in the ramfs. Then I am launching
> containers and then when I try to unmount the NAND partition then my
> "unmount" call succeeds but I don't see the UBIFS hooks being called

Are you saying that all your containers are using the SD card as backing
storage device?

> and because of that my UBI detach process fails. When I stopped the
> container then I see that kernel is calling the unmount as I see my
> debug prints inside the UBIFS for unmounting that partition. It seems
> like the calls are buffered/queued because of container.
> 
> If I tried to mount my NAND partition once the container is up and try
> to unmount then it does unmount and detach without issue. It seems
> like there is an issue with namespace.
> 
> I am using 4.1.8 kernel . Please let me know if you need any
> additional detail from my end.
> 
> Thanks in advance !
> 
> -- 
> Ronak A Desai
> Sr. Software Engineer
> Airborne Information Solutions / RC Linux Platform Software
> MS 131-100, C Ave NE, Cedar Rapids, IA, 52498, USA
> Ronak.Desai at rockwellcollins.com
> https://www.rockwellcollins.com/
> _______________________________________________
> 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