WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [xm save --checkpoint problem]

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [xm save --checkpoint problem]
From: 박은병 <peb1611@xxxxxxxxx>
Date: Tue, 22 Jun 2010 02:46:05 +0900
Delivery-date: Mon, 21 Jun 2010 10:51:28 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=i0WYJx9BnAVtpuEJZ2v0kvoZonMu7vUnR7Lu0+nluTA=; b=R2jGcgeIPkvgvzlioc5myqpt39mBMDto9Rg77dG1AyxvdIzHuhdeSk+5O6ZBhWk/Cn 9f5fXI8G+StFf/FqrK4Z40HfzIMSD1VuWQi1iqIjAKh02ns/RhzsnnDUzgrWq94Gwfr3 TG8k8ZRja3iDnsNAAoopOqWx55s5WG/3u0KpU=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=Cm1meMVdPQktlNblZ8bjZgJdcgURtftrRFKxjvAmo72MUpTcYZkgyHWxIjFaB6v+O4 49gruAVWyKW0QRPkv5L8D9gq45tAfDJU6Y732MS7N6fiaRYrKLwMi8wRLL5ZwumlUBSJ 9T5Wksy+6UznDp1yJVZEG6hzCkQYtm143h4Bw=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
I posted 'xm save --checkpoint' problem in the past.

just snapshot with 'xm save' works well.

but live checkpoint 'xm save --checkpoint' command doesn't work well.
As you know, '-c' option means "leaving domain running after creating snapshot"

but after checkpointing, domU state is bad

xm console [domain] after checkpointing,

WARNING: g.e. still in use!
WARNING: g.e. still in use!
WARNING: g.e. still in use!
WARNING: g.e. still in use!

domU login prompt following this message appeared.
And, I try to login my guest domU, domU does not show any responses.

after destroy domU, I try to restore by snapshoted file and it seems to work well.

I have tested xen 3.4.2 with pvops 2.6.31.6,
and now, xen-unstable 4.1 with pvops 2.6.32.15 also have same problem
my disribution is ubuntu 9.10 karmic server

I snapshoted the guest disk image (lvm) by applying following scripts
http://lists.xensource.com/archives/html/xen-devel/2007-06/msg00732.html

my /var/log/xen/xend.log

[2010-06-22 02:33:06 3161] INFO (DevController:361) Calling external migration tool for step 1
[2010-06-22 02:33:07 3161] INFO (DevController:365) Calling VBD migration script: /root/xen/domainU/ubuntu1-0622023306 ubuntu1 1
[2010-06-22 02:33:07 3161] INFO (DevController:361) Calling external migration tool for step 1
[2010-06-22 02:33:07 3161] INFO (DevController:365) Error: Could not find script '/etc/xen/scripts/vif-migration.sh'
[2010-06-22 02:33:07 3161] DEBUG (XendCheckpoint:124) [xc_save]: /usr/lib/xen/bin/xc_save 37 8 0 0 0
[2010-06-22 02:33:07 3161] INFO (XendCheckpoint:408) xc_save: failed to get the suspend evtchn port
[2010-06-22 02:33:07 3161] INFO (XendCheckpoint:408)
[2010-06-22 02:33:07 3161] DEBUG (XendCheckpoint:379) suspend
[2010-06-22 02:33:07 3161] DEBUG (XendCheckpoint:127) In saveInputHandler suspend
[2010-06-22 02:33:07 3161] DEBUG (XendCheckpoint:129) Suspending 8 ...
[2010-06-22 02:33:07 3161] DEBUG (XendDomainInfo:521) XendDomainInfo.shutdown(suspend)
[2010-06-22 02:33:07 3161] DEBUG (XendDomainInfo:1877) XendDomainInfo.handleShutdownWatch
[2010-06-22 02:33:07 3161] DEBUG (XendDomainInfo:1877) XendDomainInfo.handleShutdownWatch
[2010-06-22 02:33:07 3161] INFO (XendDomainInfo:2074) Domain has shutdown: name=migrating-ubuntu1 id=8 reason=suspend.
[2010-06-22 02:33:07 3161] INFO (DevController:361) Calling external migration tool for step 2
[2010-06-22 02:33:08 3161] INFO (DevController:365) Calling VBD migration script: /root/xen/domainU/ubuntu1-0622023306 ubuntu1 2
[2010-06-22 02:33:08 3161] INFO (DevController:365) File descriptor 3 left open
[2010-06-22 02:33:08 3161] INFO (DevController:365) File descriptor 18 left open
[2010-06-22 02:33:08 3161] INFO (DevController:365) File descriptor 19 left open
[2010-06-22 02:33:08 3161] INFO (DevController:365) File descriptor 20 left open
[2010-06-22 02:33:08 3161] INFO (DevController:365) File descriptor 21 left open
[2010-06-22 02:33:08 3161] INFO (DevController:365) File descriptor 22 left open
[2010-06-22 02:33:08 3161] INFO (DevController:365) File descriptor 23 left open
[2010-06-22 02:33:08 3161] INFO (DevController:365) File descriptor 24 left open
[2010-06-22 02:33:08 3161] INFO (DevController:365) File descriptor 25 left open
[2010-06-22 02:33:08 3161] INFO (DevController:365) File descriptor 26 left open
[2010-06-22 02:33:08 3161] INFO (DevController:365) File descriptor 27 left open
[2010-06-22 02:33:08 3161] INFO (DevController:365) File descriptor 28 left open
[2010-06-22 02:33:08 3161] INFO (DevController:365) File descriptor 29 left open
[2010-06-22 02:33:08 3161] INFO (DevController:365) File descriptor 36 left open
[2010-06-22 02:33:08 3161] INFO (DevController:365) File descriptor 37 left open
[2010-06-22 02:33:08 3161] INFO (DevController:365) File descriptor 40 left open
[2010-06-22 02:33:08 3161] INFO (DevController:365) File descriptor 41 left open
[2010-06-22 02:33:08 3161] INFO (DevController:365) File descriptor 43 left open
[2010-06-22 02:33:08 3161] INFO (DevController:365)   Logical volume "ubuntu1-0622023306" created
[2010-06-22 02:33:08 3161] INFO (DevController:361) Calling external migration tool for step 2
[2010-06-22 02:33:08 3161] INFO (DevController:365) Error: Could not find script '/etc/xen/scripts/vif-migration.sh'
[2010-06-22 02:33:08 3161] INFO (XendCheckpoint:135) Domain 8 suspended.
[2010-06-22 02:33:08 3161] INFO (DevController:361) Calling external migration tool for step 3
[2010-06-22 02:33:08 3161] INFO (DevController:365) Calling VBD migration script: /root/xen/domainU/ubuntu1-0622023306 ubuntu1 3
[2010-06-22 02:33:08 3161] INFO (DevController:361) Calling external migration tool for step 3
[2010-06-22 02:33:09 3161] INFO (DevController:365) Error: Could not find script '/etc/xen/scripts/vif-migration.sh'
[2010-06-22 02:33:09 3161] DEBUG (XendCheckpoint:144) Written done
[2010-06-22 02:33:28 3161] DEBUG (XendDomainInfo:3131) XendDomainInfo.resumeDomain(8)
[2010-06-22 02:33:28 3161] DEBUG (XendDomainInfo:3172) XendDomainInfo.resumeDomain: completed

what is the problem??
'xm save --checkpoint' is works well to you??

--
Eunbyung Park
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>