Build your distributed storage in minutes
open sourceGPL-2.0-only OR LGPL-3.0-or-laterself-hostablefree
GlusterFS is a scalable network file system that pools disks on ordinary servers ("bricks") into volumes clients mount over its native FUSE client or reach over NFS and SMB. Files are placed by hashing their paths (the DHT translator), with no central metadata server, and volumes can be distributed, replicated, dispersed (erasure-coded) or combinations of those. Geo-replication copies a volume asynchronously to another site over LAN, WAN or the internet for disaster recovery, and a stack of translators adds caching, quotas and other features. It's community-maintained under GPLv2 or LGPLv3+; Red Hat's commercial distribution, Red Hat Gluster Storage, reached end of life on 31 December 2024.
Ways to install
Package managers
Problems it solves
- pool the disks of several Linux servers into one shared file system clients can mount
- a shared POSIX file system for a web farm that survives one server dying
- replicate a directory across three servers so we keep serving files if a node fails
- scale file storage to petabytes on commodity hardware without a SAN
- erasure-code a big media archive across servers instead of keeping full copies
- copy a whole file share to a second site asynchronously for disaster recovery
- a clustered file system without a single metadata server to bottleneck or fail
- export the same distributed storage over NFS and SMB to existing clients
- set directory quotas on a shared network file system
- replace a single NFS server that's run out of space with something that grows by adding servers
- shared storage for VM images across a small cluster of hosts
Features
- distributed, replicated, distributed-replicated, dispersed and distributed-dispersed volumes
- native FUSE client (mount.glusterfs)
- access over NFS and SMB
- elastic hashing (DHT) with no central metadata server
- AFR replication and erasure-coded dispersed volumes
- asynchronous geo-replication over LAN, WAN or the internet, with cascading multi-site setups
- translators for caching, read-ahead, write-behind, quotas, locks and changelogs
- namespace-based quotas and ZFS snapshot support (Gluster 11)
- runs on XFS or ext4 bricks on commodity servers
Limitations
- Slow over SMB/CIFS: Gluster's install guide says SMB/CIFS access is often slow by most people's standards2
- Not tuned for very small files: Gluster works best with files of at least 16KB, with a sweet spot around 128KB2
Capabilities
| Has a command line tool | plan not known |
|---|
Alternatives
The same job
These do what GlusterFS does.
- MooseFS A petabyte, open source, network distributed file system
- BeeGFS Parallel cluster file system developed with a strong focus on performance and designed for very easy installation and management
- Amazon EFS Serverless, fully elastic file storage
- JuiceFS A distributed POSIX file system built on top of Redis and S3
- Ceph The Future of Storage
- Lustre An open-source, distributed parallel file system designed for scalability, high-performance, and high-availability
