xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: 박은병 <peb1611@gmail.com>
To: xen-devel@lists.xensource.com
Subject: [xm save --checkpoint problem]
Date: Tue, 22 Jun 2010 02:46:05 +0900	[thread overview]
Message-ID: <AANLkTinIr23yxSHa6gpxtpMNo25VRH-OvMH0TJ6cgh5S@mail.gmail.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 5107 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 5581 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

             reply	other threads:[~2010-06-21 17:46 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-21 17:46 박은병 [this message]
2010-06-22 12:08 ` [xm save --checkpoint problem] 박은병
2010-06-23 17:19   ` Brendan Cully
2010-06-23 17:38     ` Pasi Kärkkäinen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AANLkTinIr23yxSHa6gpxtpMNo25VRH-OvMH0TJ6cgh5S@mail.gmail.com \
    --to=peb1611@gmail.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).