talira

mergerfs

A featureful union filesystem

open sourceISCself-hostablefree

mergerfs is a FUSE union filesystem for Linux that pools several filesystems or directories (hard drives, SSDs, network shares) into what looks like one big directory, while each drive stays an ordinary filesystem you can still read on its own. It's a simple alternative to RAID for media libraries, backups and archives: there's no parity or rebuild, a failed drive loses only the files on it, drives of any size and filesystem type can be mixed, and you can add or remove them at runtime. Policies decide which drive new files are created on, and it supports file IO passthrough for near-native speed, hard links, extended attributes and POSIX ACLs, and lets idle drives spin down. It doesn't provide parity itself: for RAID-like redundancy its docs point to SnapRAID or NonRAID. Packages cover Debian, Ubuntu, Fedora and RHEL, with static builds for other Linux systems, under the ISC licence.

Problems it solves

  • combine several hard drives of different sizes into one folder for my media server
  • pool drives in my home NAS without RAID so one failure doesn't lose everything
  • add a new disk to my storage pool without rebuilding an array
  • let idle hard drives spin down while the pool stays mounted
  • replacement for mhddfs, unionfs or aufs
  • open source alternative to Windows DrivePool on Linux
  • control which disk new files are written to across a drive pool

Features

  • combines many filesystems or paths into one mount point
  • add or remove filesystems at runtime without touching the rest of the data
  • individual filesystem failures affect only their own files
  • configurable policies for where new files are created
  • file IO passthrough for near-native performance where supported
  • mix filesystems of any size and almost any type
  • ignores read-only filesystems when creating files
  • hard links, including copy-on-write hard links
  • runtime configuration
  • extended attributes, chattr file attributes and POSIX ACLs
View 1 more
  • drives don't need to spin when unused

Limitations

  • no RAID-like redundancy, striping, snapshots or integrity checks; pair it with something like SnapRAID for parity1

Capabilities

Has a command line toolplan not known

Alternatives

The same job

These do what mergerfs does.

  1. OpenZFS Advanced file system and volume manager for Linux and FreeBSD

Compare mergerfs with the top 3