<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 id="yiv6916502092"><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: 10pt; background-color: rgb(255, 255, 255);"><div id="yiv6916502092"><div id="yiv6916502092yui_3_16_0_1_1410453784597_2658"><div id="yiv6916502092yui_3_16_0_1_1410453784597_2657" style="color: rgb(0, 0, 0); font-family: HelveticaNeue-Light, Helvetica Neue Light, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 10pt; background-color: rgb(255, 255, 255);"><div id="yiv6916502092yui_3_16_0_8_1410446994808_4"><span>The bottom line is that I can dump but I can't restore. I'm still confused how rootfs should be used. I still would like to know what your
system configuration was in the example described on CRIU/LXC. I'm using 64-bit Ubuntu desktop 14.04 but I'm willing to switch to whatever worked for you. Same goes for the LXC tools.</span></div><div><span><br></span></div><div><span>Krystof</span></div><div><span><br></span></div><div><span>The following are some of the steps I performed to get to that point:</span></div><div id="yiv6916502092yui_3_16_0_8_1410446994808_44" 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;"><span id="yiv6916502092yui_3_16_0_8_1410446994808_43"></span><span id="yiv6916502092yui_3_16_0_8_1410446994808_13">1. apt-get install lxc installs bridge and changes interfaces file (there are no ifcfg-* files in Ubuntu) it also installs lxcbr0 instead of br0. </span></div><div
id="yiv6916502092yui_3_16_0_8_1410446994808_18" 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;"><span id="yiv6916502092yui_3_16_0_8_1410446994808_17">2. lxc-checkconfig shows everything is enabled so mounting cgroup is not required</span></div><div id="yiv6916502092yui_3_16_0_8_1410446994808_21" 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;"><span id="yiv6916502092yui_3_16_0_8_1410446994808_20">3. lxc-create -t ubuntu -n cn_01 and lxc-start -n cn_01 work</span></div><div id="yiv6916502092yui_3_16_0_8_1410446994808_35" 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;"><span id="yiv6916502092yui_3_16_0_8_1410446994808_34">4. I downloaded centos-6-x86_64.tar.gz and extracted it to /root/test-lxc</span></div><div id="yiv6916502092yui_3_16_0_8_1410446994808_30" 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;"><span id="yiv6916502092yui_3_16_0_8_1410446994808_29">5. I copied the test-lxc.conf and fstab from the website.</span></div><div id="yiv6916502092yui_3_16_0_1_1410446994808_10635" 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;"><span
id="yiv6916502092yui_3_16_0_8_1410446994808_50">6. lxc-create -n test-lxc -f test-lxc.conf fails; there is no specific error but I'm assuming it is because of the wrong rootfs = /root/test-lxc-root</span></div><div id="yiv6916502092yui_3_16_0_1_1410446994808_10648" 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;"><span id="yiv6916502092yui_3_16_0_8_1410446994808_56">7. When I created /root/test-lxc-root I was able to create the container but it wouldn't start</span></div><div id="yiv6916502092yui_3_16_0_8_1410446994808_68" 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;"><span
id="yiv6916502092yui_3_16_0_8_1410446994808_61">8. When I changed rootfs to /root/test-lxc, I was able to create the container and to start it</span></div><div id="yiv6916502092yui_3_16_0_8_1410446994808_74" 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;"><span id="yiv6916502092yui_3_16_0_8_1410446994808_66">9. lxc-stop took a long time to stop the container</span></div><div id="yiv6916502092yui_3_16_0_1_1410446994808_10992" 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;"><span id="yiv6916502092yui_3_16_0_8_1410446994808_72">10. Since I didn't have to execute mount --bind test-lxc test-lxc-root/ to run the
container I thought that maybe that step should be executed with original configuration but before the container is created so I destroyed the container</span></div><div id="yiv6916502092yui_3_16_0_8_1410446994808_83" 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;"><span id="yiv6916502092yui_3_16_0_8_1410446994808_79">11. I restored test-lxc.conf to what is on the website, restored test-lxc folder, created test-lxc-root and executed mount --bind test-lxc test-lxc-root/ </span></div><div id="yiv6916502092yui_3_16_0_8_1410446994808_87" 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;"><span
id="yiv6916502092yui_3_16_0_8_1410446994808_81">12. I created the container again and it worked this time</span></div><div id="yiv6916502092yui_3_16_0_8_1410446994808_102" 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;"><span id="yiv6916502092yui_3_16_0_8_1410446994808_85">13. I started the container and it
also worked</span></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;"><span id="yiv6916502092yui_3_16_0_8_1410446994808_100">14. However, this time, after lxc-attach -n test-lxc, mount produced this output:</span></div><div id="yiv6916502092yui_3_16_0_1_1410453784597_2665" 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;"><span id="yiv6916502092yui_3_16_0_6_1410453784597_7">/dev/disk/by-uuid/a1b2c830-cce3-4373-a598-9702ef6d8f69 on / type ext4 (rw,relatime,errors=remount-ro,data=ordered)<br clear="none">none on /dev/pts type devpts (rw,relatime,mode=600,ptmxmode=000)<br clear="none">none on /proc type proc
(rw,relatime)<br clear="none">none on /sys type sysfs (rw,relatime)<br clear="none">none
on /dev/shm type tmpfs (rw,relatime)<br clear="none">none on /dev type tmpfs (rw,relatime,mode=755)<br clear="none">none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,relatime)</span></div><span id="yiv6916502092yui_3_16_0_1_1410453784597_2663"></span></div><div id="yiv6916502092yui_3_16_0_6_1410453784597_10" style="color: rgb(0, 0, 0); font-family: HelveticaNeue-Light, Helvetica Neue Light, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 10pt; background-color: rgb(255, 255, 255);"><span id="yiv6916502092yui_3_16_0_6_1410453784597_9"></span><div id="yiv6916502092yui_3_16_0_6_1410453784597_12" 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 clear="none"></div><div id="yiv6916502092yui_3_16_0_1_1410453784597_2818" 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;">While originally it only produced this:</div><div id="yiv6916502092yui_3_16_0_1_1410453784597_2819" 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;">/dev/disk/by-uuid/a1b2c830-cce3-4373-a598-9702ef6d8f69 on / type ext4 (rw,relatime,errors=remount-ro,data=ordered)<br clear="none">none on /proc type proc (rw,nosuid,nodev,noexec,relatime)<br clear="none">none on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)<br clear="none">none on /dev type tmpfs (rw,relatime,mode=755)<br clear="none">none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,relatime)<br clear="none"></div><div
id="yiv6916502092yui_3_16_0_6_1410453784597_16" 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 clear="none"></div><div id="yiv6916502092yui_3_16_0_6_1410453784597_17" 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;">15. lxc-stop still takes long time<br id="yiv6916502092yui_3_16_0_1_1410453784597_2662" clear="none"></div><div id="yiv6916502092yui_3_16_0_8_1410446994808_25" 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;"><span
id="yiv6916502092yui_3_16_0_8_1410446994808_24"><br clear="none"></span></div><div>16. Installing criu-1.3</div><div>17. <span style='line-height: 115%; font-family: "Calibri","sans-serif"; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: "Times New Roman"; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;'>apt-get
install libprotobuf-dev libprotoc-dev protobuf-c-compiler libprotobuf-c0
libprotobuf-c0-dev</span></div><div><span style='line-height: 115%; font-family: "Calibri","sans-serif"; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: "Times New Roman"; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;'>18. make</span></div><div><span style='line-height: 115%; font-family: "Calibri","sans-serif"; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: "Times New Roman"; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;'>19. cd test/app-emu/lxc</span></div><div><span style='line-height: 115%; font-family: "Calibri","sans-serif"; font-size: 11pt;
mso-ascii-theme-font: minor-latin; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: "Times New Roman"; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;'>20. /run.sh test-lxc produces an error:</span></div><div><span style='line-height: 115%; font-family: "Calibri","sans-serif"; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: "Times New Roman"; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;'><font face="Helvetica" size="2">Name: test-lxc<br>State:
RUNNING<br>PID: 25189<br>CPU use: 0.64 seconds<br>BlkIO use: 56.00 KiB<br>Memory use: 8.33 MiB<br>KMem use: 0 bytes<br>Link: vethJ8MR0R<br> TX bytes: 648 bytes<br> RX bytes: 4.18 KiB<br> Total bytes: 4.81 KiB<br>The CT's "init" process has PID of <br>kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]<br>root@se:~/criu-1.3/test/app-emu/lxc# <br></font></span></div><div><br></div><div>21. I changed pid to PID in pid=$(lxc-info --name $name | awk '/PID:/ { print $2 }')<br>22. This time I got: bridge br0 does not exist!</div><div>23. I edited network-script.sh
accordingly</div><div>24. Dump doesn't work. See attached dump1.log.</div><div>25. So I went back to the way I originally created the container. I changed rootfs in test-lxc.conf to /root/test-lxc</div><div>26. I created the container and started it and I was able to dump it; see attached dump2.log</div><div>27 However, the restore hangs. ps a shows these processes but there is no init; see attached restore.log</div><div><br></div><div> 413 pts/1 S+ 0:00 /bin/bash ./run.sh test-lxc<br> 498 pts/1 S+ 0:00 /root/criu-1.3/criu restore --evasive-devices --tcp-e<br> 499 pts/1 t+ 0:00 /root/criu-1.3/criu restore --evasive-devices --tcp-e<br><br clear="none"></div><div id="yiv6916502092yqt13184"><div id="yiv6916502092yqt77323"><div id="yiv6916502092yui_3_16_0_8_1410446994808_7"
style="font-family: HelveticaNeue-Light, Helvetica Neue Light, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 10pt;"><div id="yiv6916502092yui_3_16_0_1_1410446994808_10007" style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 12pt;"><div id="yiv6916502092yui_3_16_0_1_1410446994808_10006" dir="ltr"><div id="yiv6916502092yui_3_16_0_1_1410446994808_10123" style="margin: 5px 0px; padding: 0px; border: 1px solid rgb(204, 204, 204); border-image: none; height: 0px; line-height: 0; font-size: 0px;"></div> <font id="yiv6916502092yui_3_16_0_1_1410446994808_10010" face="Arial" size="2"> <b id="yiv6916502092yui_3_16_0_1_1410446994808_10009"><span id="yiv6916502092yui_3_16_0_1_1410446994808_10008" style="font-weight: bold;">From:</span></b> Krystof Zmudzinski <krystof_zmudzinski@yahoo.com><br clear="none"> <b><span style="font-weight: bold;">To:</span></b> Andrey Wagin
<avagin@gmail.com> <br clear="none"><b><span style="font-weight: bold;">Cc:</span></b> "criu@openvz.org" <criu@openvz.org> <br clear="none"> <b><span style="font-weight: bold;">Sent:</span></b> Thursday, September 11, 2014 7:57 AM<br clear="none"> <b><span style="font-weight: bold;">Subject:</span></b> Re: system configuration for dumping/restoring LXC<br clear="none"> </font> </div> <div id="yiv6916502092yui_3_16_0_1_1410446994808_10014"><br clear="none"><div id="yiv6916502092"><div id="yiv6916502092yui_3_16_0_1_1410446994808_10013"><div id="yiv6916502092yui_3_16_0_1_1410446994808_10012" style="color: rgb(0, 0, 0); font-family: HelveticaNeue-Light, Helvetica Neue Light, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 10pt; background-color: rgb(255, 255, 255);"><div id="yiv6916502092yui_3_16_0_1_1410446994808_10021"><span id="yiv6916502092yui_3_16_0_1_1410446994808_10020">Thanks for the fast reply. I will
reinstall Ubuntu 14.04, LXC tools and criu-1.3 as before. I will let you know what I had to do along the way when I encounter problems. Maybe at the end you will be able to post this somewhere on your website for somebody like me who is not a Linux expert. :-)</span></div><div id="yiv6916502092yui_3_16_0_1_1410446994808_10019" 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;"><span><br clear="none"></span></div><div id="yiv6916502092yui_3_16_0_1_1410446994808_10017" 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;"><span id="yiv6916502092yui_3_16_0_1_1410446994808_10018">Speaking of not being a Linux expert, I'm
not sure if I understand the point about the rootfs mounts. I do recall that one of the error messages on restore was something about same rootfs can't be used so I can see how it makes sense what you said about different rootfs there. But I don't understand how the configuration on the website can work when lxc-create is executed.</span></div><div id="yiv6916502092yui_3_16_0_1_1410446994808_10016" 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;"><span><br clear="none"></span></div><div id="yiv6916502092yui_3_16_0_1_1410446994808_10015" 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;"><span>Krystof</span></div><div id="yiv6916502092yui_3_16_0_1_1410446994808_10011"><br clear="none"></div> <div id="yiv6916502092yqt12233"><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;"></div> <font face="Arial" size="2"> <b><span style="font-weight: bold;">From:</span></b> Andrey Wagin <avagin@gmail.com><br clear="none"> <b><span style="font-weight: bold;">To:</span></b> Krystof Zmudzinski <krystof_zmudzinski@yahoo.com> <br clear="none"><b><span style="font-weight: bold;">Cc:</span></b> "criu@openvz.org"
<criu@openvz.org> <br clear="none"> <b><span style="font-weight: bold;">Sent:</span></b> Wednesday, September 10, 2014 11:59 PM<br clear="none"> <b><span style="font-weight: bold;">Subject:</span></b> Re: system configuration for dumping/restoring LXC<br clear="none"> </font> </div> <div><br clear="none"><div id="yiv6916502092"><div><div dir="ltr"><br clear="none"><div>Hi Krystof,</div><div><br clear="none"></div><div>I added <a href="mailto:criu@openvz.org" target="_blank" rel="nofollow" shape="rect" ymailto="mailto:criu@openvz.org">criu@openvz.org</a> in CC</div><div><br clear="none"><div>2014-09-11 5:03 GMT+04:00 Krystof Zmudzinski <span dir="ltr"><<a href="mailto:krystof_zmudzinski@yahoo.com" target="_blank" rel="nofollow" shape="rect" ymailto="mailto:krystof_zmudzinski@yahoo.com">krystof_zmudzinski@yahoo.com</a>></span>:<br clear="none"><blockquote style="margin: 0px 0px 0px 0.8ex; padding-left: 1ex; border-left-color: rgb(204, 204,
204); border-left-width: 1px; border-left-style: solid;"><div><div style="color: rgb(0, 0, 0); font-family: HelveticaNeue-Light,;"><div>Andrew,</div><div><br clear="none"></div><div>I've spent some time trying to build a system, which would allow me to dump and restore a Linux container using criu. I started by reading instructions on this page <a href="http://criu.org/LXC" target="_blank" rel="nofollow" shape="rect">LXC</a> but the information seems buggy. For example, test-lxc.conf has these 2 seemingly incompatible lines in it:</div><div>lxc.mount = /root/test-lxc/etc/fstab<br clear="none">lxc.rootfs = /root/test-lxc-root/</div><div style="color: rgb(0, 0, 0); font-family: HelveticaNeue-Light,;"><br clear="none"></div><div style="color: rgb(0, 0, 0); font-family: HelveticaNeue-Light,;">So is the rootfs in /root/test-lxc or /root/test-lxc-root></div></div></div></blockquote><div><br clear="none"></div><div>It can't be buggy,
because I have copied this config from my test node. I think you can use /root/test-lxc and don't bind-mount /root/test-lxc to /root/test-lxc-root, but you will need to do this bind-mount to restore the CT.</div><div> </div><blockquote style="margin: 0px 0px 0px 0.8ex; padding-left: 1ex; border-left-color: rgb(204, 204, 204); border-left-width: 1px; border-left-style: solid;"><div><div style="color: rgb(0, 0, 0); font-family: HelveticaNeue-Light,;"><div style="color: rgb(0, 0, 0); font-family: HelveticaNeue-Light,;"><br clear="none"></div><div style="color: rgb(0, 0, 0); font-family: HelveticaNeue-Light,;">When I tried executing lxc-create -n test-lxc -f test-lxc.conf with the configuration as presented on that page, lxc-create failed. When I changed rootfs to /root/test-lxc everywhere, it worked. I was even able to dump the container using the criu-1.3 but restore never worked. That was on
Ubuntu 14.04. When I switched to Fedora 20, even dump didn't work.</div></div></div></blockquote><div><br clear="none"></div><div>If you are able to dump the CT, you must able to restore it. If you can't to do that, it's bug and we are ready to fix it. So could you show how you execute criu and logs from "criu dump" and "criu restore"?</div><div><br clear="none"><br clear="none"></div><div id="yiv6916502092yqtfd95211"><div> </div><blockquote style="margin: 0px 0px 0px 0.8ex; padding-left: 1ex; border-left-color: rgb(204, 204, 204); border-left-width: 1px; border-left-style: solid;"><div><div style="color: rgb(0, 0, 0); font-family: HelveticaNeue-Light,;"><div style="color: rgb(0, 0, 0); font-family: HelveticaNeue-Light,;"><br clear="none"></div><div style="color: rgb(0, 0, 0); font-family: HelveticaNeue-Light,;">I don't really care what system I have to use and how simple my container is. I can tell that there are other people on the
net who talk about successfully dumping and restoring containers but I can't figure out what system/container configurations they use.</div><div style="color: rgb(0, 0, 0); font-family: HelveticaNeue-Light,;"><br clear="none"></div><div style="color: rgb(0, 0, 0); font-family: HelveticaNeue-Light,;">Could you provide me with a pointer to the host configuration and container configuration -- even if I have to go some older versions -- that allow for a successful dump/restore of a Linux container?</div><div style="color: rgb(0, 0, 0); font-family: HelveticaNeue-Light,;"><br clear="none"></div><div style="color: rgb(0, 0, 0); font-family: HelveticaNeue-Light,;">BTW, I have
been able to use criu-1.3 to dump/restore single processes.</div><div style="color: rgb(0, 0, 0); font-family: HelveticaNeue-Light,;"><br clear="none"></div><div style="color: rgb(0, 0, 0); font-family: HelveticaNeue-Light,;">Thanks in adavance,</div><div style="color: rgb(0, 0, 0); font-family: HelveticaNeue-Light,;"><br clear="none"></div><div style="color: rgb(0, 0, 0); font-family: HelveticaNeue-Light,;">Krystof<br clear="none"></div><div><br clear="none"><br clear="none"></div><div style="width: 450px; font-family: Georgia, Times,;"><table style="width: 450px; height: auto; display: block;" border="0" cellspacing="0" cellpadding="0"><tbody><tr><td style="height: 1px; font-size: 1px; border-collapse: collapse; background-color: rgb(229, 229, 229);" rowspan="1" colspan="7"><div style="line-height: 0px; font-size: 1px; min-height: 1px; background-color: rgb(229, 229, 229);"> </div></td></tr><tr><td style="width: 1px; font-size: 1pt;
border-collapse: collapse; background-color: rgb(229, 229, 229);" rowspan="5" colspan="1"><div style="width: 1px; font-size: 1pt; background-color: rgb(229, 229, 229);"> </div></td><td style="width: 14px; font-size: 0pt; border-collapse: collapse; background-color: rgb(255, 255, 255);" rowspan="5" colspan="1"><div style="width: 14px; font-size: 14pt; background-color: rgb(255, 255, 255);"> </div></td><td style="height: 6px; font-size: 0pt; border-collapse: collapse; background-color: rgb(255, 255, 255);" rowspan="1" colspan="2"><div style="font-size: 6pt; min-height: 6px; background-color: rgb(255, 255, 255);"> </div></td><td style="width: 20px; font-size: 0pt; border-collapse: collapse; background-color: rgb(255, 255, 255);" rowspan="5" colspan="1"><div style="width: 20px; font-size: 20pt; background-color: rgb(255, 255, 255);"> </div></td><td width="1" style="width: 1px; font-size: 1pt; border-collapse: collapse; background-color:
rgb(229, 229, 229);" rowspan="5" colspan="1"><div style="width: 1px; font-size: 1pt; background-color: rgb(229, 229, 229);"> </div></td></tr><tr><td style="width: 100%; font-family: Georgia, Times,;" rowspan="1" colspan="2"><div style="width: 414px; line-height: 16.5px; background-color: rgb(255, 255, 255);"><div><span></span><span></span><a style="color: rgb(0, 0, 0); line-height: 100%; font-size: 18px; text-decoration: none; display: block;" href="http://criu.org/LXC" target="_blank" rel="nofollow" shape="rect"><span style="margin: 0px 0px 3px; color: rgb(0, 0, 0); line-height: 21px; overflow: hidden; font-size: 18px; font-weight: normal; display: inline-block; max-height: 43px;">LXC</span></a><div style="color: rgb(153, 153, 153); line-height: 20px; overflow: hidden; font-family: Georgia, Times,;">This article describes how to perform checkpoint-restore for an LXC container.</div></div></div></td></tr><tr><td style="height: 6px; font-size: 0pt;
border-collapse: collapse; background-color: rgb(255, 255, 255);" rowspan="1" colspan="2"><div style="font-size: 6pt; min-height: 6px; background-color: rgb(255, 255, 255);"></div></td></tr><tr><td style="font-family: Arial,;" rowspan="1" colspan="1"><div style="font-size: 0pt;"><a style="color: black; text-decoration: none;" href="http://criu.org/LXC" target="_blank" rel="nofollow" shape="rect"><span style="line-height: 11px; overflow: hidden; display: inline-block; max-height: 13px; min-width: 254px; max-width: 314px;"><span style="color: rgb(153, 153, 153); line-height: 11px; font-size: 9px; vertical-align: middle;">View on <span style="font-weight: bold;">criu.org</span></span></span></a></div></td><td style="width: 100px; font-family: Arial,;" rowspan="1" colspan="1"><div style="text-align: right; line-height: 11px; overflow: hidden; font-size: 0pt; max-height: 13px; min-width: 80px; max-width: 100px;"><span style="color: rgb(153, 153, 153);
line-height: 11px; font-size: 9px; vertical-align: middle;">Preview by Yahoo</span></div></td></tr><tr><td style="height: 9px; font-size: 0pt; border-collapse: collapse; background-color: rgb(255, 255, 255);" rowspan="1" colspan="2"><div style="font-size: 9pt; min-height: 9px; background-color: rgb(255, 255, 255);"></div></td></tr><tr><td style="height: 1px; font-size: 1px; border-collapse: collapse; background-color: rgb(229, 229, 229);" rowspan="1" colspan="7"><div style="line-height: 0px; font-size: 1px; min-height: 1px; background-color: rgb(229, 229, 229);"> </div></td></tr></tbody></table></div><div> </div></div></div></blockquote></div></div><div id="yiv6916502092yqtfd53628"><br clear="none"></div></div></div></div></div><br clear="none"><br clear="none"></div> </div> </div></div> </div></div></div><br clear="none"><br clear="none"></div> </div> </div></div></div> </div></div></div></div></div></div></div></body></html>