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: "Petersson, Mats" <Mats.Petersson@xxxxxxx>, "Matt Okeson-Harlow" <matt@xxxxxxxxxxxxxx>
Subject: RE: [Xen-users] Shared storage between Domu's
From: "Niv Elad" <NIVE@xxxxxxxxxx>
Date: Thu, 8 Mar 2007 17:14:24 +0200
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 08 Mar 2007 07:14:21 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <907625E08839C4409CE5768403633E0B018E1A38@xxxxxxxxxxxxxxxxx>
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: <20070308150853.GA24688@xxxxxxxxxxxx> <907625E08839C4409CE5768403633E0B018E1A38@xxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acdhk38JwoODxyyFSPCPNC2c2kY9/wAAAyGQAAAnOiA=
Thread-topic: [Xen-users] Shared storage between Domu's
Hi Mat

Thank for your reply.
The "w!" did work.

I am using an ocfs2 fs type on the shared devises so that should keep it
safe.

Cheers

-----Original Message-----
From: Petersson, Mats [mailto:Mats.Petersson@xxxxxxx]
Sent: Thursday, March 08, 2007 5:10 PM
To: Matt Okeson-Harlow; Niv Elad
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: RE: [Xen-users] Shared storage between Domu's



> -----Original Message-----
> From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
> [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Matt
> Okeson-Harlow
> Sent: 08 March 2007 15:09
> To: Niv Elad
> Cc: xen-users@xxxxxxxxxxxxxxxxxxx
> Subject: Re: [Xen-users] Shared storage between Domu's
>
> Niv,
>
> Setup NFS/AFS/Samba on a domU and share your disk that way?
> Xen won't let you mount a slice in two domUs that I am aware of.

As described in the two other post on this subject, you can share it,
but you have to have a file-system that is "shareable". And you need to
use "w!" instead of "w" to tell Xen that "Yes, I know I'm sharing this
file-system" [and if you actually don't care about the content of your
disk-image or the overall stability of your domain, you can of course
force multiple domains to access the same disk-image even if it's not
actually shareable - but that's like playing with matches in a petrol
station...]

--
Mats
>
> On Thu, Mar 08, 2007 at 03:28:13PM +0200, Niv Elad wrote:
> >
> > Hello
> >
> > I have two domains running on the same Dom0.
> > I want to allocate shared disk  to both of them (i want to simulate
> > cluster envinroment).
> >
> > Does anyone know whether this is possible and if so how can
> it be done?
> >
> > This is my disk defenition for the domains -
> >
> > DomU1:
> >
> disk=['phy:vgxen01/lv_linva04_hda,hda,w','phy:vgxen01/lv_linva
> 04_06_hdb,
> > hdb,w']
> >
> > DomU2:
> >
> disk=['phy:vgxen01/lv_linva06_hda,hda,w','phy:vgxen01/lv_linva
> 04_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.
> >
> >
> > Cheers
> >
> > Niv
> >
> >
> > This message and the information contained herein is
> proprietary and confidential and subject to the Amdocs policy
> statement,
> > you may review at http://www.amdocs.com/email_disclaimer.asp
> > _______________________________________________
> > Xen-users mailing list
> > Xen-users@xxxxxxxxxxxxxxxxxxx
> > http://lists.xensource.com/xen-users
>
> --
> att Okeson-Harlow
> Sen gutoj malgrandaj maro ne ekzistus
>



This message and the information contained herein is proprietary and 
confidential and subject to the Amdocs policy statement,
you may review at http://www.amdocs.com/email_disclaimer.asp

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

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