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

[Xen-users] xm save and OCFS2?

To: "XEN Mailing List" <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] xm save and OCFS2?
From: "Nick Couchman" <Nick.Couchman@xxxxxxxxx>
Date: Sat, 25 Apr 2009 16:49:48 -0600
Delivery-date: Sat, 25 Apr 2009 15:50:40 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx

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
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] xm save and OCFS2?, Nick Couchman <=