From: Fajar A. Nugraha <fajar@xxxxxxxxx>
To: Cristian Rojas <intipu@xxxxxxxxx>
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Sent: Mon, May 3, 2010 12:28:02 AM
Subject: Re: [Xen-users] Mount drbd/gfs
logical volume from domU
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@xxxxxxxxxxxxxxxxxxxhttp://lists.xensource.com/xen-users