GlusterFS is an open-source scalable distributed file system that is able to grow to petabytes and beyond in size. More information can be found on Gluster's homepage.
This driver enables the use of GlusterFS in a similar fashion as NFS. It supports basic volume operations, including snapshot/clone.
Note | |
---|---|
You must use a Linux kernel of version 3.4 or greater (or version 2.6.32 or greater in Red Hat Enterprise Linux/CentOS 6.3+) when working with Gluster-based volumes. See Bug 1177103 for more information. |
To use Block Storage 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.
Configuration option = Default value | Description |
---|---|
[DEFAULT] | |
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. |