Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

There can be three types of Volumes in an Image Storage: OCFS2 Volumes, Gluster Volumes and External Volumes.

OCFS2 volumes refer to volumes created and offered by the shared storage cabinet, that are accessed by the hosts as a local block device. flexVDI uses the OCFS2 cluster file system to manage these volumes, and its configuration and management is discussed in the Administration Guide here. OCFS2 supports reflinks and fallocate, which are particularly useful to work with large image files.

Gluster Volumes use the GlusterFS distributed storage technology to aggregate several local disks into a single storage space. This solution does not need to access a shared volume in a SAN and uses cheaper, more common hardware, but its performance is lower. Gluster also supports fallocate. However, you need at least two hosts to create a Gluster Volume.

Warning

Gluster Volumes are an experimental feature. Stability and performance issues have been observed, so use it at your own risk.

Finally, External volumes are not directly managed by flexVDI. The system administrator is responsible for mounting them in the same path in all the Hosts involved in the Image Storage. The two most common use cases for external volumes are:

  • Use local storage in a single Host.
  • Use an NFS or CIFS shared folder accessible by a set of Hosts (Beware: neither NFS nor CIFS support fallocate, so creating new images is a slow process).

When mounting an External Volume on a block device from several hosts at the same time, a cluster aware filesystem as OCFS2 of GFS2 must be used. Using ext4, XFS, ... for mounting a shared block device will quickly cause filesystem corruption in a short time, causing non-booting vms, and data loss.

In the tree view, Volumes are identified by a small stack of disks. Gluster Volumes have an extra pie graph symbol, and External Volumes have an extra right arrow. In this example, "Manager" is an OCFS2 Volume, "SSD" is a Gluster Volume and "NFS" is an External Volume:

...