5.3. Read-only Volume

Volumes can be mounted with read-only permissions if required. There are two options for this:
  1. You can mount a volume as read-only on the client using the command:
    # mount -t glusterfs -o ro $hostname:$volname /mount/point
  2. You can specify that a volume can only be mounted with read-only permissions by running the following command on any gluster server:
    # gluster volume set $volname read-only enable