[lxc-users] lxc-users Digest, Vol 55, Issue 4
Tycho Andersen
tycho.andersen at canonical.com
Sat Jan 3 14:34:18 UTC 2015
On Sat, Jan 03, 2015 at 02:00:45PM +0100, Thouraya TH wrote:
> i didn't run with -v:
>
> i have in the restore.log file:
> Warn (cr-restore.c:996): Set CLONE_PARENT | CLONE_NEWPID but it might
> cause restore problem,because not all kernels support such clone flags
> combinations!
> RTNETLINK answers: File exists
> RTNETLINK answers: File exists
> RTNETLINK answers: File exists
> 281: Error (files-reg.c:982): File var/log/syslog has bad size 9191
> (expect 5957)
> 280: Error (files-reg.c:982): File var/lib/dhcp/dhclient.eth0.leases has
> bad size 2470 (expect 988)
Looks like restoring failed because the file sizes are different. You
should checkpoint with the -s option to prevent the container from
writing to files after it is checkpointed.
Tycho
> Thanks a lot for help.
> Bests.
>
> 2015-01-03 13:00 GMT+01:00 <lxc-users-request at lists.linuxcontainers.org>:
>
> > Send lxc-users mailing list submissions to
> > lxc-users at lists.linuxcontainers.org
> >
> > To subscribe or unsubscribe via the World Wide Web, visit
> > http://lists.linuxcontainers.org/listinfo/lxc-users
> > or, via email, send a message with subject or body 'help' to
> > lxc-users-request at lists.linuxcontainers.org
> >
> > You can reach the person managing the list at
> > lxc-users-owner at lists.linuxcontainers.org
> >
> > When replying, please edit your Subject line so it is more specific
> > than "Re: Contents of lxc-users digest..."
> >
> > Today's Topics:
> >
> > 1. Restart a container from dumping files (Thouraya TH)
> > 2. Re: Restart a container from dumping files (Tycho Andersen)
> >
> >
> > ---------- Message transféré ----------
> > From: Thouraya TH <thouraya87 at gmail.com>
> > To: LXC users mailing-list <lxc-users at lists.linuxcontainers.org>
> > Cc:
> > Date: Fri, 2 Jan 2015 21:23:27 +0100
> > Subject: [lxc-users] Restart a container from dumping files
> > Hello,
> > I try to restart a container from dumping files, but it failed.
> >
> > root at gra:/home# *lxc-checkpoint -r -D /home/ImGLXC -n worker*
> > root at gra:/home# lxc-ls -f
> > ^CTraceback (most recent call last):
> > File "/usr/bin/lxc-ls", line 432, in <module>
> > containers = get_containers(root=True)
> > File "/usr/bin/lxc-ls", line 261, in get_containers
> > if container.controllable:
> > KeyboardInterrupt
> >
> > Have you an idea please ?
> >
> > Thanks a lot.
> > Best Regards.
> >
> >
> > ---------- Message transféré ----------
> > From: Tycho Andersen <tycho.andersen at canonical.com>
> > To: LXC users mailing-list <lxc-users at lists.linuxcontainers.org>
> > Cc:
> > Date: Fri, 2 Jan 2015 19:22:32 -0600
> > Subject: Re: [lxc-users] Restart a container from dumping files
> > On Fri, Jan 02, 2015 at 09:23:27PM +0100, Thouraya TH wrote:
> > > Hello,
> > > I try to restart a container from dumping files, but it failed.
> >
> > What's the output of 'ps auxf' when you restore? What's the
> > restore.log with -v?
> >
> > Tycho
> >
> > > root at gra:/home# *lxc-checkpoint -r -D /home/ImGLXC -n worker*
> > > root at gra:/home# lxc-ls -f
> > > ^CTraceback (most recent call last):
> > > File "/usr/bin/lxc-ls", line 432, in <module>
> > > containers = get_containers(root=True)
> > > File "/usr/bin/lxc-ls", line 261, in get_containers
> > > if container.controllable:
> > > KeyboardInterrupt
> > >
> > > Have you an idea please ?
> > >
> > > Thanks a lot.
> > > Best Regards.
> >
> > > _______________________________________________
> > > lxc-users mailing list
> > > lxc-users at lists.linuxcontainers.org
> > > http://lists.linuxcontainers.org/listinfo/lxc-users
> >
> >
> >
> > _______________________________________________
> > lxc-users mailing list
> > lxc-users at lists.linuxcontainers.org
> > http://lists.linuxcontainers.org/listinfo/lxc-users
> >
> _______________________________________________
> 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