Driver FixRecommendedSound, Wi-Fi or graphics acting up? Check drivers firstFind missing or outdated drivers fast.Check DriversHalloween DealsAmazon USHalloween week deals: useful picks before month-endAmazon US: current deals, useful picks and tech finds.Check DealsPC HealthRecommendedCrashes, freezes, slowdowns? Check your PC nowSpot repairable issues before they interrupt work.Check PC×
Skip to content
World desk10 min

How to Create a Redundant Storage Pool With GlusterFS (Replica 2 and Replica 3 Guide)

Build a redundant GlusterFS pool from the ground up: prepare dedicated brick filesystems, join trusted peers, create correctly ordered replica volumes, start and mount them, then verify that test files reach the expected bricks.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

To create a redundant GlusterFS pool, prepare a dedicated brick filesystem on at least two servers, run glusterd on every node, join the servers into a trusted storage pool, and create a replicated volume whose replica bricks reside on different peers. Start the volume, mount it from a GlusterFS-capable client, and verify that test files appear on every expected brick.

This guide covers replica-2, replica-3, and distributed-replicated designs, including brick ordering, capacity consequences, validation, expansion rules, and the most common setup failures.

As an Amazon Associate I earn from qualifying purchases.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

What a redundant GlusterFS pool actually is

GlusterFS builds storage from bricks: export directories on servers that belong to a trusted storage pool. A trusted storage pool is the group of Gluster servers that recognize one another as peers and can host volumes. A volume is the logical collection of those bricks.

In a replicated volume, GlusterFS keeps each file on multiple bricks. A replica 2 volume keeps two copies; a replica 3 volume keeps three. If one server fails, another replica can continue serving the data, provided the volume and client remain otherwise healthy.

