[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

AW: [Fedora-xen] Block device sharing

Hi Bertho,

My setup for gfs inside guest's looks like this.
For export 1 os lv and 2 shared lv's I use this:

disk = ['phy:/dev/xenvg/xenRHEL4_3,ioemu:hda,w',
        'phy:/dev/xenvg/xenCLU1fs2,ioemu:hdc,w!' ]

For sharing a blockdevice you need "w!". On top xenCLU1fs1 and xenCLU1fs2 i
have running gfs with clvm inside the guests.


-----Urspr√ľngliche Nachricht-----
Von: fedora-xen-bounces redhat com [mailto:fedora-xen-bounces redhat com] Im
Auftrag von Bertho Stultiens
Gesendet: Freitag, 17. November 2006 10:46
An: fedora-xen redhat com
Betreff: [Fedora-xen] Block device sharing


I am trying to share a GFS2 partition across multiple xen boxes to share
f.x. the /home dir (using FC6). According to the Xen 3.0 documentation
at chapter 6.1, I should be using either NFS or a clusterFS. I do not
want to use a networkFS, so GFS seems to be the sane choice. The setup:

SAN -> /dev/sdX -> [c]LVM -> vgxen -> lvbox{00-99}
                                   -> lvswap{00-99}
                                   -> lvhome
Each VM has mounted a unique rootfs from lvboxX and swap from lvswapX
partition and share lvhome using GFS. The SAN has a multipath FC
connection to 8 blades and the VMs run distributed over the blades.

The problem, however, is that xen does not allow me to export
blockdevices that are in use. I've tried to export the PV (/dev/sdX) and
the LV (/dev/vgxen/lvhome), but both cases fail with an error (Device
/dev/sdX is mounted in a guest domain, and so cannot be mounted now.)
Any VM started after the first fails.

Is there a way to force xen to export the same blockdevice (either the
PV or preferably the LV)?

Greetings Bertho

Bertho Stultiens
Senior Systems Manager
Mobilethink A/S

Fedora-xen mailing list
Fedora-xen redhat com

No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.409 / Virus Database: 268.14.6/536 - Release Date: 16.11.2006

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]