Project ID: 35012


mergerfs is a union filesystem geared towards simplifying storage and management of files across numerous commodity storage devices. It is similar to mhddfs, unionfs, and aufs. If you know about view of relational database, mergerfs is similar to view too.

mergerfs 是一种联合文件系统,用来对“文件分散在各类存储上”的问题进行简化其存储和管理。跟 mhddfs、overlayfs、unionfs、aufs 有些类似。 如果你了解关系数据库的视图的话,那么 mergerfs 跟视图也有些类似。

Installation Instructions

Install 安装

Use root account to issue the following command lines. 用 root 帐号执行下面的命令行。

Fedora, CentOS 8

dnf copr enable lovetide/mergerfs dnf install mergerfs

CentOS 6, CentOS 7

cd /etc/yum.repos.d/ # download one of the following .repo file according your CentOS version wget -c wget -c yum install mergerfs


cd /etc/zypper/repos.d/ # download one of the following .repo file according your openSUSE version wget -c wget -c wget -c zypper install mergerfs

Usage 使用方法

Command line example 命令行示例

Read the manual from, especially the policy section. 先在 看一下手册,尤其是关于“策略”的章节。

mergerfs -o defaults,allow_other,use_ino,category.create=epff,fsname=MergerFS是一种联合文件系统 /first第一个/dir文件夹:/second第二个/文件夹:/third第三个/文件夹 /this这/is是/merged合并后的/directory文件夹 mergerfs -o defaults,allow_other,use_ino,category.create=epff,fsname=hahaha哈哈哈 /mnt/ssd:/mnt/hdd /home/user_account

/etc/fstab example /etc/fstab 示例

/mnt/ssd:/mnt/hdd /home/user_account fuse.mergerfs defaults,allow_other,use_ino,category.create=epff,fsname=hahaha哈哈哈 0 0

Active Releases

The following unofficial repositories are provided as-is by owner of this project. Contact the owner directly for bugs or issues (IE: not bugzilla).

Release Architectures Repo Download
EPEL 7 x86_64 (0)* EPEL 7 (120 downloads)
EPEL 8 x86_64 (0)* EPEL 8 (68 downloads)
openSUSE Leap 15.2 x86_64 (0)* openSUSE Leap 15.2 (0 downloads)
openSUSE Tumbleweed x86_64 (0)* openSUSE Tumbleweed (67 downloads)

* Total number of packages downloaded in the last seven days.