<div dir="ltr"><div><div>Hi Nikolay,<br><br></div>Thanks for reply, I used Opennebula version
4.2 and OpenVZ version 2.6.32-042stab083.2, the vm log file is below,
the mv runs correctly but when I put it on STOP has errors:<br><br>alexopn@ubuntuOpNeb:~$ cat /var/log/one/14.log<br>Wed Dec 18 15:46:10 2013 [DiM][I]: New VM state is ACTIVE.<br>Wed Dec 18 15:46:10 2013 [LCM][I]: New VM state is PROLOG.<br>
Wed Dec 18 15:46:10 2013 [VM][I]: Virtual Machine has no context<br>Wed Dec 18 15:46:48 2013 [LCM][I]: New VM state is BOOT<br>Wed Dec 18 15:46:48 2013 [VMM][I]: Generating deployment file: /var/lib/one/vms/14/deployment.0<br>
Wed Dec 18 15:46:48 2013 [VMM][I]: ExitCode: 0<br>Wed Dec 18 15:46:48 2013 [VMM][I]: Successfully execute network driver operation: pre.<br>Wed
Dec 18 15:47:54 2013 [VMM][I]: deploy: Executed "/usr/bin/sudo mv
"/var/lib/vz/template/cache/debian-7.0-x86_64.tar.gz"
"/var/lib/vz/template/cache/debian-7.0-x86_64.tar.gz.1387399618" 2>
/dev/null; true".<br>Wed Dec 18 15:47:54 2013 [VMM][I]: deploy: Executed
"/usr/bin/sudo ln -sf "/vz/one/datastores/0/14/disk.0"
"/var/lib/vz/template/cache/debian-7.0-x86_64.tar.gz"".<br>Wed Dec 18
15:47:54 2013 [VMM][I]: deploy: Executed "/usr/bin/sudo /usr/sbin/vzctl
create 1014 --layout ploop --ostemplate "debian-7.0-x86_64" --private
"/vz/one/datastores/0/14/private" --root
"/vz/one/datastores/0/14/root"".<br>Wed Dec 18 15:47:54 2013 [VMM][I]: deploy: Executed "/usr/bin/sudo /usr/sbin/vzctl set 1014 --diskspace 2G:2.2G --save".<br>Wed
Dec 18 15:47:54 2013 [VMM][I]: deploy: Executed "/usr/bin/sudo tar -cf
"/vz/one/datastores/0/14/disk.0" --gzip -Sp -C
"/vz/one/datastores/0/14/private" . --ignore-failed-read".<br>Wed Dec 18 15:47:54 2013 [VMM][I]: deploy: Executed "/usr/bin/sudo rm -f "/var/lib/vz/template/cache/debian-7.0-x86_64.tar.gz"".<br>
Wed
Dec 18 15:47:54 2013 [VMM][I]: deploy: Executed "/usr/bin/sudo mv
"/var/lib/vz/template/cache/debian-7.0-x86_64.tar.gz.1387399618"
"/var/lib/vz/template/cache/debian-7.0-x86_64.tar.gz" 2> /dev/null;
true".<br>Wed Dec 18 15:47:54 2013 [VMM][I]: deploy: Executed
"/usr/bin/sudo cp "/vz/one/datastores/0/14/vm_conf"
"/etc/vz/conf/1014.conf"".<br>Wed Dec 18 15:47:54 2013 [VMM][I]: deploy: Not performing contextualization, no context given.<br>Wed Dec 18 15:47:54 2013 [VMM][I]: deploy: Executed "/usr/bin/sudo chown 1001:1001 -R /vz/one/datastores/0/14/private".<br>
Wed Dec 18 15:47:54 2013 [VMM][I]: deploy: Executed "/usr/bin/sudo /usr/sbin/vzctl start 1014".<br>Wed Dec 18 15:47:54 2013 [VMM][I]: deploy: Executed "/usr/bin/sudo chown 1001:1001 /vz/one/datastores/0/14/root".<br>
Wed Dec 18 15:47:54 2013 [VMM][I]: ExitCode: 0<br>Wed Dec 18 15:47:54 2013 [VMM][I]: Successfully execute virtualization driver operation: deploy.<br>Wed Dec 18 15:47:54 2013 [VMM][I]: ExitCode: 0<br>Wed Dec 18 15:47:54 2013 [VMM][I]: Successfully execute network driver operation: post.<br>
Wed Dec 18 15:47:54 2013 [LCM][I]: New VM state is RUNNING<br>Wed Dec 18 16:13:40 2013 [LCM][I]: New VM state is SAVE_STOP<br>Wed
Dec 18 16:13:56 2013 [VMM][I]: save: Executed "/usr/bin/sudo
/usr/sbin/vzctl chkpnt 1014 --dumpfile
/vz/one/datastores/0/14/checkpoint".<br>Wed Dec 18 16:13:56 2013 [VMM][I]: save: Executed "/usr/bin/sudo chown oneadmin:oneadmin /vz/one/datastores/0/14/checkpoint".<br>Wed Dec 18 16:13:56 2013 [VMM][I]: ExitCode: 0<br>
Wed Dec 18 16:13:56 2013 [VMM][I]: Successfully execute virtualization driver operation: save.<br>Wed Dec 18 16:13:56 2013 [VMM][I]: ExitCode: 0<br>Wed Dec 18 16:13:56 2013 [VMM][I]: Successfully execute network driver operation: clean.<br>
Wed Dec 18 16:13:56 2013 [LCM][I]: New VM state is EPILOG_STOP<br>Wed
Dec 18 16:14:02 2013 [TM][I]: Command execution fail:
/var/lib/one/remotes/tm/ssh/mv ubuntu:/vz/one/datastores/0/14
ubuntuOpNeb:/vz/one/datastores/0/14 14 0<br>Wed Dec 18 16:14:02 2013 [TM][I]: mv: Moving ubuntu:/vz/one/datastores/0/14 to ubuntuOpNeb:/vz/one/datastores/0/14<br>Wed
Dec 18 16:14:02 2013 [TM][E]: mv: Command "eval ssh ubuntu 'tar -C
/vz/one/datastores/0 -cf - 14' | ssh ubuntuOpNeb 'tar -C
/vz/one/datastores/0 -xf -'" failed: tar: /vz/one/datastores/0: No se
puede open: No existe el archivo o el directorio<br>Wed Dec 18 16:14:02 2013 [TM][I]: tar: Error is not recoverable: exiting now<br>Wed Dec 18 16:14:02 2013 [TM][E]: Error copying disk directory to target host<br>Wed Dec 18 16:14:02 2013 [TM][I]: ExitCode: 2<br>
Wed Dec 18 16:14:02 2013 [TM][E]: Error executing image transfer script: Error copying disk directory to target host<br>Wed Dec 18 16:14:02 2013 [DiM][I]: New VM state is FAILED<br>Wed Dec 18 16:15:30 2013 [DiM][I]: New VM state is DONE.<br>
alexopn@ubuntuOpNeb:~$ <br><br></div>Thanks, Caty.<br></div>