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

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



On Mon, Nov 08, 2010 at 11:30:13AM +0800, huang.shuangqing@xxxxxxxxxx wrote:
>    Hello,
> 
>    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.
> 

First of all upgrade your software versions.

Xen 4.0.1 final has been out there for a long time already,
and 2.6.31 based dom0 kernel is unsupported and not maintained.

You should switch to xen/stable-2.6.32.x dom0 kernel git branch,
that's the default and supported kernel.

-- Pasi

>    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
> 
>                                     snapshot
> 
>    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
>        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 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
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users

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


 


Rackspace

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