GlusterFS on dedicated servers
GlusterFS joins directories on several servers into one network file system with no central metadata server. It is simple to set up on a few Storage machines and well understood by many administrators.
How does GlusterFS work?
Each server contributes bricks, directories on local file systems, and a volume combines bricks from several servers. Clients compute where a file lives from its name with an elastic hash, so there is no metadata server to scale or lose. Clients mount with the native FUSE client, which talks to every brick directly, or over NFS through a gateway.
Which volume type should I choose?
| Type | Copies | Usable space | Good for |
|---|---|---|---|
| Replica 3 | Three full copies | One third | Small files, home directories, web content |
| Replica 2 plus arbiter | Two copies plus metadata | One half | Same safety against split-brain, less disk |
| Dispersed 4+2 | Erasure coded | Two thirds | Large files, media, archives |
| Distributed replicated | Replica sets combined | As the replica type | Growing beyond one replica set |
Avoid plain replica 2 without an arbiter: if the two servers lose contact, both may accept different writes to the same file.
How do I prepare bricks?
On XFS with a 512-byte inode size, one brick per RAID set or drive group, in a subdirectory of the mount point so a failed mount never writes into the root file system.
mkfs.xfs -i size=512 /dev/md10 mkdir -p /bricks/b1 && echo "/dev/md10 /bricks/b1 xfs defaults,noatime 0 0" >> /etc/fstab && mount /bricks/b1 mkdir /bricks/b1/vol
On Storage models, a software RAID 6 across the hard drives gives each brick its own drive redundancy underneath Gluster's replication.
How do I create a volume?
gluster peer probe gfs-2.wg && gluster peer probe gfs-3.wg gluster volume create media replica 3 arbiter 1 gfs-1.wg:/bricks/b1/vol gfs-2.wg:/bricks/b1/vol gfs-3.wg:/nvme/arb/vol gluster volume set media cluster.quorum-type auto gluster volume start media mount -t glusterfs gfs-1.wg:/media /srv/media
The arbiter brick holds only metadata, so it can sit on a small NVMe directory on the third server.
Which ports does it use?
TCP 24007 for the management daemon, 24008 for RDMA management on systems that use it, and one port per brick counting up from 49152. Clients need to reach all of them. Since our servers have no private network, put servers and clients on a WireGuard mesh and open those ports only on the tunnel interface. Encryption in the tunnel also covers Gluster traffic, which is unencrypted unless you set up its TLS options.
What happens when a server goes down?
Clients continue on the remaining copies while quorum holds. When the server returns, the self-heal daemon copies changed files back to it. Check pending heals before maintenance on another server, so you never take down two copies of the same data.
gluster volume heal media info summary gluster volume status media detail
What is the state of the project?
GlusterFS is mature and widely deployed, and community releases continue at a slower pace than in its peak years after its main commercial sponsor ended its product in 2024. For a new large system, also consider CephFS storage clusters, which has a very active community. For an existing team comfortable with Gluster, or a small replicated file share, it remains a practical choice.
Which machines fit?
| Volume | Machines | Usable space, approx. |
|---|---|---|
| Replica 3 on STORAGE-1 | 3 x STORAGE-1 | About 28 TB after RAID 6 |
| Replica 2 plus arbiter on STORAGE-2 2026 | 2 x STORAGE-2 2026 plus a small arbiter | About 24 TB mirrored |
| Dispersed 4+2 on STORAGE-3 2026 | 6 x STORAGE-3 2026 | Over 1 PB |
STORAGE-1 costs $109.80 a month with 2x 480 GB SSD SATA (system) + 4x 14 TB HDD SAS, Soft RAID. Keep all servers of a volume in one data centre; for a copy in another city, use geo-replication, which ships changes asynchronously. Backup and archive storage covers backups, which a replicated volume does not replace.
Machines for GlusterFS
Lowest monthly price of each model across its data centres; the model page shows the price in every location.
| Model | Processor | Cores | Memory | Drives | Port | Per month |
|---|---|---|---|---|---|---|
| STORAGE-1 | AMD Ryzen 7 Pro 3700 | 8 | 32 GB | 2x 480 GB SSD SATA + 4x 14 TB HDD SAS | 1 Gbps unmetered | $109.80 |
| STORAGE-2 2024 | AMD EPYC 4344P | 8 | 32 GB | 2x 960 GB SSD NVMe + 2x 22 TB HDD SAS | 3 Gbps unmetered | $187.80 |
| STORAGE-2 2026 | AMD EPYC 4345P | 8 | 32 GB | 2x 960 GB SSD NVMe + 2x 24 TB HDD SAS | 3 Gbps unmetered | $273.00 |
| STORAGE-3 2024 | Intel Xeon Gold 6554S | 36 | 128 GB | 2x 960 GB SSD NVMe + 24x 22 TB HDD SAS | 10 Gbps unmetered | $1,037.40 |
| STORAGE-3 2026 | AMD EPYC 9135 | 16 | 128 GB | 2x 1 TB SSD NVMe + 16x 24 TB HDD SAS | 10 Gbps unmetered | $1,468.80 |
| ESSENTIAL-2 | Intel Xeon-E 2388G | 8 | 32 GB | 2x 512 GB SSD NVMe | 1 Gbps unmetered | $43.20 |
Three Storage servers in one data centre make a replicated volume with room to grow.
Related pages
CephFS storage clusters
Build a CephFS cluster with cephadm on Storage servers: monitors, managers, OSDs and MDS daemons, NVMe for metadata, encrypted messenger and sizing.
Read moreLustre file systems
Understand Lustre on rented bare metal: MGS, MDT and OST roles, LNet over TCP, ldiskfs or ZFS targets, striping and when a smaller design fits.
Read moreBackup and archive storage
Hard disk chassis from 44 TB to 576 TB raw for offsite backups, archives and object storage targets.
Read moreQuestions and answers
Which GlusterFS volume type is safest?
Replica 3, or replica 2 with an arbiter, which both use quorum to prevent split-brain. Avoid plain replica 2.
Which ports does GlusterFS use?
TCP 24007 for management, 24008 for RDMA management where used, and one port per brick from 49152 upwards.
Which file system should GlusterFS bricks use?
XFS with a 512-byte inode size, with the brick in a subdirectory of the mount point.
Is GlusterFS still maintained?
Yes, by its community, at a slower pace than before. It is mature; for new large systems, Ceph is also worth comparing.
Can a GlusterFS volume span two cities?
Keep each volume in one data centre and use geo-replication to send changes asynchronously to another location.