<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div><pre style="font-size: 14.3999996185303px; line-height: 18.659200668335px;">Hi Andrew, Krystof,</pre><pre style="font-size: 14.3999996185303px; line-height: 18.659200668335px;"><span style="font-size: 14.3999996185303px; line-height: 18.659200668335px;">     The criu project is very good and I am very interested in it. But I hava some questions.</span></pre></div><div><span style="font-family: arial; white-space: pre-wrap; font-size: 14.3999996185303px; line-height: 18.659200668335px;">     1. When I pre-dump a lxc, it works. However, I can not restore it successfully.</span></div><div><span style="font-family: arial; white-space: pre-wrap; font-size: 14.3999996185303px; line-height: 18.659200668335px;">     The pre-dump command is: </span><font face="arial"><span style="line-height: 18.659200668335px; white-space: pre-wrap;">criu pre-dump -D images_lxc_pre/ -o /software/checkpoint/images_lxc_pre/dump.log -t 19092 -v4</span></font></div><div><font face="arial"><span style="line-height: 18.659200668335px; white-space: pre-wrap;">      The dump command is: criu dump --tcp-established --file-locks --link-remap --force-irmap --manage-cgroups --action-script /usr/local/libexec/lxc/lxc-restore-net -D images_lxc_dump/ --prev-images-dir ../images_lxc_pre/ -o /software/checkpoint/images_lxc_dump/dump.log -t 19092 -v4</span></font></div><div><font face="arial"><span style="line-height: 18.659200668335px; white-space: pre-wrap;">     The restore command is: criu restore --tcp-established --file-locks --link-remap --force-irmap --manage-cgroups --action-script /usr/local/libexec/lxc/lxc-restore-net -D /software/checkpoint/images_lxc_dump/ -o /software/checkpoint/images_lxc_dump/restore.log --root /usr/local/lib/lxc/rootfs --restore-detached --restore-sibling --pidfile /tmp/file54YJjg --veth-pair eth0=veth1D8I78               and the error info is: Error (mount.c:1947): New root and old root are the same.</span></font></div><div><font face="arial"><span style="line-height: 18.659200668335px; white-space: pre-wrap;">      So how can I pre-dump a lxc or docker and restore it successfully.</span></font></div><div><font face="arial"><span style="line-height: 18.659200668335px; white-space: pre-wrap;">     2. I notice that when I dump a lxc or docker the file  stats-dump does not exit and stats-restore exits. So how can I generate a </span></font><span style="font-family: arial; font-size: 14.3999996185303px; line-height: 18.659200668335px; white-space: pre-wrap;">stats-dump file when I checkpoint a lxc or docker, because I want to do some performing testings on criu.</span></div><div>&nbsp; &nbsp;Thank you! I am looking forward to your reply!</div><div>&nbsp; &nbsp; &nbsp;Carl</div><div><font face="arial"><span style="line-height: 18.659200668335px; white-space: pre-wrap;">     </span></font></div></div><br><br><span title="neteasefooter"><span id="netease_mail_footer"></span></span>