[CRIU] LXC DUMP ERROR
Serge Hallyn
serge.hallyn at ubuntu.com
Thu Oct 2 09:02:21 PDT 2014
Quoting Tycho Andersen (tycho.andersen at canonical.com):
> 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.
If this is about the /dev/lxc/ttyN, then those are files bind mounted
from the host's (or parent container's) /dev/pts/M. And no, lxc does
not keep track of the bind mounts it creates. However, Tycho and I
have discussed the /dev/lxc/ttyN issue and I'm pretty sure he knows what
to do.
-serge
More information about the CRIU
mailing list