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@lists.xensource.com http://lists.xensource.com/xen-users
fess
2006-May-09 16:12 UTC
Re: [Xen-users] xm save fails with Error when writing to state file (5):
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@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users