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] Shared storage between Domu's

To: Niv Elad <NIVE@xxxxxxxxxx>
Subject: Re: [Xen-users] Shared storage between Domu's
From: Anders Bruun Olsen <anders@xxxxxxxxxxxxxxx>
Date: Thu, 08 Mar 2007 14:33:07 +0100
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 08 Mar 2007 05:32:22 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <147225DB78654C41A259F2F115731BA5077A37B7@xxxxxxxxxxxxxxxxxxxxxxxx>
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: <147225DB78654C41A259F2F115731BA5077A37B7@xxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.10 (X11/20070305)
Niv Elad wrote:
disk=['phy:vgxen01/lv_linva06_hda,hda,w',*'phy:vgxen01/lv_linva04_06_hdb,hdb,w'*]
When trying to start second DomU i am getting the following -
Error: Device 5632 (vbd) could not be connected.
Device /dev/vgxen01/lv_linva04_06_hdb is mounted in a guest domain,
and so cannot be mounted now.

You can add a bang after the w to force Xen to allow you to mount it anyway. You just have to remember to use a cluster-aware filesystem like OCFS2 og GFS so the two VMs don't get in each others way.

The config-line would then be:
disk=['phy:vgxen01/lv_linva06_hda,hda,w',*'phy:vgxen01/lv_linva04_06_hdb,hdb,w!'*]

--
Anders

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

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