Note the error in the subject line isn't my typo. "To" is misspelled in the error printed by the system.
[root@chinaberry jwl]# lst /tmp
total 63556
-rw------- 1 root root 54986624 Aug 11 10:19 204.vz
[root@chinaberry jwl]# vzctl --version
vzctl version 4.7.2
root@chinaberry jwl]# vzmigrate 192.168.2.55 204
Locked CT
Starting migration of CT 204 to 192.168.2.55
Preparing remote node
Initializing remote quota
vzquota : (warning) Quota file exists, it will be overwritten
Syncing private
Stopping container
Syncing 2nd level quota
Starting container
Error: Failed to start container
Starting container...
Container is mounted
Adding IP address(es): 192.168.2.4
Setting CPU units: 1000
Configure veth devices: veth204.0
Container start in progress...
vzquota : (error) Quota is not running for id 204
[root@chinaberry jwl]# vzctl chkpnt 204 --dumpfile /tmp/204.vz
Setting up checkpoint...
suspend...
dump...
kill...
Checkpointing completed successfully
Container is unmounted
[root@chinaberry jwl]# lst /tmp
total 63556
-rw------- 1 root root 54986624 Aug 11 10:19 204.vz
Copied it to another system:
Linux centos 2.6.32-042stab072.10 #1 SMP Wed Jan 16 18:54:05 MSK 2013 x86_64 x86_64 x86_64 GNU/Linux
[root@centos root]# vzctl --version
vzctl version 4.7.2
[root@centos root]# vzctl restore 204 --dumpfile /root/204.vz
Restoring container ...
Initializing quota ...
Container is mounted
undump...
Adding IP address(es): 192.168.2.4
Setting CPU units: 1000
Configure veth devices: veth204.0
Restore error, undump failed: No such file or directory
Error: Failed ot lookup path '/proc'
Error: Failed to restore mount point @3528 dev 'proc', type 'proc', path '/proc'
Error: rst_namespace: -2
Container restore failed
Container is unmounted
[root@centos root]# ls /vz/private/204
[root@centos root]# ls /vz/root/204
Note, I was following the instructions at https://openvz.org/Checkpointing_and_live_migration. When moving from one system to another you have to manually transfer the config file and make the /vz/root/<VID> and /vz/private/<VID> directories. I think it should be mentioned on that page.
I also attempted a migration as
[root@chinaberry jwl]# vzmigrate 192.168.2.55 204
Locked CT
Starting migration of CT 204 to 192.168.2.55
Preparing remote node
Initializing remote quota
vzquota : (warning) Quota file exists, it will be overwritten
Syncing private
Stopping container
Syncing 2nd level quota
Starting container
Error: Failed to start container
Starting container...
Container is mounted
Adding IP address(es): 192.168.2.4
Setting CPU units: 1000
Configure veth devices: veth204.0
Container start in progress...
vzquota : (error) Quota is not running for id 204
But there was no trace of 204 on the destination system. No config, no root or public directories.
Thanks for any help
Jim.