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/
Home Products Support Community News


[Xen-users] Snapshot fail, when I snapshot a vm the second time.

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Snapshot fail, when I snapshot a vm the second time.
From: huang.shuangqing@xxxxxxxxxx
Date: Mon, 8 Nov 2010 11:30:13 +0800
Delivery-date: Sun, 07 Nov 2010 19:44:46 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx


When I snapshot a vm the first time, it succeed. There is a snapshot file on disk and the vm is  running.  But when I do it the second time, it fail.
Can  snapshot a vm sevral  times?  If can , what's wrong with it?

xen : xen-4.0.1-rc5, kernel : kernel-2.6.31.

Error message:
[root@localhost ide]# xm save -c 8 dom8_2.snap
Error: Timeout waiting for domain 8 to suspend
Usage: xm save [-c] <Domain> <CheckpointFile>

Save a domain state to restore later.
  -c, --checkpoint               Leave domain running after creating        

log in xend.log :

[2010-11-08 09:19:03 18934] DEBUG (XendCheckpoint:124) [xc_save]: /usr/lib64/xen/bin/xc_save 4 8 0 0 4
[2010-11-08 09:19:03 18934] DEBUG (XendCheckpoint:394) suspend
[2010-11-08 09:19:03 18934] DEBUG (XendCheckpoint:127) In saveInputHandler suspend
[2010-11-08 09:19:03 18934] DEBUG (XendCheckpoint:129) Suspending 8 ...
[2010-11-08 09:19:03 18934] DEBUG (XendDomainInfo:519) XendDomainInfo.shutdown(suspend)
[2010-11-08 09:19:03 18934] DEBUG (XendDomainInfo:1891) XendDomainInfo.handleShutdownWatch
[2010-11-08 09:19:03 18934] INFO (XendCheckpoint:423) xc_save: failed to get the suspend evtchn port
[2010-11-08 09:19:03 18934] INFO (XendCheckpoint:423)
[2010-11-08 09:20:04 18934] INFO (XendCheckpoint:423) ERROR Internal error: Suspend request failed
[2010-11-08 09:20:04 18934] INFO (XendCheckpoint:423) ERROR Internal error: Domain appears not to have suspended
[2010-11-08 09:20:04 18934] INFO (XendCheckpoint:423) Save exit rc=1
[2010-11-08 09:20:04 18934] ERROR (XendCheckpoint:178) Save failed on domain CGSL (8) - resuming.
Traceback (most recent call last):
  File "usr/lib64/python2.4/site-packages/xen/xend/XendCheckpoint.py", line 146, in save
    forkHelper(cmd, fd, saveInputHandler, False)
  File "usr/lib64/python2.4/site-packages/xen/xend/XendCheckpoint.py", line 395, in forkHelper
    inputHandler(line, child.tochild)
  File "usr/lib64/python2.4/site-packages/xen/xend/XendCheckpoint.py", line 131, in saveInputHandler
  File "/usr/lib64/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 2980, in waitForSuspend
    raise XendError(msg)
XendError: Timeout waiting for domain 8 to suspend
[2010-11-08 09:20:04 18934] DEBUG (XendDomainInfo:3117) XendDomainInfo.resumeDomain(8)
[2010-11-08 09:20:04 18934] DEBUG (XendDomainInfo:1891) XendDomainInfo.handleShutdownWatch

Any help is appreciate.

-- John

ZTE Information Security Notice: The information contained in this mail is solely property of the sender's organization. This mail communication is confidential. Recipients named above are obligated to maintain secrecy and are not permitted to disclose the contents of this communication to others.
This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. Any views expressed in this message are those of the individual sender.
This message has been scanned for viruses and Spam by ZTE Anti-Spam system.
Xen-users mailing list
<Prev in Thread] Current Thread [Next in Thread>