[CRIU] system configuration for dumping/restoring LXC
Krystof Zmudzinski
krystof_zmudzinski at yahoo.com
Thu Sep 11 15:25:01 PDT 2014
It seems to have worked.
18928 pts/1 S+ 0:00 | | \_ /bin/bash ./run.sh test-lxc
19004 pts/1 S+ 0:00 | | \_ /root/criu-1.3/criu restore --evasive-devices --tcp-established --manage-cgroup
19005 ? Ss 0:00 | | \_ /sbin/init
19029 ? Ss 0:00 | | \_ crond
19030 ? Ss 0:00 | | \_ /usr/sbin/httpd
19038 ? S 0:00 | | | \_ /usr/sbin/httpd
19031 ? Ss 0:00 | | \_ sendmail: Queue runner at 01:00:00 for /var/spool/clientmqueue
19032 ? Ss 0:00 | | \_ sendmail: accepting connections
19033 ? Ss 0:00 | | \_ /usr/sbin/saslauthd -m /var/run/saslauthd -a pam -n 2
19037 ? S 0:00 | | | \_ /usr/sbin/saslauthd -m /var/run/saslauthd -a pam -n 2
19034 ? Ss 0:00 | | \_ xinetd -stayalive -pidfile /var/run/xinetd.pid
19035 ? Ss 0:00 | | \_ /usr/sbin/sshd
19036 ? Sl 0:00 | | \_ /sbin/rsyslogd -i /var/run/syslogd.pid -c 5
The only problem is that the new container can't be restored with the -d option:
19430 pts/1 S+ 0:00 | | \_ /bin/bash ./run.sh test-lxc
19507 pts/1 S+ 0:00 | | \_ /root/criu-1.3/criu restore --evasive-devices --tcp-established --manage-cgroup
19508 pts/1 t+ 0:00 | | \_ /root/criu-1.3/criu restore --evasive-devices --tcp-established --manage-cgroup
dump, restore logs attached.
Krystof
From: Andrew Vagin <avagin at parallels.com>
To: Krystof Zmudzinski <krystof_zmudzinski at yahoo.com>
Cc: Andrey Wagin <avagin at gmail.com>; "criu at openvz.org" <criu at openvz.org>
Sent: Thursday, September 11, 2014 1:55 PM
Subject: Re: [CRIU] system configuration for dumping/restoring LXC
On Thu, Sep 11, 2014 at 11:02:36AM -0700, Krystof Zmudzinski wrote:
> I removed the -d option from the criu dump command line in run.sh and it looks
> like I went farther but I still don't see the restore container. See attached
> restore2.log. I also had /root/test-lxc-root mounted.
Could you add --manage-cgroups for dump and restore commands.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvz.org/pipermail/criu/attachments/20140911/c0d942d2/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dump_good.log
Type: application/octet-stream
Size: 855131 bytes
Desc: not available
URL: <http://lists.openvz.org/pipermail/criu/attachments/20140911/c0d942d2/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: restore_good.log
Type: application/octet-stream
Size: 1070367 bytes
Desc: not available
URL: <http://lists.openvz.org/pipermail/criu/attachments/20140911/c0d942d2/attachment-0003.obj>
More information about the CRIU
mailing list