WARNING - OLD ARCHIVES

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

xen-users

Re: [Xen-users] xm save fails with Error when writing to state file (5):

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] xm save fails with Error when writing to state file (5):
From: fess <fess-xenlists@xxxxxxxx>
Date: Tue, 9 May 2006 09:12:00 -0700
Delivery-date: Tue, 09 May 2006 09:12:45 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <a1dc620898821ae861a9c281fd854035@xxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <a1dc620898821ae861a9c281fd854035@xxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx


My appologies, for not figuring this out earlier.

The problem was I ran out of diskspace, on the filesystem I was trying to save to.
[ the error messages sure helped obfuscate the problem. ]

Anyhow, problem solved.

On May 8, 2006, at 10:41 PM, fess wrote:


Help, I'm trying to get save/restore working, and I keep running into troubles.
I don't know where to look next.

first I had to get to xen-3.0.2 in order to enable CONFIG_HOTPLUG_CPU guess x86_64 didn't have it yet Then I had one success, with one domU, save, restore, etc. [w/debian] Then I attempted with another domU, [w/centos and 7G of ram.] and it failed. Since then I haven't been able to save any domU.

xm save just fails, and leaves the domU in shutdown state.

[root ~]# xm list
Name                              ID Mem(MiB) VCPUs State  Time(s)
Domain-0                           0      251     1 r-----    28.2
old_herbie                         3      768     2 -b----     0.7
[root ~]# xm save old_herbie old_herbie.xensav
Error: /usr/lib64/xen/bin/xc_save 10 16 3 0 0 0 failed
[root@herbieII ~]# xm list
Name                              ID Mem(MiB) VCPUs State  Time(s)
Domain-0                           0      251     1 r-----    32.0
old_herbie                         3      768     1 ---s--     0.8

Xend.log says this:


[2006-05-08 22:28:41 xend] DEBUG (XendCheckpoint:80) [xc_save]: /usr/lib64/xen/bin/xc_save 10 16 3 0 0 0
[2006-05-08 22:28:41 xend] DEBUG (XendCheckpoint:200) suspend
[2006-05-08 22:28:41 xend] DEBUG (XendCheckpoint:83) In saveInputHandler suspend
[2006-05-08 22:28:41 xend] DEBUG (XendCheckpoint:85) Suspending 3 ...
[2006-05-08 22:28:41 xend.XendDomainInfo] DEBUG (XendDomainInfo:877) XendDomainInfo.handleShutdownWatch [2006-05-08 22:28:41 xend.XendDomainInfo] DEBUG (XendDomainInfo:877) XendDomainInfo.handleShutdownWatch [2006-05-08 22:28:42 xend.XendDomainInfo] INFO (XendDomainInfo:836) Domain has shutdown: name=migrating-old_herbie id=3 reason=suspend.
[2006-05-08 22:28:42 xend] INFO (XendCheckpoint:88) Domain 3 suspended.
[2006-05-08 22:28:42 xend] DEBUG (XendCheckpoint:91) Written done
[2006-05-08 22:28:42 xend] ERROR (XendCheckpoint:227) Had 0 unexplained entries in p2m table [2006-05-08 22:28:57 xend] ERROR (XendCheckpoint:227) Saving memory pages: iter 1 95%Error when writing to state file (5): 0
[2006-05-08 22:28:57 xend] ERROR (XendCheckpoint:227) Save exit rc=1
[2006-05-08 22:28:57 xend] ERROR (XendCheckpoint:99) Save failed on domain old_herbie (3).
Traceback (most recent call last):
  File "/usr/lib64/python/xen/xend/XendCheckpoint.py", line 93, in save
    forkHelper(cmd, fd, saveInputHandler, False)
File "/usr/lib64/python/xen/xend/XendCheckpoint.py", line 218, in forkHelper
    raise XendError("%s failed" % string.join(cmd))
XendError: /usr/lib64/xen/bin/xc_save 10 16 3 0 0 0 failed
[2006-05-08 22:29:23 xend.XendDomainInfo] INFO (XendDomainInfo:836) Domain has shutdown: name=old_herbie id=3 reason=suspend.


Any help would be much appreciated, I don't know where to go from here.


_______________________________________________
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

<Prev in Thread] Current Thread [Next in Thread>