OpenVZ Forum


Home » General » Support » VPS checkpointing problem
Re: VPS checkpointing problem [message #6471 is a reply to message #6460] Mon, 18 September 2006 12:59 Go to previous messageGo to previous message
dagr is currently offline  dagr
Messages: 83
Registered: February 2006
Member
of course i didnt tried to restore it 2 times
here is list of commands

sudo vzctl start 2
sudo vzctl chkpnt 2 --suspend
sudo vzctl chkpnt 2 --dump --dumpfile /home/dagr/2.dump
sudo vzctl chkpnt 2 --kill
sudo vzctl restore 2 --undump --dumpfile /home/dagr/2.dump
sudo vzctl restore 2 --resume
sudo vzctl stop 2

sudo vzctl start 2

<<
here i entered vps and launched screen and top -d 1 inside it
then detached (just dropped connection)
after such trick you are able to enter vps again , run "screen -r" and you get to same console where top -d 1
<<
and after that: (i write successfull commands without output)

sudo vzctl chkpnt 2 --suspend
sudo vzctl chkpnt 2 --dump --dumpfile /home/dagr/2.dump
sudo vzctl chkpnt 2 --kill
[dagr@mydbtest ~]$ sudo vzctl restore 2 --undump --dumpfile /home/dagr/2.dump
Restoring VPS ...
Starting VPS ...
VPS is mounted
undump...
Adding IP address(es): 192.168.102.2
Setting CPU units: 1000
Error: undump failed: No such file or directory
Restoring failed:
rst_file: -2 48448
rst_files: -2
make_baby: -2
rst_clone_children
VPS start failed
Stopping VPS ...
VPS was stopped
VPS is unmounted
/home/dagr/2.dump
Restoring VPS ...
Starting VPS ...
VPS is mounted
undump...
Adding IP address(es): 192.168.102.2
Setting CPU units: 1000
Error: undump failed: No such file or directory
Restoring failed:
rst_file: -2 48448
rst_files: -2
make_baby: -2
rst_clone_children
VPS start failed
Stopping VPS ...
VPS was stopped
VPS is unmounted
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to fine tune the server performace
Next Topic: Networking questions
Goto Forum:
  


Current Time: Wed Jul 30 09:23:23 GMT 2025

Total time taken to generate the page: 0.09704 seconds