Hi,
I'm trying to use the vzctl chkpnt/restore commands.
Here is what I get :
1st chkpnt OK
sudo vzctl chkpnt 100 --dumpfile dump1
Setting up checkpoint...
suspend...
dump...
kill...
VE is unmounted
Checkpointing completed succesfully
restore OK
sudo vzctl restore 100 --dumpfile dump1
Restoring VE ...
Warning: distribution not specified default used /etc/vz/dists/default
Starting VE ...
VE is mounted
undump...
Setting CPU units: 10561
Configure meminfo: 138288
Configure veth devices: hnsTap0 hnsTap1
resume...
VE start in progress...
Restoring completed succesfully
2nd chkpnt fails:
sudo vzctl chkpnt 100 --dumpfile dump1
Setting up checkpoint...
suspend...
dump...
Can not dump VE: Invalid argument
Error: d_path is invisible /var/lock
Checkpointing failed
What is the problem with /var/lock ?
ls -lh /var/lock
total 0
drwxr-xr-x 2 www-data root 40 2009-09-10 09:15 apache2
-rw-r--r-- 1 root root 0 2009-09-10 09:15 vz
Thanks