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] Block device sharing

To: "Brad Plant" <bplant@xxxxxxxxxxxx>, <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] Block device sharing
From: "James Harper" <james.harper@xxxxxxxxxxxxxxxx>
Date: Mon, 2 Jul 2007 13:32:28 +1000
Delivery-date: Sun, 01 Jul 2007 20:30:35 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20070702124352.6c4b8ab0@localhost>
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: <20070702124352.6c4b8ab0@localhost>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Ace8UxEZyuTFmL/sS9SIegaLkVermAABnM2g
Thread-topic: [Xen-users] Block device sharing
Put a '!' after the 'w' (for read/write) in the config file.

James

> -----Original Message-----
> From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx [mailto:xen-users-
> bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Brad Plant
> Sent: Monday, 2 July 2007 12:44
> To: xen-users@xxxxxxxxxxxxxxxxxxx
> Subject: [Xen-users] Block device sharing
> 
> Hi list,
> 
> I have been successfully sharing block devices read/write between
guest
> domains on different dom0's using ocfs2. This has worked well without
> incident until now when I tried to share the underlying block device
> between 2 domU's on the same dom0. I get the following message:
> 
> Using config file "/mnt/xen/configs/machines/mail1".
> Error: Device 5633 (vbd) could not be connected.
> Device /dev/evms/shared/mail is mounted in a guest domain,
> and so cannot be mounted now.
> 
> I read the following in the Xen users manual:
> 
> Xend will attempt to prevent you from doing
> this by checking that the device is not mounted read-write in domain
0,
> and hasn't already been exported read-write to another domain. If you
> want read-write sharing, export the directory to other domains via NFS
> from domain 0 (or use a cluster file system such as GFS or ocfs2).
> 
> So xend is obviously successful in stopping me, but since I am using
> ocfs2, I would like to permit it anyway. I haven't managed to find the
> answer from google. Does anybody know how to tell Xen to allow block
> device sharing?
> 
> Cheers,
> 
> Brad

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

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