GlusterFS volumes mounted on a Linux client behave like a normal filesystem path, making distributed storage available to applications and users without changing workflows. A client mount is commonly used for shared content, backups, and clustered services that need consistent access to the same files.
GlusterFS client mounts typically use a FUSE filesystem, with the mount operation contacting a chosen cluster node to retrieve the volume definition. After the initial contact, the client connects to the required bricks across the cluster to read and write data.
The client requires GlusterFS client packages and reliable network connectivity to at least one cluster node. Hostname resolution via DNS or static /etc/hosts entries is required when mounting by hostname, and firewall blocks can cause mounts to hang or fail. Persistent mounts via /etc/fstab should include _netdev to avoid mounting before networking is available during boot.
Related: How to create a GlusterFS volume
Related: How to export GlusterFS volume as NFS share
$ hostname node1
$ sudo gluster volume list volume1
$ cat /etc/hosts 127.0.0.1 localhost 192.168.111.70 node1.gluster.local node1 192.168.111.71 node2.gluster.local node2
$ hostname client1
$ sudoedit /etc/hosts
192.168.111.70 node1.gluster.local node1 192.168.111.71 node2.gluster.local node2
DNS is preferred for larger environments; /etc/hosts entries are practical for small static clusters.
$ getent hosts node1.gluster.local node2.gluster.local 192.168.111.70 node1.gluster.local node1 192.168.111.71 node2.gluster.local node2
$ sudo apt update && sudo apt install --assume-yes glusterfs-client Hit:1 http://archive.ubuntu.com/ubuntu jammy InRelease ##### snipped ##### Setting up glusterfs-client ... Processing triggers for man-db ...
On some distributions, the client package is named glusterfs-fuse or glusterfs-client in the distro repositories.
$ sudo mkdir -p /mnt/volume1
$ sudo mount -t glusterfs node1.gluster.local:/volume1 /mnt/volume1
Use an IP address in place of the hostname when DNS or /etc/hosts entries are unavailable.
$ df -h /mnt/volume1 Filesystem Size Used Avail Use% Mounted on node1.gluster.local:/volume1 20G 8.0G 11G 43% /mnt/volume1
$ sudo umount /mnt/volume1
$ sudoedit /etc/fstab
node1.gluster.local:/volume1 /mnt/volume1 glusterfs defaults,_netdev 0 0
An incorrect /etc/fstab line can delay boot until network timeouts expire or drop the system into emergency mode.
Adding x-systemd.automount can reduce boot-time impact on systemd systems by mounting on first access.
$ sudo mount /mnt/volume1
$ mountpoint /mnt/volume1 /mnt/volume1 is a mountpoint
$ sudo reboot
$ df -h /mnt/volume1 Filesystem Size Used Avail Use% Mounted on node1.gluster.local:/volume1 20G 8.0G 11G 43% /mnt/volume1