Atom feed of this document
 

 GlusterFS driver

GlusterFS is an open-source scalable distributed filesystem that is able to grow to petabytes and beyond in size. More information can be found on Gluster's homepage.

This driver enables use of GlusterFS in a similar fashion as the NFS driver. It supports basic volume operations, and like NFS, does not support snapshot/clone.

[Note]Note

You must use a Linux kernel of version 3.4 or greater (or version 2.6.32 or greater in RHEL/CentOS 6.3+) when working with Gluster-based volumes. See Bug 1177103 for more information.

To use Cinder with GlusterFS, first set the volume_driver in cinder.conf:

volume_driver=cinder.volume.drivers.glusterfs.GlusterfsDriver

The following table contains the configuration options supported by the GlusterFS driver.

Table 7.4. Description of configuration options for storage_glusterfs
Configuration option=Default value Description
glusterfs_disk_util=df (StrOpt) Use du or df for free space calculation
glusterfs_mount_point_base=$state_path/mnt (StrOpt) Base dir containing mount points for gluster shares.
glusterfs_qcow2_volumes=False (BoolOpt) Create volumes as QCOW2 files rather than raw files.
glusterfs_shares_config=/etc/cinder/glusterfs_shares (StrOpt) File with the list of available gluster shares
glusterfs_sparsed_volumes=True (BoolOpt) Create volumes as sparsed files which take no space.If set to False volume is created as regular file.In such case volume creation takes a lot of time.

Log a bug against this page


loading table of contents...