lovetide/mergerfs

Project ID: 35012

Description

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 https://copr.fedorainfracloud.org/coprs/lovetide/mergerfs/repo/epel-7/lovetide-mergerfs-epel-7.repo wget -c https://copr.fedorainfracloud.org/coprs/lovetide/mergerfs/repo/epel-6/lovetide-mergerfs-epel-6.repo yum install mergerfs

openSUSE

cd /etc/zypper/repos.d/ # download one of the following .repo file according your openSUSE version wget -c https://copr.fedorainfracloud.org/coprs/lovetide/mergerfs/repo/opensuse-tumbleweed/lovetide-mergerfs-opensuse-tumbleweed.repo zypper install mergerfs

Usage 使用方法

Command line example 命令行示例

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

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 for CentOS 6 i386 (0)*, x86_64 (0)* Epel for CentOS 6 (5 downloads)
Epel for CentOS 7 x86_64 (0)* Epel for CentOS 7 (6 downloads)
Epel for CentOS 8 x86_64 (0)* Epel for CentOS 8 (6 downloads)
Fedora 31 i386 (0)*, x86_64 (0)* Fedora 31 (5 downloads)
Fedora 32 i386 (0)*, x86_64 (0)* Fedora 32 (10 downloads)
openSUSE Tumbleweed x86_64 (0)* openSUSE Tumbleweed (9 downloads)

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