此内容没有您所选择的语言版本。
5.3. Read-only Volume
Volumes can be mounted with read-only permissions if required. There are two options for this:
- You can mount a volume as read-only on the client using the command:
# mount -t glusterfs -o ro $hostname:$volname /mount/point - 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
For more information, see How to configure Red Hat Gluster Storage volume as read-only?