[solved] Checkpointing does not work ? [message #33968] |
Fri, 21 November 2008 21:23 ![Go to next message Go to previous message](/theme/ovz3/images/down.png) |
ronnidk
Messages: 7 Registered: November 2008 Location: Denmark
|
Junior Member |
|
|
Hi,
I want to substitue one of my virtual servers, so the new one get the old ones information; container id, hostname, ip etc.
I read in this thread: http://forum.openvz.org/index.php?t=msg&goto=29069&
That I should do this:
host# vzctl chkpnt 101 --dumpfile /tmp/Dump.101
host# mv /etc/vz/conf/101.conf /etc/vz/conf/102.conf
host# mv /vz/private/101 /vz/private/102
host# mv /vz/root/101 /vz/root/102
host# vzctl restore 102 --dumpfile /tmp/Dump.101
But when I do:
vzctl chkpnt 101 --dumpfile /tmp/Dump.101
I get thsi error:
Setting up checkpoint...
suspend...
dump...
Can not dump container: Invalid argument
Error: iptables-save exited with 255
Checkpointing failed
The /var/log/vzctl.log also just tells me that it can't dump the container, but not why?
Any help?
- Ronni
[Updated on: Tue, 25 November 2008 13:26] by Moderator Report message to a moderator
|
|
|