CentOS 7 多硬盘合并 mergerfs 磁盘合并 + Duf 磁盘容量查看

本人现阶段知道多硬盘最好的解决方案,多个磁盘合并成1个,一块硬盘崩溃了不影响其他盘的数据。

官方地址:

GitHub – trapexit/mergerfs: a featureful union filesystem

英文教程(请自行架梯子)

https://www.youtube.com/watch?v=tpqFywkbZa4

#下载对应安装包
wget https://github.com/trapexit/mergerfs/releases/download/2.32.6/mergerfs-2.32.6-1.el7.x86_64.rpm
#安装
rpm -i mergerfs-2.32.6-1.el7.x86_64.rpm

vim /etc/fstab
##########
UUID=809c38f8-8bcb-4994-b99c-73ab40c743d2 /KodBox/db1  xfs    defaults        0 0
UUID=27a33eed-cccb-43a0-ada9-fca6c2fcfa5e /KodBox/db2  xfs    defaults        0 0

/KodBox/db*     /KodBox/allDB   fuse.mergerfs   defaults,nonempty,allow_other,use_ino,cache.files=off,moveonenospc=true,dropcacheonclose=true,minfreespace=1G,fsname=mergerfs  0   0
##########

chmod -R 777 /KodBox/db*
mount -a
df -h

《CentOS 7 多硬盘合并 mergerfs 磁盘合并 + Duf 磁盘容量查看》

#下载
wget https://github.com/muesli/duf/releases/download/v0.6.2/duf_0.6.2_linux_amd64.rpm
#安装
rpm -i duf_0.6.2_linux_amd64.rpm
#使用
duf

《CentOS 7 多硬盘合并 mergerfs 磁盘合并 + Duf 磁盘容量查看》

完成后,还有个snapraid,貌似用这个来做备份

    原文作者:zhangbest5
    原文地址: https://blog.csdn.net/zhangbest5/article/details/120916669
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