In order to have your VM disk hosted on a Gluster share, you need:
- to install Gluster client
- mount your Gluster share
- create your VM disks on the share and use the path in your domU config file
Gluster client is the thing that allows you to mount the Gluster share. It uses the FUSE library, so be sure to have fuse module loaded: modprobe fuse
.
dmesg | grep -i fuse
should show you that FUSE is loaded.
Also, on this tutorial, you must already have a Gluster volume already available somewhere. It's only the client side in this (on your Xen machine).
You can download them here: https://download.gluster.org/pub/gluster/glusterfs/LATEST/ Instruction are displayed for each distro
Gluster is really close to NFS in terms of usage. When you have the gluster client package installed, just mount it like that:
mount -t glusterfs server1:/test-volume /mnt/glusterfs
Obviously, you can mount it anywhere. More options/details are available here: http://gluster.readthedocs.io/en/latest/Administrator%20Guide/Setting%20Up%20Clients
Just use this mounted folder as a local folder for your Xen images.