How to install mhddfs on CentOS 7


Step 1: install fuse-devel

[root@tutorialspots ~]# yum install fuse-devel
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.trouble-free.net
 * epel: mirrors.coreix.net
 * extras: mirrors.sorengard.com
 * ius: iad.mirror.rackspace.com
 * updates: mirror.es.its.nyu.edu
Resolving Dependencies
--> Running transaction check
---> Package fuse-devel.x86_64 0:2.9.2-8.el7 will be installed
--> Processing Dependency: fuse-libs = 2.9.2-8.el7 for package: fuse-devel-2.9.2
-8.el7.x86_64
--> Processing Dependency: libulockmgr.so.1()(64bit) for package: fuse-devel-2.9
.2-8.el7.x86_64
--> Processing Dependency: libfuse.so.2()(64bit) for package: fuse-devel-2.9.2-8
.el7.x86_64
--> Running transaction check
---> Package fuse-libs.x86_64 0:2.9.2-8.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package             Arch            Version                Repository     Size
================================================================================
Installing:
 fuse-devel          x86_64          2.9.2-8.el7            base           37 k
Installing for dependencies:
 fuse-libs           x86_64          2.9.2-8.el7            base           93 k

Transaction Summary
================================================================================
Install  1 Package (+1 Dependent package)

Total download size: 130 k
Installed size: 415 k
Is this ok [y/d/N]: y
Downloading packages:
(1/2): fuse-devel-2.9.2-8.el7.x86_64.rpm                   |  37 kB   00:00
(2/2): fuse-libs-2.9.2-8.el7.x86_64.rpm                    |  93 kB   00:00
--------------------------------------------------------------------------------
Total                                              646 kB/s | 130 kB  00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : fuse-libs-2.9.2-8.el7.x86_64                                 1/2
  Installing : fuse-devel-2.9.2-8.el7.x86_64                                2/2
  Verifying  : fuse-devel-2.9.2-8.el7.x86_64                                1/2
  Verifying  : fuse-libs-2.9.2-8.el7.x86_64                                 2/2

Installed:
  fuse-devel.x86_64 0:2.9.2-8.el7

Dependency Installed:
  fuse-libs.x86_64 0:2.9.2-8.el7

Complete!

Step 2: install fuse

[root@tutorialspots ~]# yum install fuse
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.trouble-free.net
 * epel: mirror.bytemark.co.uk
 * extras: mirrors.sorengard.com
 * ius: ius.mirror.constant.com
 * updates: mirror.es.its.nyu.edu
Resolving Dependencies
--> Running transaction check
---> Package fuse.x86_64 0:2.9.2-8.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package         Arch              Version                Repository       Size
================================================================================
Installing:
 fuse            x86_64            2.9.2-8.el7            base             85 k

Transaction Summary
================================================================================
Install  1 Package

Total download size: 85 k
Installed size: 218 k
Is this ok [y/d/N]: y
Downloading packages:
fuse-2.9.2-8.el7.x86_64.rpm                                |  85 kB   00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : fuse-2.9.2-8.el7.x86_64                                      1/1
  Verifying  : fuse-2.9.2-8.el7.x86_64                                      1/1

Installed:
  fuse.x86_64 0:2.9.2-8.el7

Complete!

Step 3: download file

CentOS 7 64bits: ftp://ftp.pbone.net/mirror/ftp5.gwdg.de/pub/opensuse/repositories/home:/awk2007:/scm/CentOS_CentOS-6/x86_64/mhddfs-9999-1.4.x86_64.rpm

CentOS 7 32bits: ftp://ftp.pbone.net/mirror/ftp5.gwdg.de/pub/opensuse/repositories/home:/awk2007:/scm/CentOS_CentOS-6/i686/mhddfs-9999-1.4.i686.rpm

[root@tutorialspots ~]# wget ftp://ftp.pbone.net/mirror/ftp5.gwdg.de/pub/opensuse/rep
ositories/home:/awk2007:/scm/CentOS_CentOS-6/x86_64/mhddfs-9999-1.4.x86_64.rpm
--2018-02-20 14:24:20--  ftp://ftp.pbone.net/mirror/ftp5.gwdg.de/pub/opensuse/re
positories/home:/awk2007:/scm/CentOS_CentOS-6/x86_64/mhddfs-9999-1.4.x86_64.rpm
           => `mhddfs-9999-1.4.x86_64.rpm'
Resolving ftp.pbone.net (ftp.pbone.net)... 93.179.225.212
Connecting to ftp.pbone.net (ftp.pbone.net)|93.179.225.212|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD (1) /mirror/ftp5.gwdg.de/pub/opensuse/repositories
/home:/awk2007:/scm/CentOS_CentOS-6/x86_64 ... done.
==> SIZE mhddfs-9999-1.4.x86_64.rpm ... 37464
==> PASV ... done.    ==> RETR mhddfs-9999-1.4.x86_64.rpm ... done.
Length: 37464 (37K) (unauthoritative)

100%[======================================>] 37,464       184KB/s   in 0.2s

2018-02-20 14:24:22 (184 KB/s) - `mhddfs-9999-1.4.x86_64.rpm' saved [37464]

Step 4: install

[root@tutorialspots ~]# rpm -ivh mhddfs-9999-1.4.x86_64.rpm
warning: mhddfs-9999-1.4.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 872e75
74: NOKEY
Preparing...                          ################################# [100%]
Updating / installing...
   1:mhddfs-9999-1.4                  ################################# [100%]

Done, now you can use mhddfs:

[root@tutorialspots ~]# mhddfs

Multi-hdd FUSE filesystem
 Copyright (C) 2008, Dmitry E. Oboukhov <dimka@avanto.org>

Usage:
 mhddfs dir1,dir2.. mountpoint [ -o OPTIONS ]

OPTIONS:
  mlimit=xxx - limit of the disk free space (if the disk
          has the free space more than specified - it is
          considered as the empty one).  Default is  4Gb,
          but 100Mb at least.
  logfile=/path/to/file  -  path to a file where the logs
          will be stored.
  loglevel=x - level for log-messages:
                0 - debug
                1 - info
                2 - default messages

 see fusermount(1) for information about other options

Recent search terms:

  • how to install mhddfs on centos 7