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;">
< 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>> 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;">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"><<a href="mailto:vgusev@openvz.org">vgusev@openvz.org</a>></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>
> Hi,<br>
><br>
> Thanks for replying.<br>
><br>
> I'm using linux 2.6.26-2-openvz-amd64 (in Ubuntu), and the OS template<br>
> is ubuntu-6.06-i386-minimal.tar.gz<br>
<br>
</div>Hello! Can you show output 'cat /proc/mounts' in case: before first chkpnt and after restore ?<br>
<div><div></div><div class="h5"><br>
><br>
> Regards<br>
> Anthony<br>
><br>
> On Fri, Sep 11, 2009 at 12:59 PM, Thorsten Schifferdecker<br>
> <<a href="mailto:tsd@debian.systs.org">tsd@debian.systs.org</a>> wrote:<br>
> > reHi,<br>
> ><br>
> > please post your kernel version and used OS Template.<br>
> ><br>
> > Bye,<br>
> > Thorsten<br>
> ><br>
> > Anthony - wrote:<br>
> >> Hi,<br>
> >><br>
> >> I'm trying to use the vzctl chkpnt/restore commands.<br>
> >><br>
> >> Here is what I get :<br>
> >><br>
> >> 1st chkpnt OK:<br>
> >><br>
> >> sudo vzctl chkpnt 100 --dumpfile dump1<br>
> >> Setting up checkpoint...<br>
> >> suspend...<br>
> >> dump...<br>
> >> kill...<br>
> >> VE is unmounted<br>
> >> Checkpointing completed succesfully<br>
> >><br>
> >><br>
> >><br>
> >> restore OK:<br>
> >><br>
> >> sudo vzctl restore 100 --dumpfile dump1<br>
> >> Restoring VE ...<br>
> >> Warning: distribution not specified default used /etc/vz/dists/default<br>
> >> Starting VE ...<br>
> >> VE is mounted<br>
> >> undump...<br>
> >> Setting CPU units: 10561<br>
> >><br>
> >> Configure meminfo: 138288<br>
> >> Configure veth devices: hnsTap0 hnsTap1<br>
> >> resume...<br>
> >> VE start in progress...<br>
> >> Restoring completed succesfully<br>
> >><br>
> >><br>
> >><br>
> >> and the 2nd chkpnt fails:<br>
> >><br>
> >> sudo vzctl chkpnt 100 --dumpfile dump1<br>
> >> Setting up checkpoint...<br>
> >> suspend...<br>
> >> dump...<br>
> >> Can not dump VE: Invalid argument<br>
> >> Error: d_path is invisible /var/lock<br>
> >> Checkpointing failed<br>
> >><br>
> >><br>
> >><br>
> >> What is the problem with /var/lock ?<br>
> >><br>
> >> ls -lh /var/lock<br>
> >> total 0<br>
> >> drwxr-xr-x 2 www-data root 40 2009-09-10 09:15 apache2<br>
> >> -rw-r--r-- 1 root root 0 2009-09-10 09:15 vz<br>
> >><br>
> >><br>
> >><br>
> >> Thanks<br>
> >> Anthony<br>
> >><br>
> >><br>
> >> ------------------------------------------------------------------------<br>
> >><br>
> >> _______________________________________________<br>
> >> Users mailing list<br>
> >> <a href="mailto:Users@openvz.org">Users@openvz.org</a><br>
> >> <a href="https://openvz.org/mailman/listinfo/users" target="_blank">https://openvz.org/mailman/listinfo/users</a><br>
> > _______________________________________________<br>
> > Users mailing list<br>
> > <a href="mailto:Users@openvz.org">Users@openvz.org</a><br>
> > <a href="https://openvz.org/mailman/listinfo/users" target="_blank">https://openvz.org/mailman/listinfo/users</a><br>
> ><br>
><br>
> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@openvz.org">Users@openvz.org</a><br>
> <a href="https://openvz.org/mailman/listinfo/users" target="_blank">https://openvz.org/mailman/listinfo/users</a><br>
><br>
><br>
</div></div></blockquote></div><br>