Forums

Resolved
0 votes
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.
Wednesday, June 15 2016, 06:50 AM
Share this post:
Responses (11)
  • Accepted Answer

    Monday, April 17 2017, 12:21 AM - #Permalink
    Resolved
    0 votes
    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 as one line - there is a space between fuse.mergerfs category
    /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 as one line - there is a space between storage fuse defaults
    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.
    The reply is currently minimized Show
  • Accepted Answer

    Sunday, April 16 2017, 10:41 PM - #Permalink
    Resolved
    0 votes
    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
    The reply is currently minimized Show
  • Accepted Answer

    Monday, June 20 2016, 07:26 PM - #Permalink
    Resolved
    0 votes
    We should be able to sneak that into the 6.8.0 beta.
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, June 16 2016, 02:44 PM - #Permalink
    Resolved
    0 votes
    I would guess the directories are still being created in /root but may be being deleted afterwards.
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, June 16 2016, 02:24 PM - #Permalink
    Resolved
    0 votes
    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.
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, June 16 2016, 02:03 PM - #Permalink
    Resolved
    0 votes
    Are you not running as root?

    [edit]
    If you are not running as root, can you comment in Bug 9271 which I've just raised?
    [/edit]
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, June 16 2016, 01:03 PM - #Permalink
    Resolved
    0 votes
    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.
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, June 15 2016, 06:00 PM - #Permalink
    Resolved
    0 votes
    The other thing you could do is cd to the folder containing these folders and run yum update from there. I'd like to bet that would delete them.
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, June 15 2016, 05:02 PM - #Permalink
    Resolved
    0 votes
    I've just run yum update again from /root and the following directories appeared: contribs, private-clearcenter-dyndns, private-clearcenter-plex, private-clearcenter-roundcubemail, private-clearcenter-smart-monitor, private-clearcenter-static-vpn. They disappeared when yum finished. I suspect they are being downloaded on the fly because of the configuration in /etc/yum/pluginconf.d/clearcenter-marketplace.conf which I've sort of proved by hiding the file. If you do that the repo list becomes shorter when you run yum and the folders are not downloaded/created.

    From this observation, I'd say it is safe to delete them. I do wonder, however, if it is a bug that they are not downloaded into a consistent directory such as /tmp. It would be nice to have a developer comment.
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, June 15 2016, 11:46 AM - #Permalink
    Resolved
    0 votes
    "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.
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, June 15 2016, 11:15 AM - #Permalink
    Resolved
    0 votes
    I noticed that a few days ago. They appeared transiently in /root during a "yum update" but they disappeared after the update finished. I think I was in /root when I ran the update. Are yours staying?
    The reply is currently minimized Show
Your Reply