I was wondering if anyone knows why an "xm save" of a domain doesn't work to an OCFS2 volume? My current Xen setup shares storage space between my hosts via OCFS2 on SAN-attached storage. If I try to do an xm save of a running VM and put the save file on the OCFS2 volume, I get the following:
Error: /usr/lib64/xen/bin/xc_save 25 12 0 0 4 failed
Usage: xm save [-c] <Domain> <CheckpointFile>
Save a domain state to restore later.
-c, --checkpoint Leave domain running after creating
snapshot
xm log shows these events:
[2009-04-25 16:46:35 6410] DEBUG (XendCheckpoint:91) [xc_save]: /usr/lib64/xen/bin/xc_save 25 12 0 0 4
[2009-04-25 16:46:35 6410] DEBUG (XendCheckpoint:344) suspend
[2009-04-25 16:46:35 6410] DEBUG (XendCheckpoint:94) In saveInputHandler suspend
[2009-04-25 16:46:35 6410] DEBUG (XendCheckpoint:96) Suspending 12 ...
[2009-04-25 16:46:35 6410] DEBUG (XendDomainInfo:467) XendDomainInfo.shutdown(suspend)
[2009-04-25 16:46:35 6410] DEBUG (XendDomainInfo:1114) XendDomainInfo.handleShutdownWatch
[2009-04-25 16:46:35 6410] INFO (XendDomainInfo:1295) Domain has shutdown: name=migrating-DEllis id=12 reason=suspend.
[2009-04-25 16:46:35 6410] INFO (XendCheckpoint:102) Domain 12 suspended.
[2009-04-25 16:46:35 6410] DEBUG (XendCheckpoint:110) Written done
[2009-04-25 16:46:35 6410] INFO (XendCheckpoint:373) Saving memory pages: iter 1 0%ERROR Internal error: Error when writing to state file (5) (errno 14)
[2009-04-25 16:46:35 6410] INFO (XendCheckpoint:373) Save exit rc=1
[2009-04-25 16:46:35 6410] ERROR (XendCheckpoint:144) Save failed on domain DEllis (12).
Traceback (most recent call last):
File "/usr/lib64/python2.4/site-packages/xen/xend/XendCheckpoint.py", line 112, in save
forkHelper(cmd, fd, saveInputHandler, False)
File "/usr/lib64/python2.4/site-packages/xen/xend/XendCheckpoint.py", line 361, in forkHelper
raise XendError("%s failed" % string.join(cmd))
XendError: /usr/lib64/xen/bin/xc_save 25 12 0 0 4 failed
And then the domain suspends, and then it crashes. Any hints?
Thanks - Nick
<br><hr>
This e-mail may contain confidential and privileged material for the sole use of the intended recipient. If this email is not intended for you, or you are not responsible for the delivery of this message to the intended recipient, please note that this message may contain SEAKR Engineering (SEAKR) Privileged/Proprietary Information. In such a case, you are strictly prohibited from downloading, photocopying, distributing or otherwise using this message, its contents or attachments in any way. If you have received this message in error, please notify us immediately by replying to this e-mail and delete the message from your mailbox. Information contained in this message that does not relate to the business of SEAKR is neither endorsed by nor attributable to SEAKR.
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|