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 drbd/gfs logical volume from domU

To: Cristian Rojas <intipu@xxxxxxxxx>
Subject: Re: [Xen-users] Mount drbd/gfs logical volume from domU
From: "Fajar A. Nugraha" <fajar@xxxxxxxxx>
Date: Mon, 3 May 2010 10:28:02 +0700
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sun, 02 May 2010 20:29:22 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <110979.12016.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <110979.12016.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Sat, May 1, 2010 at 6:59 AM, Cristian Rojas <intipu@xxxxxxxxx> wrote:
> Hi list,
>
> I setup on 2 Xen Dom0s drbd/gfs a logical volume, this works as
> primary/primary so both DomUs will be able to write on them at the same
> time. But I dont know how to mount them from my domUs, I can see them with
> fdisk -l. The partition is /dev/xvdb1
>
> SHould I install gfs on domUs and mount them on each as gfs partitions?

Depends on how you want it to run. Short version is that gfs on dom0
is not required to have gfs on domU, and vice versa.

If you want to have gfs on domU only, you can have drbd on dom0
active-active, maps the resulting block device (/dev/drbd1 or
whatever) as domU disk, and use that disk for gfs on domU. So you need
drbd on dom0 only, and gfs on domU only.

Another alternative, if you only want to test gfs, you can just use
plain files/LVM/partition on dom0 side, and have domU handle both drbd
and gfs.

-- 
Fajar

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

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