[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] Snapshot fail, when snapshot a vm the second time. (already update to xen-4.0.1 and kernel-2.6.32.25)




Hello,

When I snapshot a vm( hvm centos ) 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 for timeout.
what's wrong with it?

This error happened when I used xen-4.0.1-rc5 and  kernel-2.6.31.13. Today I update to  xen-4.0.1 and kernel-2.6.32.25, it is with the same wrong.

Error message:
[root@localhost ~]# xm save -c 2 snap1
Error: Timeout waiting for domain 2 to suspend
Usage: xm save [-c] <Domain> <CheckpointFile>

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

                                 
xend.log :
[2010-11-26 15:39:48 5411] DEBUG (XendCheckpoint:124) [xc_save]: /usr/lib64/xen/bin/xc_save 4 2 0 0 4
[2010-11-26 15:39:48 5411] INFO (XendCheckpoint:423) xc_save: failed to get the suspend evtchn port
[2010-11-26 15:39:48 5411] INFO (XendCheckpoint:423)
[2010-11-26 15:39:48 5411] DEBUG (XendCheckpoint:394) suspend
[2010-11-26 15:39:48 5411] DEBUG (XendCheckpoint:127) In saveInputHandler suspend
[2010-11-26 15:39:48 5411] DEBUG (XendCheckpoint:129) Suspending 2 ...
[2010-11-26 15:39:48 5411] DEBUG (XendDomainInfo:519) XendDomainInfo.shutdown(suspend)
[2010-11-26 15:39:48 5411] DEBUG (XendDomainInfo:1891) XendDomainInfo.handleShutdownWatch
[2010-11-26 15:40:49 5411] DEBUG (XendDomainInfo:1891) XendDomainInfo.handleShutdownWatch
[2010-11-26 15:40:49 5411] INFO (XendCheckpoint:423) ERROR Internal error: Suspend request failed
[2010-11-26 15:40:49 5411] INFO (XendCheckpoint:423) ERROR Internal error: Domain appears not to have suspended
[2010-11-26 15:40:49 5411] INFO (XendCheckpoint:423) Save exit rc=1
[2010-11-26 15:40:49 5411] ERROR (XendCheckpoint:178) Save failed on domain ide_CGSL_v3.02 (2) - 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
    dominfo.waitForSuspend()
  File "/usr/lib64/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 2980, in waitForSuspend
    raise XendError(msg)
XendError: Timeout waiting for domain 2 to suspend
[2010-11-26 15:40:49 5411] DEBUG (XendDomainInfo:3117) XendDomainInfo.resumeDomain(2)

Thanks a lot.
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-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.