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 wget -c https://copr.fedorainfracloud.org/coprs/lovetide/mergerfs/repo/opensuse-leap-15.2/lovetide-mergerfs-opensuse-leap-15.2.repo wget -c https://copr.fedorainfracloud.org/coprs/lovetide/mergerfs/repo/opensuse-leap-15.1/lovetide-mergerfs-opensuse-leap-15.1.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 7 x86_64 (0)* EPEL 7 (156 downloads)
EPEL 8 x86_64 (0)* EPEL 8 (94 downloads)
openSUSE Tumbleweed x86_64 (0)* openSUSE Tumbleweed (80 downloads)

* Total number of downloaded packages.