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] Mount block-device rw on more DomU

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Mount block-device rw on more DomU
From: Michael Mey <michael.mey@xxxxxx>
Date: Tue, 14 Feb 2006 12:11:23 +0100
Cc: Marco Natali <marco@xxxxxxxxxx>
Delivery-date: Tue, 14 Feb 2006 11:23:24 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1139914903.12379.24.camel@xxxxxxxxxxxxxxxx>
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>
Organization: Thinking Objects Software GmbH
References: <1139870662.5917.7.camel@xxxxxxxxxx> <200602141152.56454.michael.mey@xxxxxx> <1139914903.12379.24.camel@xxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.9.1
Oh, I see. Sorry, I've missed something.

You could possibly simulate an external storage by e.g. exporting the LV from 
dom0 using GNBD and import it in your domUs. An alternative could be using 
iSCSI instead of GNBD though it's harder to set up.

Michael



On Tuesday 14 February 2006 12:01, Marco Natali wrote:
> Yes, if I will access to that volume in asyncronous way!
> Instead I'll install Oracle RAC with ASM (Automatic Storage Managment)
> and OCR (Oracle Cluste Ready),  two objects that manage in a cluster way
> the volume I want to use in r/w.
> This could work like a real external storage.
> Don't you think so?
>
> Marco Natali
>
> On Tue, 2006-02-14 at 11:52 +0100, Michael Mey wrote:
> > On Monday 13 February 2006 23:44, Marco Natali wrote:
> > > Hi all
> > > I would like to install for testing an Oracle RAC on two DomU and I
> > > need of some block devices simulating an external storage.
> > > I would like to mount an LVM volume in Dom0 mounted rw by two DomU, but
> > > when I try to attach the block device I receive this message:
> > >
> > >   # xm block-attach oracle1 phy:/dev/vg0/oracle-db /dev/sdb1 rw
> > >   Error: Device 2065 (vbd) could not be connected.
> > >   Device /dev/vg0/oracle-db is mounted in a guest domain,
> > >   and so cannot be mounted now.
> > >
> > > Is it possible to force in some way?
> > >
> > > Thanks
> > >
> > >   Marco Natali
> > >
> > >
> > > _______________________________________________
> > > Xen-users mailing list
> > > Xen-users@xxxxxxxxxxxxxxxxxxx
> > > http://lists.xensource.com/xen-users
> >
> > Hi,
> >
> > you really wouldn't want to do that. The possibility for destroying the
> > filesystem during the first few minutes is nearly 100 %. For this
> > purpose, you should consider using a cluster filesystem, like gfs, ocfs2
> > (easier to set up) or sth similar.
> >
> > Michael

-- 
----------------------------------------------------------------------------------------
Michael Mey                                  
Thinking Objects Software GmbH    |   mailto: michael.mey@xxxxxx 
Lilienthalstrasse 2/1             |   phone: +49 711 88770-147
70825 Stuttgart-Korntal, Germany  |   fax: +49 711 88770-449
----------------------------------------------------------------------------------------

Attachment: pgpnO3MyN0c2z.pgp
Description: PGP signature

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