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

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Block device sharing
From: Brad Plant <bplant@xxxxxxxxxxxx>
Date: Mon, 2 Jul 2007 12:43:52 +1000
Delivery-date: Sun, 01 Jul 2007 19:42:03 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>