<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue-Light, Helvetica Neue Light, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:10pt"><div><span></span></div><div>It seems to have worked. </div><div><br></div><div><br></div><div>18928 pts/1 S+ 0:00 | | \_ /bin/bash ./run.sh test-lxc<br>19004 pts/1 S+ 0:00 | | \_ /root/criu-1.3/criu restore --evasive-devices --tcp-established --manage-cgroup<br>19005 ? Ss
0:00 | | \_ /sbin/init<br>19029 ? Ss 0:00 | | \_ crond<br>19030 ? Ss 0:00 | | \_ /usr/sbin/httpd<br>19038 ? S
0:00 | | | \_ /usr/sbin/httpd<br>19031 ? Ss 0:00 | | \_ sendmail: Queue runner@01:00:00 for /var/spool/clientmqueue<br>19032 ? Ss 0:00 | | \_ sendmail:
accepting connections<br>19033 ? Ss 0:00 | | \_ /usr/sbin/saslauthd -m /var/run/saslauthd -a pam -n 2<br>19037 ? S 0:00 | | | \_ /usr/sbin/saslauthd -m /var/run/saslauthd -a pam -n 2<br>19034 ? Ss 0:00 |
| \_ xinetd -stayalive -pidfile /var/run/xinetd.pid<br>19035 ? Ss 0:00 | | \_ /usr/sbin/sshd<br>19036 ? Sl 0:00 | | \_ /sbin/rsyslogd -i /var/run/syslogd.pid -c 5</div><div style="color: rgb(0, 0, 0); font-family: HelveticaNeue-Light, Helvetica Neue Light,
Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 13.33px; font-style: normal; background-color: transparent;"><br></div><div>The only problem is that the new container can't be restored with the -d option:</div><div><br></div><div>19430 pts/1 S+ 0:00 | | \_ /bin/bash ./run.sh test-lxc<br>19507 pts/1 S+ 0:00 | | \_ /root/criu-1.3/criu restore --evasive-devices --tcp-established --manage-cgroup<br>19508 pts/1 t+
0:00 | | \_ /root/criu-1.3/criu restore --evasive-devices --tcp-established --manage-cgroup<br></div><div><br></div><div>dump, restore logs attached.</div><div><br></div><div>Krystof</div><div><br></div><div><br></div><div><br></div> <div style="font-family: HelveticaNeue-Light, Helvetica Neue Light, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 10pt;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 12pt;"> <div dir="ltr"> <div style="margin: 5px 0px; padding: 0px; border: 1px solid rgb(204, 204, 204); border-image: none; height: 0px; line-height: 0; font-size: 0px;" contenteditable="false" readonly="true"></div> <font face="Arial" size="2"> <b><span style="font-weight:
bold;">From:</span></b> Andrew Vagin <avagin@parallels.com><br> <b><span style="font-weight: bold;">To:</span></b> Krystof Zmudzinski <krystof_zmudzinski@yahoo.com> <br><b><span style="font-weight: bold;">Cc:</span></b> Andrey Wagin <avagin@gmail.com>; "criu@openvz.org" <criu@openvz.org> <br> <b><span style="font-weight: bold;">Sent:</span></b> Thursday, September 11, 2014 1:55 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [CRIU] system configuration for dumping/restoring LXC<br> </font> </div> <div><br>On Thu, Sep 11, 2014 at 11:02:36AM -0700, Krystof Zmudzinski wrote:<br clear="none">> I removed the -d option from the criu dump command line in run.sh and it looks<br clear="none">> like I went farther but I still don't see the restore container. See attached<br clear="none">> restore2.log. I also had /root/test-lxc-root mounted.<br clear="none"><br clear="none">Could you add
--manage-cgroups for dump and restore commands.<div id="yqtfd93179"><br clear="none"><br clear="none"></div><br></div> </div> </div> </div></body></html>