Hi,<br><br>here is the command result on the host before first chkpnt :<br><br>none /sys sysfs rw,nosuid,nodev,noexec 0 0<br>none /proc proc rw,nosuid,nodev,noexec 0 0<br>udev /dev tmpfs rw,mode=755 0 0<br>/dev/disk/by-uuid/52755e51-82e3-4df7-bdee-a91e834b04c1 / ext3 rw,relatime,errors=remount-ro,data=ordered 0 0<br>
tmpfs /lib/init/rw tmpfs rw,nosuid,mode=755 0 0<br>fusectl /sys/fs/fuse/connections fusectl rw 0 0<br>varrun /var/run tmpfs rw,nosuid,mode=755 0 0<br>varlock /var/lock tmpfs rw,nosuid,nodev,noexec 0 0<br>tmpfs /dev/shm tmpfs rw,nosuid,nodev 0 0<br>
devpts /dev/pts devpts rw,nosuid,noexec,gid=5,mode=620 0 0<br>/dev/sda7 /mnt/data ext3 rw,nosuid,nodev,errors=continue,data=ordered 0 0<br>/dev/sda8 /tmp/qemuShare vfat rw,sync,dirsync,nosuid,nodev,fmask=0022,dmask=0022,allow_utime=177777,codepage=cp437,iocharset=utf8 0 0<br>
rpc_pipefs /var/lib/nfs/rpc_pipefs rpc_pipefs rw 0 0<br>nfsd /proc/fs/nfsd nfsd rw 0 0<br>binfmt_misc /proc/sys/fs/binfmt_misc binfmt_misc rw,nosuid,nodev,noexec 0 0<br>gvfs-fuse-daemon /home/all/.gvfs fuse.gvfs-fuse-daemon rw,nosuid,nodev,user_id=1000,group_id=1000 0 0<br>
/mnt/data/catalogue/machines/master/0c0cf7cb-efb4-4065-ac2d-e63ad51e72cf/private /mnt/data/catalogue/machines/master/0c0cf7cb-efb4-4065-ac2d-e63ad51e72cf/root simfs rw 0 0<br>proc /mnt/data/catalogue/machines/master/0c0cf7cb-efb4-4065-ac2d-e63ad51e72cf/root/proc proc rw 0 0<br>
sysfs /mnt/data/catalogue/machines/master/0c0cf7cb-efb4-4065-ac2d-e63ad51e72cf/root/sys sysfs rw 0 0<br>tmpfs /mnt/data/catalogue/machines/master/0c0cf7cb-efb4-4065-ac2d-e63ad51e72cf/root/var/run tmpfs rw,mode=755 0 0<br>
tmpfs /mnt/data/catalogue/machines/master/0c0cf7cb-efb4-4065-ac2d-e63ad51e72cf/root/var/lock tmpfs rw 0 0<br>devpts /mnt/data/catalogue/machines/master/0c0cf7cb-efb4-4065-ac2d-e63ad51e72cf/root/dev/pts devpts rw,gid=5,mode=620 0 0<br>
tmpfs /mnt/data/catalogue/machines/master/0c0cf7cb-efb4-4065-ac2d-e63ad51e72cf/root/dev/shm tmpfs rw 0 0<br>tmpfs /mnt/data/catalogue/machines/master/0c0cf7cb-efb4-4065-ac2d-e63ad51e72cf/root/var/run tmpfs rw,mode=755 0 0<br>
tmpfs /mnt/data/catalogue/machines/master/0c0cf7cb-efb4-4065-ac2d-e63ad51e72cf/root/var/lock tmpfs rw 0 0<br><br>and after the restore :<br><br>
<meta name="qrichtext" content="1"><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><style type="text/css">
p, li { white-space: pre-wrap; }
</style>
<p style="margin: 0px; text-indent: 0px;">none /sys sysfs rw,nosuid,nodev,noexec 0 0<br>none /proc proc rw,nosuid,nodev,noexec 0 0<br>udev /dev tmpfs rw,mode=755 0 0<br>/dev/disk/by-uuid/52755e51-82e3-4df7-bdee-a91e834b04c1 / ext3 rw,relatime,errors=remount-ro,data=ordered 0 0<br>
tmpfs /lib/init/rw tmpfs rw,nosuid,mode=755 0 0<br>fusectl /sys/fs/fuse/connections fusectl rw 0 0<br>varrun /var/run tmpfs rw,nosuid,mode=755 0 0<br>varlock /var/lock tmpfs rw,nosuid,nodev,noexec 0 0<br>tmpfs /dev/shm tmpfs rw,nosuid,nodev 0 0<br>
devpts /dev/pts devpts rw,nosuid,noexec,gid=5,mode=620 0 0<br>/dev/sda7 /mnt/data ext3 rw,nosuid,nodev,errors=continue,data=ordered 0 0<br>/dev/sda8 /tmp/qemuShare vfat rw,sync,dirsync,nosuid,nodev,fmask=0022,dmask=0022,allow_utime=177777,codepage=cp437,iocharset=utf8 0 0<br>
rpc_pipefs /var/lib/nfs/rpc_pipefs rpc_pipefs rw 0 0<br>nfsd /proc/fs/nfsd nfsd rw 0 0<br>binfmt_misc /proc/sys/fs/binfmt_misc binfmt_misc rw,nosuid,nodev,noexec 0 0<br>gvfs-fuse-daemon /home/all/.gvfs fuse.gvfs-fuse-daemon rw,nosuid,nodev,user_id=1000,group_id=1000 0 0<br>
/mnt/data/catalogue/machines/master/0c0cf7cb-efb4-4065-ac2d-e63ad51e72cf/private /mnt/data/catalogue/machines/master/0c0cf7cb-efb4-4065-ac2d-e63ad51e72cf/root simfs rw 0 0<br>none /mnt/data/catalogue/machines/master/0c0cf7cb-efb4-4065-ac2d-e63ad51e72cf/root/proc proc rw,nosuid,noexec,nodiratime 0 0<br>
none /mnt/data/catalogue/machines/master/0c0cf7cb-efb4-4065-ac2d-e63ad51e72cf/root/sys sysfs rw 0 0<br>none /mnt/data/catalogue/machines/master/0c0cf7cb-efb4-4065-ac2d-e63ad51e72cf/root/var/run tmpfs rw 0 0<br>none /mnt/data/catalogue/machines/master/0c0cf7cb-efb4-4065-ac2d-e63ad51e72cf/root/var/lock tmpfs rw 0 0<br>
none /mnt/data/catalogue/machines/master/0c0cf7cb-efb4-4065-ac2d-e63ad51e72cf/root/dev/pts devpts rw,gid=5,mode=620 0 0<br>none /mnt/data/catalogue/machines/master/0c0cf7cb-efb4-4065-ac2d-e63ad51e72cf/root/dev/shm tmpfs rw 0 0<br>
none /mnt/data/catalogue/machines/master/0c0cf7cb-efb4-4065-ac2d-e63ad51e72cf/root/var/run tmpfs rw 0 0<br>/mnt/data/catalogue/machines/master/0c0cf7cb-efb4-4065-ac2d-e63ad51e72cf/private /mnt/data/catalogue/machines/master/0c0cf7cb-efb4-4065-ac2d-e63ad51e72cf/root/var/lock simfs rw 0 0<br>
</p><p style="margin: 0px; text-indent: 0px;"><br></p><p style="margin: 0px; text-indent: 0px;">Here is the diff between both checks:</p><p style="margin: 0px; text-indent: 0px;"> </p><p style="margin: 0px; text-indent: 0px;">
&lt; proc /mnt/data/catalogue/machines/master/0c0cf7cb-efb4-4065-ac2d-e63ad51e72cf/root/proc proc rw 0 0<br>&lt; sysfs /mnt/data/catalogue/machines/master/0c0cf7cb-efb4-4065-ac2d-e63ad51e72cf/root/sys sysfs rw 0 0<br>&lt; tmpfs /mnt/data/catalogue/machines/master/0c0cf7cb-efb4-4065-ac2d-e63ad51e72cf/root/var/run tmpfs rw,mode=755 0 0<br>
&lt; tmpfs /mnt/data/catalogue/machines/master/0c0cf7cb-efb4-4065-ac2d-e63ad51e72cf/root/var/lock tmpfs rw 0 0<br>&lt; devpts /mnt/data/catalogue/machines/master/0c0cf7cb-efb4-4065-ac2d-e63ad51e72cf/root/dev/pts devpts rw,gid=5,mode=620 0 0<br>
&lt; tmpfs /mnt/data/catalogue/machines/master/0c0cf7cb-efb4-4065-ac2d-e63ad51e72cf/root/dev/shm tmpfs rw 0 0<br>&lt; tmpfs /mnt/data/catalogue/machines/master/0c0cf7cb-efb4-4065-ac2d-e63ad51e72cf/root/var/run tmpfs rw,mode=755 0 0<br>
&lt; tmpfs /mnt/data/catalogue/machines/master/0c0cf7cb-efb4-4065-ac2d-e63ad51e72cf/root/var/lock tmpfs rw 0 0<br>---<br>&gt; none /mnt/data/catalogue/machines/master/0c0cf7cb-efb4-4065-ac2d-e63ad51e72cf/root/proc proc rw,nosuid,noexec,nodiratime 0 0<br>
&gt; none /mnt/data/catalogue/machines/master/0c0cf7cb-efb4-4065-ac2d-e63ad51e72cf/root/sys sysfs rw 0 0<br>&gt; none /mnt/data/catalogue/machines/master/0c0cf7cb-efb4-4065-ac2d-e63ad51e72cf/root/var/run tmpfs rw 0 0<br>&gt; none /mnt/data/catalogue/machines/master/0c0cf7cb-efb4-4065-ac2d-e63ad51e72cf/root/var/lock tmpfs rw 0 0<br>
&gt; none /mnt/data/catalogue/machines/master/0c0cf7cb-efb4-4065-ac2d-e63ad51e72cf/root/dev/pts devpts rw,gid=5,mode=620 0 0<br>&gt; none /mnt/data/catalogue/machines/master/0c0cf7cb-efb4-4065-ac2d-e63ad51e72cf/root/dev/shm tmpfs rw 0 0<br>
&gt; none /mnt/data/catalogue/machines/master/0c0cf7cb-efb4-4065-ac2d-e63ad51e72cf/root/var/run tmpfs rw 0 0<br>&gt; /mnt/data/catalogue/machines/master/0c0cf7cb-efb4-4065-ac2d-e63ad51e72cf/private /mnt/data/catalogue/machines/master/0c0cf7cb-efb4-4065-ac2d-e63ad51e72cf/root/var/lock simfs rw 0 0<br>
</p><p style="margin: 0px; text-indent: 0px;"><br></p><p style="margin: 0px; text-indent: 0px;">thanks</p><p style="margin: 0px; text-indent: 0px;">anthony<br><meta name="qrichtext" content="1"><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><style type="text/css">
p, li { white-space: pre-wrap; }
</style></p><p style="margin: 0px; text-indent: 0px;"></p><br><p></p><br><br><div class="gmail_quote">2009/9/29 Vitaliy Gusev <span dir="ltr">&lt;<a href="mailto:vgusev@openvz.org">vgusev@openvz.org</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">On Friday 11 September 2009 03:43:45 pm Anthony wrote:<br>
&gt; Hi,<br>
&gt;<br>
&gt; Thanks for replying.<br>
&gt;<br>
&gt; I&#39;m using linux 2.6.26-2-openvz-amd64 (in Ubuntu), and the OS template<br>
&gt; is ubuntu-6.06-i386-minimal.tar.gz<br>
<br>
</div>Hello! Can you show output &#39;cat /proc/mounts&#39; in case:  before first chkpnt and  after restore ?<br>
<div><div></div><div class="h5"><br>
&gt;<br>
&gt; Regards<br>
&gt; Anthony<br>
&gt;<br>
&gt; On Fri, Sep 11, 2009 at 12:59 PM, Thorsten Schifferdecker<br>
&gt; &lt;<a href="mailto:tsd@debian.systs.org">tsd@debian.systs.org</a>&gt; wrote:<br>
&gt; &gt; reHi,<br>
&gt; &gt;<br>
&gt; &gt; please post your kernel version and used OS Template.<br>
&gt; &gt;<br>
&gt; &gt; Bye,<br>
&gt; &gt;  Thorsten<br>
&gt; &gt;<br>
&gt; &gt; Anthony - wrote:<br>
&gt; &gt;&gt; Hi,<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; I&#39;m trying to use the vzctl chkpnt/restore commands.<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; Here is what I get :<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; 1st chkpnt OK:<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; sudo vzctl chkpnt 100 --dumpfile dump1<br>
&gt; &gt;&gt; Setting up checkpoint...<br>
&gt; &gt;&gt;       suspend...<br>
&gt; &gt;&gt;       dump...<br>
&gt; &gt;&gt;       kill...<br>
&gt; &gt;&gt; VE is unmounted<br>
&gt; &gt;&gt; Checkpointing completed succesfully<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; restore OK:<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; sudo vzctl restore 100 --dumpfile dump1<br>
&gt; &gt;&gt; Restoring VE ...<br>
&gt; &gt;&gt; Warning: distribution not specified default used /etc/vz/dists/default<br>
&gt; &gt;&gt; Starting VE ...<br>
&gt; &gt;&gt; VE is mounted<br>
&gt; &gt;&gt;       undump...<br>
&gt; &gt;&gt; Setting CPU units: 10561<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; Configure meminfo: 138288<br>
&gt; &gt;&gt; Configure veth devices: hnsTap0 hnsTap1<br>
&gt; &gt;&gt;       resume...<br>
&gt; &gt;&gt; VE start in progress...<br>
&gt; &gt;&gt; Restoring completed succesfully<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; and the 2nd chkpnt fails:<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; sudo vzctl chkpnt 100 --dumpfile dump1<br>
&gt; &gt;&gt; Setting up checkpoint...<br>
&gt; &gt;&gt;       suspend...<br>
&gt; &gt;&gt;       dump...<br>
&gt; &gt;&gt; Can not dump VE: Invalid argument<br>
&gt; &gt;&gt; Error: d_path is invisible /var/lock<br>
&gt; &gt;&gt; Checkpointing failed<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; What is the problem with /var/lock ?<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; ls -lh /var/lock<br>
&gt; &gt;&gt; total 0<br>
&gt; &gt;&gt; drwxr-xr-x 2 www-data root 40 2009-09-10 09:15 apache2<br>
&gt; &gt;&gt; -rw-r--r-- 1 root     root  0 2009-09-10 09:15 vz<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; Thanks<br>
&gt; &gt;&gt; Anthony<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; ------------------------------------------------------------------------<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; _______________________________________________<br>
&gt; &gt;&gt; Users mailing list<br>
&gt; &gt;&gt; <a href="mailto:Users@openvz.org">Users@openvz.org</a><br>
&gt; &gt;&gt; <a href="https://openvz.org/mailman/listinfo/users" target="_blank">https://openvz.org/mailman/listinfo/users</a><br>
&gt; &gt; _______________________________________________<br>
&gt; &gt; Users mailing list<br>
&gt; &gt; <a href="mailto:Users@openvz.org">Users@openvz.org</a><br>
&gt; &gt; <a href="https://openvz.org/mailman/listinfo/users" target="_blank">https://openvz.org/mailman/listinfo/users</a><br>
&gt; &gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Users mailing list<br>
&gt; <a href="mailto:Users@openvz.org">Users@openvz.org</a><br>
&gt; <a href="https://openvz.org/mailman/listinfo/users" target="_blank">https://openvz.org/mailman/listinfo/users</a><br>
&gt;<br>
&gt;<br>
</div></div></blockquote></div><br>