-
Ron Toorenburgh wrote:
Hello All,
I've nothing to add to this discussion but i would like to know how to install mhddfs on ClearOs 7.
I've looked and tried yum but that will not succeed.
Is there anyone who will provide me with the instruction to install it?
By the way: i want to use it to mount different harddisk to the same mountpoint so that the different parts of the harddisk appears as that one directory.
Thanks very much in advance.
Rato65
I'm still using clearos 6.7 32bit - as backup to server with salix 14.1 64bit, both use mergerfs.
I started with original mhddfs, changed to mhddfs-nosegfault, now I use mergerfs on both servers as it's actually maintained/updated and has good documentation.
However here are instructions for both
# create hard drive mount locations
sudo mkdir -p /mnt/data
sudo mkdir -p /mnt/data/hdd-1
sudo mkdir -p /mnt/data/hdd-2
sudo mkdir -p /mnt/storage # access/modify data from this directory
# Mergerfs - use git or tar from https://github.com/trapexit/mergerfs
git clone https://github.com/trapexit/mergerfs.git
cd mergerfs
make
make man # may need to install pandoc to create man page
sudo make install
# optional
https://github.com/trapexit/mergerfs-tools
# add mergerfs mount to /etc/fstab
sudo vi /etc/fstab
# add the following
/mnt/data/* /mnt/storage fuse.mergerfs category.create=eplfs,defaults,allow_other,minfreespace=10G,fsname=mergerfsPool 0 0
# Mhddfs - use git or tar from https://github.com/vdudouyt/mhddfs-nosegfault
git clone https://github.com/vdudouyt/mhddfs-nosegfault.git
cd mhddfs-nosegfault
make
sudo mv mhddfs /usr/local/bin
# add the following to /etc/fstab
mhddfs#/mnt/data/hdd-1,/mnt/data/hdd-2 /mnt/storage fuse defaults,allow_other,direct_io,big_writes,mlimit=20G,fsname=mhddfsPool 0 0
If both are installed enable only one at a time via fstab.
Hopefully these notes help you. -
-
I don't normally use the root account, as per your idea I switched to root with "sudo -i" and the directories are not being created.
-
-
thanks nick for your help, just to reiterate i created a new directory cd into it ran "sudo yum update" and it created the same three directories, ran yum again and the directories were not removed. I can verify that renaming /etc/yum/pluginconf.d/clearcenter-marketplace.conf does stop said directories from being created.
-
-
"yum update" doesn't remove them, yum says "No Packages marked for Update" but does list private-clearcenter-dyndns: download1.clearsdn.com:80,private-clearcenter-netatalk: download1.clearsdn.com:80,private-clearcenter-smart-monitor: download3.clearsdn.com:80 along with epel and clearos repos.
-
-
"yum update" doesn't remove them, yum says "No Packages marked for Update" but does list private-clearcenter-dyndns: download1.clearsdn.com:80,private-clearcenter-netatalk: download1.clearsdn.com:80,private-clearcenter-smart-monitor: download3.clearsdn.com:80 along with epel and clearos repos.
-
-
randomly created directories
I reinstalled clearos 6.7 32bit, ssd for OS, /home is bind mounted to hdd, mhddfs to pool drives.
The problem is the following empty directories are being created seemingly randomly private-clearcenter-dyndns, private-clearcenter-smart-monitor, private-clearcenter-netatalk.
They don't all appear together in all directories. They appear in my users home, directories I have created and even in git clone of rsync. I did pay for netatalk and smart monitor. I had to use yum to install the netatalk app as it was missing from the market. Thanks in advance for any assistance. -
-
-
Congrats on registering on the site!
-
Toggle Sidebar