From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?EUC-KR?B?udrAurq0?= Subject: [xm save --checkpoint problem] Date: Tue, 22 Jun 2010 02:46:05 +0900 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1221905886==" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --===============1221905886== Content-Type: multipart/alternative; boundary=00163691fbc506ea1904898de1cb --00163691fbc506ea1904898de1cb Content-Type: text/plain; charset=ISO-8859-1 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 --00163691fbc506ea1904898de1cb Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I posted 'xm save --checkpoint' problem in the past.

just s= napshot with 'xm save' works well.

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

but after checkpointing, domU state is bad

xm console [domain]= =20 after checkpointing,

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

domU login prompt following this message appeared.
And, I try to login m= y 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 scriptshttp://lists.xensource.com/archives/html/xen-devel/2007-06/msg0= 0732.html

my /var/log/xen/xend.log

[2010-06-22 02:33:06 3161] INFO (DevCo= ntroller:361) Calling external migration tool for step 1
[2010-06-22 02:= 33:07 3161] INFO (DevController:365) Calling VBD migration script: /root/xe= n/domainU/ubuntu1-0622023306 ubuntu1 1
[2010-06-22 02:33:07 3161] INFO (DevController:361) Calling external migrat= ion 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/x= en/bin/xc_save 37 8 0 0 0
[2010-06-22 02:33:07 3161] INFO (XendCheckpoin= t: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-2= 2 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.shutdo= wn(suspend)
[2010-06-22 02:33:07 3161] DEBUG (XendDomainInfo:1877) XendD= omainInfo.handleShutdownWatch
[2010-06-22 02:33:07 3161] DEBUG (XendDoma= inInfo:1877) XendDomainInfo.handleShutdownWatch
[2010-06-22 02:33:07 3161] INFO (XendDomainInfo:2074) Domain has shutdown: = name=3Dmigrating-ubuntu1 id=3D8 reason=3Dsuspend.
[2010-06-22 02:33:07 3= 161] 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 d= escriptor 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 descripto= r 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 descripto= r 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 descripto= r 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 descripto= r 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 descripto= r 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)=A0=A0 Logical volume &q= uot;ubuntu1-0622023306" created
[2010-06-22 02:33:08 3161] INFO (De= vController: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 migra= tion 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 migrat= ion 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.resumeDoma= in(8)
[2010-06-22 02:33:28 3161] DEBUG (XendDomainInfo:3172) XendDomainI= nfo.resumeDomain: completed

what is the problem??
'xm save --checkpoint' is works well t= o you??

--
Eunbyung Park
--00163691fbc506ea1904898de1cb-- --===============1221905886== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============1221905886==--