Restore error, but restored VM seems to be working [message #11385] |
Thu, 22 March 2007 13:42  |
ugob
Messages: 271 Registered: March 2007
|
Senior Member |
|
|
Hi, I have just made a restore this way:
vzctl chkpnt 109 --suspend
vzctl chkpnt 109 --dump --dumpfile /data/vz/dump/Dump.109
cd /data/vz/private/
tar -xjf 109_private.tar.bz2 109/
vzctl chkpnt 109 --suspend
scp 109_private.tar.bz2 user@destination.server:/home/user/
created a /etc/vz/conf/109.conf by copying another file, changing hostname and IP address.
untarred the private data into /home/vz/private/109 (VE_PRIVATE=/home/vz/private/$VEID on this server)
vzctl restore 109 --dumpfile /home/user/Dump.109
Then I get this error:
Error: undump failed: Invalid argument
Restoring failed:
open_listening_socket: listen: -22, 91968, 0
rst_sockets: open_listening_socket: -22
rst_sockets: -22
VE start failed
Kernel Log:
Mar 22 08:42:24 svr01 kernel: CPT ERR: f696a400,109 :open_listening_socket: listen: -22, 91968, 0
Mar 22 08:42:24 svr01 kernel: CPT ERR: f696a400,109 :rst_sockets: open_listening_socket: -22
Mar 22 08:42:24 svr01 kernel: CPT ERR: f696a400,109 :rst_sockets: -22
But if I do a vzctl start 109, everything seems to be working perfectly.
ovzkernel-2.6.9-023stab040.1
vzctl-3.0.16-1
Should I worry about that?
Am I using the right method if I want to do a simple dump and restore from one server to another (I don't want to do a migration)
Regards,
Please read the manual before asking questions:
http://download.openvz.org/doc/OpenVZ-Users-Guide.pdf
Please have a look at the wiki before asking questions:
http://wiki.openvz.org/Main_Page
|
|
|