ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
* [Sysadmins] ovz backup & checkpointing
@ 2006-10-10  6:04 Eugene Prokopiev
  2006-10-10  7:34 ` Alexey I. Froloff
  0 siblings, 1 reply; 7+ messages in thread
From: Eugene Prokopiev @ 2006-10-10  6:04 UTC (permalink / raw)
  To: Sysadmins

Здраствуйте!

Как правильно выполнять бэкап 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

В чем дело?

-- 
С уважением, Прокопьев Евгений



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2006-10-11 14:28 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-10-10  6:04 [Sysadmins] ovz backup & checkpointing Eugene Prokopiev
2006-10-10  7:34 ` Alexey I. Froloff
2006-10-10  8:58   ` Eugene Prokopiev
2006-10-10  9:08     ` Alexey I. Froloff
2006-10-10  9:34       ` Eugene Prokopiev
2006-10-11 10:40         ` Konstantin A. Lepikhov
2006-10-11 14:28           ` Eugene Prokopiev

ALT Linux sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sysadmins


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git