#1 Best Overall
Sale
UGREEN NAS DH2300 2-Bay for Beginners & Personal Users, Phone Backup | AI Album, Private Cloud/Remote Access, File Sharing, Multi-Device Backup, Home Entertainment, 4GB RAM on Board (Diskless)
  • Entry-level NAS Personal Storage:UGREEN NAS DH2300 is your first and best NAS made easy. It is designed for beginners who want a simple, private way to store videos, photos and personal files, which is intuitive for users moving from cloud storage or external drives and move away from scattered date across devices. This entry-level NAS 2-bay perfect for personal entertainment, photo storage, and easy data backup (doesn't support Docker or virtual machines).
  • Set Your Devices Free, Expand Your Digital World: This unified storage hub supports massive capacity up to 64TB.*Storage drives not included. Stop Deleting, Start Storing. You can store 22 million 3MB images, or 2 million 30MB songs, or 43K 1.5GB movies or 67 million 1MB documents! UGREEN NAS is a better way to free up storage across all your devices such as phones, computers, tablets and also does automatic backups across devices regardless of the operating system—Window, iOS, Android or macOS.
  • The Smarter Long-term Way to Store: Unlike cloud storage with recurring monthly fees, a UGREEN NAS enclosure requires only a one-time purchase for long-term use. For example, you only need to pay $459.98 for a NAS, while for cloud storage, you need to pay $719.88 per year, $2,159.64 for 3 years, $3,599.40 for 5 years. You will save $6,738.82 over 10 years with UGREEN NAS! *NAS cost based on DH2300 + 12TB HDD; cloud cost based on 12TB plan (e.g. $59.99/month).
  • Blazing Speed, Minimal Power: Equipped with a high-performance processor, 1GbE port, and 4GB RAM on Board, this NAS handles multiple tasks with ease. File transfers reach up to 125MB/s—a 1GB file takes only 8 seconds. Don't let slow clouds hold you back; they often need over 100 seconds for the same task. The difference is clear.
  • Let AI Better Organize Your Memories: UGREEN NAS uses AI to tag faces, locations, texts, and objects—so you can effortlessly find any photo by searching for who or what's in it in seconds. It also automatically finds and deletes similar or duplicate photo, backs up live photos and allows you to share them with your friends or family with just one tap. Everything stays effortlessly organized, powered by intelligent tagging and recognition.

A distributed-replicated volume combines two behaviors: files are distributed across multiple replica sets to increase usable capacity, while each file is replicated inside its assigned set. Replication protects against a brick or host failure; distribution lets you add more replica sets as the dataset grows.

Replication is availability protection, not a backup history. It mirrors accidental deletions, corruption, ransomware-encrypted files, and configuration mistakes. Keep an independent backup system with its own retention and recovery process.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Choose the volume layout before installing anything

Layout When it fits Capacity and design consequences
Replicated (replica N) Reliability and high availability matter more than mirrored capacity. Every file has N copies. With equal-size bricks, usable capacity is approximately the capacity of one replica set, not the sum of all bricks.
Distributed replicated You need to scale capacity while retaining replica protection. Brick count must be divisible by the replica count. Consecutive brick arguments form replica sets, so ordering determines which servers hold each copy.
Dispersed You want erasure-code-style protection and better space efficiency than full mirroring. It requires at least three bricks, and the redundancy level is fixed when the volume is created. Failure tolerance and recovery behavior differ from replication.

For a first redundant deployment, replica 2 is the smallest practical mirror and needs at least two storage servers. Three servers make a straightforward replica-3 example and keep all copies on separate peers. Place replica members in different failure domains whenever possible: separate hosts first, and separate racks, power circuits, or availability zones if your environment supports them.

Plan nodes, failure domains, and capacity

Count servers and bricks

Use two servers for a two-way mirror or three servers for a three-way mirror. In a distributed-replicated design, multiply the replica count by the number of replica sets you need. For example, a six-brick replica 3 volume contains two replica sets. The total brick count must be a multiple of three.

Do not place two members of one replica set on the same server. A disk failure may be isolated to one brick, but a host failure removes every brick on that host. Keeping all members on different peers preserves host-level redundancy.

Estimate usable capacity

Mirroring consumes capacity. If three equal-size bricks form a replica-3 set, the raw space is roughly three times the usable dataset space before filesystem and GlusterFS overhead. A distributed-replicated volume adds capacity by adding complete replica-sized groups, not by adding an arbitrary single brick.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Prepare names, time, and network access

Every node must resolve the hostnames used in Gluster commands. Ensure forward and reverse name resolution, or use a consistent naming method supported by your environment. Run and synchronize time on the servers; the Gluster quick-start guidance treats synchronized clocks as part of a sound setup.

Rank #2
Sale
UGREEN NAS DXP2800 2-Bay for Advanced Home Users, Remote Workers & Creators | Home Media & Data Center, Docker & VM, Plex, Fast File Transfer, Intel N100, 8GB DDR5, 2.5GbE, 2x M.2 NVMe, 4K HDMI(Diskless)
  • 【Advanced Home Data & Media Hub】For advanced home users who need phone backup, file storage, and centralized data management. Centralize family photos, 4K videos, movies, computer backups, and personal files in one place while running multiple apps for home entertainment and everyday data management. Suitable for households with growing digital libraries and multiple NAS use cases.
  • 【Built for Creators, Media Servers & Advanced Apps】Powered by the Intel N100 Quad-Core CPU, 8GB DDR5 RAM, 2.5GbE networking, and dual M.2 NVMe slots, DXP2800 handles large files and heavier workloads with ease. Run Docker, virtual machines, and media server applications compatible with Plex—ideal for content creators, tech enthusiasts, and advanced home users managing 4K videos, RAW photos, personal media libraries, and multiple NAS apps.
  • 【Up to 80TB for Growing Digital Libraries】 Supports up to 80TB of storage using two HDD bays and two M.2 NVMe SSD slots for family photos, movies, RAW photos, 4K videos, work files, and device backups. AI photo management supports recognition of people, objects, scenes, and locations, album organization, and duplicate photo detection. HDDs and SSDs are not included.
  • 【AI-powered Home Surveillance】Turn DXP2800 into a centralized home surveillance hub by connecting compatible network cameras and storing recordings locally on your NAS. AI-powered features include Face Recognition, People Detection, and Pet Detection, helping advanced home users review important events more efficiently while managing home surveillance and personal data in one place.
  • 【One data Center Across Your Devices】Keep files from desktops, laptops, phones, tablets, and other devices together instead of scattered across cloud accounts and external drives. Access, back up, organize, and share data across Windows, macOS, Android, iOS, web browsers, and compatible smart TVs—ideal for creators and advanced home users working across multiple devices.

Permit Gluster management and data traffic through host and network firewalls. Exact ports depend on the GlusterFS release and distribution, so use the target distribution’s current firewall guidance rather than copying a port list from an unrelated release.

Prepare storage and install GlusterFS on every server

Use a dedicated filesystem for bricks

Keep brick data on a filesystem intended for storage rather than on the operating-system root filesystem. The documented quick-start pattern uses XFS on a separate disk and mounts it at /data/brick1. The device name below is an example; substitute the correct device for each server and verify it before formatting.

mkfs.xfs -i size=512 /dev/sdb1
mkdir -p /data/brick1
echo '/dev/sdb1 /data/brick1 xfs defaults 1 2' >> /etc/fstab
mount -a && mount

Warning: mkfs.xfs destroys existing data on the selected device. Confirm the device with your operating system’s disk tools before running it. If the filesystem already exists, mount it instead of formatting it.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Install the server package and start glusterd

Install the GlusterFS server package on every participating storage node, then start and inspect the management daemon:

yum install glusterfs-server
service glusterd start
service glusterd status

Those commands reflect a Fedora-era documented example. Package names, service commands, and repositories vary by distribution and release. Follow the current installation instructions for your operating system, then confirm that glusterd starts automatically after reboot.

Check prerequisites before creating the pool

  • Each server has a mounted data filesystem at the intended brick parent path.
  • The hostnames you will use resolve from every node.
  • glusterd is running on every node.
  • Firewalls allow the required Gluster communication.
  • System clocks are synchronized.
  • The storage filesystem is separate from the operating-system disk where practical.

Join the servers into a trusted storage pool

Choose one node as the administration point and probe the other servers from it. The probe creates peer relationships; it does not create a volume or copy application data.

gluster peer probe server2
gluster peer probe server3

For a two-server pool, probe only server2. For larger pools, probe each additional peer that will host bricks. If hostname identity is important in your environment, probe the first server back from another node as recommended in the quick-start procedure.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #3
Synology DS225+ Private Cloud Media Server - Stream, Back Up Photos & Share Files, Intel CPU for Hardware Transcoding (2-Bay Diskless NAS)
  • Your Personal Streaming Server - Build your own Netflix-style media library and stream 4K movies, shows and photos to any device without monthly fees
  • Create Your Own Cloud - Store your entire photo, video and music collection; access from anywhere with fast 282 MB/s transfer speeds
  • Creator-Grade Backup Solution - Protect your irreplaceable content with automated backups to cloud services, external drives and remote NAS
  • Multi-Layered Data Protection - Combine RAID redundancy, automated backups and snapshot technology to prevent data loss from any cause
  • Smart Home Surveillance - Support up to 30 IP cameras with AI detection, instant alerts and secure remote monitoring

Inspect the result:

gluster peer status

Healthy output shows the expected peers and a connected state. If a peer is missing or disconnected, stop here and fix name resolution, daemon status, or firewall connectivity before creating a volume. A volume can only use bricks on servers that are members of the trusted pool.

Create dedicated brick directories

Create a subdirectory below the mounted brick filesystem on every server that will contribute a brick:

mkdir -p /data/brick1/gv0

Use a different subdirectory for each volume. Do not use the filesystem root, such as /data/brick1, directly as a brick path. A dedicated child directory keeps volume data separate from mount-point metadata and makes future administration safer.

Before continuing, verify that the path is on the intended mounted filesystem on each host. A missing mount can cause data to be written to the operating-system disk instead of the storage device.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Create a replicated volume

Replica 3 on three servers

For a three-way mirror, list one brick from each server and specify replica 3:

gluster volume create gv0 replica 3 server1:/data/brick1/gv0 server2:/data/brick1/gv0 server3:/data/brick1/gv0

This creates the volume definition but does not make it available to clients yet. Each file written through the mounted volume is intended to have a copy on all three listed replica bricks.

Replica 2 on two servers

For a two-way mirror, use two bricks on separate servers:

Rank #4
Sale
UGREEN NAS DH4300 Plus 4-Bay for Beginners, Home Users & Remote Workers | Photo & Video Backup, AI Photo Album, File Hub, Private Cloud & Secure Home Surveillance, 8GB LPDDR4X, 4K HDMI (Diskless)
  • Entry-level NAS Home Storage: The UGREEN NAS DH4300 Plus is an entry-level 4-bay NAS that's ideal for home media and vast private storage you can access from anywhere and also supports Docker but not virtual machines. You can record, store, share happy moment with your families and friends, which is intuitive for users moving from cloud storage, or external drives to create your own private cloud, access files from any device.
  • Smart Photo Backup & AI Album: Automatically back up photos and videos from your phone in real time and keep growing family memories organized with AI-powered photo albums. Semantic search, custom learning, and recognition of people, objects, pets, and similar photos help you quickly find the moments you want. Duplicate photo removal also helps keep your library organized—ideal for families and users with large photo collections.
  • User-Friendly App & Easy Setup: Connect quickly via NFC, set up simply and share files fast on Windows, macOS, Android, iOS, web browsers, and smart TVs. You can access data remotely from any of your mixed devices. What's more, UGREEN NAS enclosure comes with beginner-friendly user manual and video instructions to ensure you can easily take full advantage of its features.
  • More Cost-effective Storage Solution: Unlike cloud storage with recurring monthly fees, A UGREEN NAS enclosure requires only a one-time purchase for long-term use. For example, you only need to pay $629.99 for a NAS, while for cloud storage, you need to pay $719.88 per year, $1,439.76 for 2 years, $2,159.64 for 3 years, $7,198.80 for 10 years. You will save $6,568.81 over 10 years with UGREEN NAS! *NAS cost based on DH4300 Plus + 12TB HDD; cloud cost based on 12TB plan (e.g. $59.99/month).
  • Your Data, You Control:No third-party clouds, no hidden access, UGREEN NAS provides a more secure and private data storage solution. It stores data locally on your private hard drives and does automatic backups. Thus, you can keep full control over it. The advanced encryption is TRUSTe certified in the United States and is awarded the first (and only) ETSI EN 303 645 certification mark for NAS products by TÜV SÜD Group.
gluster volume create gv0 replica 2 server1:/data/brick1/gv0 server2:/data/brick1/gv0

Replica 2 uses less raw capacity than replica 3, but it has less redundancy. A two-server design can lose redundancy as soon as one server is unavailable, so plan how clients will behave during that degraded period.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Distributed replicated volume

For multiple replica sets, the number of brick paths must be divisible by the replica count, and the order of the arguments matters. With replica 3 and six bricks, put one brick from each server in the first three positions, then the second brick from each server:

gluster volume create gv0 replica 3 server1:/data/brick1/gv0 server2:/data/brick1/gv0 server3:/data/brick1/gv0 server1:/data/brick2/gv0 server2:/data/brick2/gv0 server3:/data/brick2/gv0

The first three consecutive bricks form one replica set; the next three form the second. If you accidentally place two bricks from the same host in one set, you reduce host-failure protection and may receive a warning or refusal. Review the proposed layout before confirming the command.

What happens if the brick count is wrong?

GlusterFS requires a distributed-replicated volume’s brick count to be a multiple of its replica count. For example, four bricks cannot form a replica 3 distributed-replicated volume. Add or remove bricks in complete replica-sized groups instead of trying to create an uneven set.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Start the volume and inspect its state

A newly created volume must be started before clients can mount it:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
gluster volume start gv0
gluster volume info gv0
gluster volume status gv0

In gluster volume info, confirm the volume name, volume type, replica count, transport, brick count, and brick paths. The status must report Started. gluster volume status checks the online volume processes and helps identify a brick that is not running.

If the volume will not start, inspect /var/log/glusterfs/glusterd.log on the relevant nodes. Correct the underlying peer, path, permission, or connectivity problem, then run the status commands again. Do not proceed to client mounts while the volume is stopped or a required brick is offline.

Best Value
BUFFALO LinkStation 210 2TB 1-Bay NAS Network Attached Storage with HDD Hard Drives Included NAS Storage that Works as Home Cloud or Network Storage Device for Home
  • Value NAS with RAID for centralized storage and backup for all your devices. Check out the LS 700 for enhanced features, cloud capabilities, macOS 26, and up to 7x faster performance than the LS 200.
  • Connect the LinkStation to your router and enjoy shared network storage for your devices. The NAS is compatible with Windows and macOS*, and Buffalo's US-based support is on-hand 24/7 for installation walkthroughs. *Only for macOS 15 (Sequoia) and earlier. For macOS 26, check out our LS 700 series.
  • Subscription-Free Personal Cloud – Store, back up, and manage all your videos, music, and photos and access them anytime without paying any monthly fees.
  • Storage Purpose-Built for Data Security – A NAS designed to keep your data safe, the LS200 features a closed system to reduce vulnerabilities from 3rd party apps and SSL encryption for secure file transfers.
  • Back Up Multiple Computers & Devices – NAS Navigator management utility and PC backup software included. NAS Navigator 2 for macOS 15 and earlier. You can set up automated backups of data on your computers.

Mount the volume from a client

The client must have GlusterFS client support installed. Create a mount point and mount the volume by naming a reachable Gluster server and the volume name:

mkdir -p /mnt/gluster-test
mount -t glusterfs server1:/gv0 /mnt/gluster-test

The server in the mount command is a connection endpoint; clients can use another healthy peer if the environment and client configuration support it. Ensure the client can resolve that hostname and reach the Gluster service through its firewall.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Validate replication with a controlled write test

Validation should prove both client visibility and brick-level placement. Start with a small test directory rather than copying production data.

  1. Write a uniquely named file through the mounted path, for example echo 'replication test' > /mnt/gluster-test/replica-check.txt.
  2. Read the file back through the mount and confirm the expected contents.
  3. On each server, check the corresponding brick directory for the test file: /data/brick1/gv0/replica-check.txt.
  4. For a replica-2 or replica-3 volume, confirm that the file appears on each replica brick in the set. A distributed-replicated volume places the file in one replica set, so inspect the set that contains it rather than expecting every brick in the entire volume to contain every file.
  5. Remove the test file through the mounted volume when validation is complete.

The Gluster quick-start example validates a larger transfer by copying 100 files through the mount and checking the brick directories on each server. That count is an example test, not a performance benchmark or a required minimum.

Understand failure domains and degraded operation

Replication only protects failures that are independent of one another. Three copies on three separate hosts are more resilient to a host outage than three brick directories on one host. Likewise, placing all servers in one rack or on one power circuit leaves a shared failure domain outside Gluster’s control.

When designing production placement, document which server owns each brick, which replica set it belongs to, and which physical or logical failure domain it occupies. Keep that mapping with your recovery documentation so an expansion or replacement does not accidentally co-locate replicas.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Expand a distributed-replicated volume safely

Plan expansion in replica-sized groups. The managing-volumes guidance requires adding bricks in multiples of the replica count. A replica 3 volume therefore needs three new bricks for each additional replica set, with one brick on each intended peer whenever possible.

Before expansion, verify that the new servers are trusted peers, their filesystems are mounted, and their brick directories are empty dedicated paths. Preserve the same ordering discipline used at creation time. An incorrectly ordered expansion can put replica members in the wrong failure domains.

Troubleshoot the common setup failures

Symptom Likely cause What to check
gluster peer probe fails or the peer is disconnected Hostname resolution, stopped glusterd, or blocked firewall traffic. Resolve both hostnames, run gluster peer status, check service glusterd status, and review firewall rules on both nodes.
Volume creation rejects the brick layout Replica members are on the same server, or the brick count is not divisible by the replica count. Reorder brick arguments and add or remove complete replica-sized groups.
The volume exists but clients cannot mount it The volume was not started, the client lacks GlusterFS support, or the endpoint is unreachable. Run gluster volume info gv0, confirm Status: Started, check client installation, name resolution, and firewall access.
A brick path contains no expected files The wrong filesystem is mounted, the path belongs to another volume, or the file is in a different replica set. Confirm the mount with mount, verify the exact brick path, and map the file to its replica set in a distributed-replicated layout.
The volume will not start A brick process, path, peer, or daemon problem. Run gluster volume status gv0 and inspect /var/log/glusterfs/glusterd.log on affected nodes.

Production checklist

  • Use separate storage filesystems and dedicated subdirectories for every brick.
  • Keep replica members on separate servers and, where possible, separate physical failure domains.
  • Synchronize clocks and verify hostname resolution before peer probing.
  • Install and enable the appropriate GlusterFS server and client packages for your distribution.
  • Confirm peer membership with gluster peer status.
  • Check volume type, brick order, and replica count with gluster volume info.
  • Start the volume and verify it reports Started.
  • Mount from a GlusterFS-capable client and perform a write/read test.
  • Check the expected replica brick paths, not just the client mount.
  • Expand distributed-replicated volumes only in complete replica-sized groups.
  • Maintain independent backups for deletion, corruption, ransomware, and configuration recovery.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
Crashes, No Sound, or Screen Glitches?Free driver scan
PC Slower Than It Used to Be?Free scan - under a minute

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.