GlusterFS and Xen
From GlusterDocumentation
This information is out of date
and does not contain information related to the current version of Gluster
Documentation Home
Using GlusterFS for Xen images
When using GlusterFS to store Xen images, live migration of Xen images is just a small step away. Image files should be mounted with direct-io mode disabled for that specific mount in the fuse module.
Doing this is quite easy, mount the brick on the mount path like this:
#glusterfs --disable-direct-io-mode --volfile=<your_spec_file> /<mount_path>
If you disable direct-io you can use glusterfs to store xen virtual machines virtual block device as files. Xen + Live Migration works fine using the option above.
GlusterFS 1.x did not handle sparse files well, the files worked fine, but they would not be sparse anymore with replication, and would grow to their max size taking the disk space. I did not check if 2.x handles sparse files like it should yet, but keep this in mind or at least test what happens before setting their size to something bigger than your disk can support if they would all get max size.
This information is out of date
and does not contain information related to the current version of Gluster
Documentation Home


