[CRIU] LXC DUMP ERROR

Tycho Andersen tycho.andersen at canonical.com
Thu Oct 2 07:49:29 PDT 2014


On Thu, Oct 02, 2014 at 06:47:28PM +0400, Pavel Emelyanov wrote:
> On 10/02/2014 06:46 PM, Tycho Andersen wrote:
> > On Thu, Oct 02, 2014 at 06:28:48PM +0400, Pavel Emelyanov wrote:
> >> On 09/30/2014 08:42 PM, riya khanna wrote:
> >>> What is needed to add support for shared mounts. What could cause
> >>> checkpointing of shared mounts to fail? Even I'm facing the same
> >>> issue. Thanks!
> >>
> >> Tycho, I guess these are shared with smth on host, right? I.e.
> >> the mount points are "external" from CRIU's perspective.
> > 
> > I guess so, although I don't know for sure (maybe Serge knows?). Is
> > this something that criu can handle with --ext-mount-map?
> 
> If the root of the bind mount is sitting outside of the container's
> root, then yes :) This is what the --ext-mount-map was designed for.

Ok, cool.

> > If so, perhaps we could have lxc-checkpoint detect those somehow and tell
> > criu.
> 
> Why detect? I thought lxc knows all external bind-mounts it creates.

Yes, maybe detect is the wrong word. lxc-checkpoint needs to inspect
the config and then tell criu about this.

Tycho


More information about the CRIU mailing list