OpenVZ Forum


Home » International » Russian » ovz backup & checkpointing
ovz backup & checkpointing [message #7280] Tue, 10 October 2006 06:03 Go to previous message
enpx is currently offline  enpx
Messages: 50
Registered: October 2006
Member
Здраствуйте!

Как правильно выполнять бэкап VE? Вот тут http://forum.openvz.org/index.php?t=msg&goto=1888& предлагают tar & rsync - как-то слишком грубо. После прочтения вот этого http://wiki.openvz.org/Checkpointing_and_live_migration решил сделать так:

[root@m0 ~]# vzctl chkpnt 101 --suspend
Setting up checkpoint...
        suspend...
        get context...
Checkpointing completed succesfully
[root@m0 ~]# vzctl chkpnt 101 --dump --dumpfile 101.dump
Setting up checkpoint...
        join context..
        dump...
Can not dump VE: Device or resource busy
unsupported netdevice eth2
Checkpointing failed
[root@m0 ~]# ls -l 101.dump
-rw------- 1 root root 3424 Oct 10 11:36 101.dump


В VE проброшена сетевая карта eth2 с помощью --netdev_add. После ее удаления ничего не изменилось.

Создал новый VE и проделал то же:

[root@m0 ~]# vzctl create 103 --ostemplate centos-4-i386-minimal --config vps.basic
Creating VE private area: /var/lib/vz/private/103
Performing postcreate actions
VE private area was created
[root@m0 ~]# vzctl start 103
Starting VE ...
VE is mounted
Setting CPU units: 1000
VE start in progress...
[root@m0 ~]# vzctl enter 103
entered into VE 103
...
[root@m0 ~]# vzctl chkpnt 103 --suspend
Setting up checkpoint...
        suspend...
        get context...
Checkpointing completed succesfully
[root@m0 ~]# vzctl chkpnt 103 --dump --dumpfile 103.dump
Setting up checkpoint...
        join context..
        dump...
Can not dump VE: Invalid argument
page without mapping at 00dd0000@18768
dump_one_vma: funkey page
Checkpointing failed


В чем дело?
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: [SOLVED] /dev/null permissions
Next Topic: OpenVZ виснет
Goto Forum:
  


Current Time: Fri Dec 27 01:51:07 GMT 2024

Total time taken to generate the page: 0.04490 seconds