The software described in this documentation is either no longer supported or is in extended support.
Oracle recommends that you upgrade to a current supported release.

3.4 Managing Gluster Volumes

This section provides some basic volume management operations. For more information on volume management, see the upstream documentation.

3.4.1 Setting Volume Options

There are a number of options you can set to configure and tune volumes. These options are set with:

gluster volume set volume_name option

For example, to restrict access to mounting the volume to the IP addresses on a network:

# gluster volume set myvolume auth.allow 192.168.10.*

Instead of, or as well as, making the whole volume available as a mount point, you can set access to volume subdirectories in the same way. For example:

# gluster volume set myvolume auth.allow \
  "/(192.168.10.*),/mysubdir1(192.168.1.*),/mysubdir2(192.168.2.*)"