Unionfilesystem Plugin

  • multiplex: to combine multiple things to one.


    If a single drive is filled by a single file there isn't anything mergerfs can do besides split the file up... which it won't do because the point is to simply merge drives together as is. Not to build a filesystem on top of them. The policies dictate which drive is selected for creating a file but that has nothing to do with writes. The only control over writes is 'moveonenospc' which in the docs should be clear on.


    You need to read the section about policies and path preserving and what moveonenospc does.


    You should probably not be using a path preserving policy and turn on moveonenospc.

  • I installed the backports kernel, rebooted, and ran the update. I didn't see any packages related to fuse (lots of firmware stuff), but I installed everything it presented to me anyway. Still having the same problem with copying additional files to the pool. Should I try reinstalling the fuse 2.9.3 package?

  • Trapexit,
    Thanks - I'm not copying a single file. I'm copying thousands of files in hundreds of folders, with one top level folder common to all. I understand that a file cannot span across multiple drives, but a folder (path) should be able to span across multiple drives, right?
    Best,
    Phil

    • Offizieller Beitrag

    I installed the backports kernel, rebooted, and ran the update. I didn't see any packages related to fuse (lots of firmware stuff), but I installed everything it presented to me anyway. Still having the same problem with copying additional files to the pool. Should I try reinstalling the fuse 2.9.3 package?


    Go figure. I figured you were on amd64 and your system is i386. I will have to build the i386 packages.

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.2 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • Trapexit
    I am using OMV 2.2.4 (stoneburner) with snapraid installed. I have installed the union filesystems plugin, and created a volume using mergerfs with epmfs policy. Minfreespace is set to 8GB. The files are all much smaller than 8GB, so I should never run into that issue (I had that issue with unRAID and learned from those trying days). I don't know if I am using moveonenospc or not...I am not fluent in command line, so I only use what is available in the GUI for configuration. I do not remember configuring moveonenospc nor do I know if it can be configured in the GUI. Any guidance you might have would be greatly appreciated. ryecoaaron is working on updating the backport, so it might not be a problem with mergerfs at all, but rather fuse. If you'll let me know what logs or info you need, I'll be happy to pull it up for you. Right now, I have uninstalled the unionfilesystems plugin while waiting on the back ports update. That way, the plugin will install with the most recent packages.
    Best,
    Phil

  • It's not a problem with fuse or mergerfs but your setup but without understanding **exactly** what you're doing and how it's setup we can't help.


    Are you intentionally using path preserving? if you don't care what drive the files end up on you should not use a path preserving policy.

  • Trapexit,
    I'm reinstalling the plugin right now (haven't installed any back port update for fuse) to test a non-path preserving policy. Perhaps that was the problem.


    What else do I need to tell you to help you understand my setup? I'm not trying to be obtuse.
    Best,
    Phil

  • Trapexit,
    I reinstalled the plugin, and chose mfs policy. The files are copying again.
    Thank you.
    So, if I'm understanding this correctly, preserving the path prevents any usage beyond one drive?
    Best,
    Phil

  • All the settings for mergerfs and a simple example of the problem with all information about drives, capacity, file size, etc. Everything related to what's going on.


    The policies use the drive size at create time to determine where something goes. If I don't know what that information is I can't comment on why it's behaving a certain way.

    • Offizieller Beitrag

    Post cat /etc/fstab

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.2 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • Here ya go. Curious - I'm using a USB flash drive, with the flash memory plugin installed and I modified the fstab file as directed...but the changes appear not to have taken...



  • Ryecoaaron,
    Thanks a bunch for taking care of the backport of fuse and libfuse. I installed them, and reestablished a mergerfs volume with epmfs just like before and resumed the same copy operation. So far, so good. Will let you know if the copy operation completes without incident.
    Really appreciate the help.
    Best,
    Phil

  • Hi,
    I'm using mergerfs on OMV 2.2.4 for a few days and everything works well. I'd like to use the eplfs policy that is not present in the plugin interface for OMV 2.


    I'm using a VM for all the tests.


    I've edited /etc/default/openmediavault with this:


    Code
    OMV_FSTAB_MNTOPS_MERGERFS="category.create=eplfs,category.search=newest,defaults,allow_other,moveonenospc=true,minfreespace=10G,fsname=mergerfs"


    Then:


    Code
    omv-mkconf fstab


    and rebooted.


    The new values were not applied at all and only moveonenospc=true is present (@default moveonenospc is set to false).



    Then I 've noticed that the /etc/fstab reports both the values, those set as default in /etc/default/openmediavault and those set from the plugin interface, and I think that the latest are taking precedence.


    Code
    /media/80526d75-18b1-4897-93f4-d3efadc72afb:/media/5613597f-7839-4a90-b682-693fdcc4b3dd:/media/6dd23c37-48d5-44f3-9aed-0419615e9310 /media/ba052b85-76d6-4d0d-bb41-d7ef2f50cb51 fuse.mergerfs category.create=eplfs,category.search=newest,defaults,allow_other,moveonenospc=true,minfreespace=10G,fsname=mergerfs,category.create=epmfs,minfreespace=4G 0 0


    What am I doing wrong?


    OMV Version: 2.2.4
    mergerfs version: 2.13.1
    fusermount version: 2.9.4
    FUSE library version: 2.9.4
    using FUSE kernel interface version 7.19

    • Offizieller Beitrag

    It only uses the default values when creating a new filesystem/pool/mntent. You need to edit the mount options in /etc/openmediavault/config.xml. Just make a backup of config.xml before you change anything. Then you execute omv-mkconf fstab and reboot/remount.

  • I can confirm that compiling fuse 2.9.3 from source worked for me. I was having constant disconnects using mddhfs or mergerfs under heavy load (crashplan), didn't matter.


    Download fuse 2.9.3 <a href="https://github.com/libfuse/libfuse/releases/download/fuse_2_9_4/fuse-2.9.3.tar.gz" class="externalURL" rel="nofollow" target="_blank">here</a> from the <a href="https://github.com/libfuse/libfuse/releases" class="externalURL" rel="nofollow" target="_blank">Github page</a>


    Transfer to your root user…


    I've done this on a new, updated OMV installation. 3x 3TB SnapRaid and AUFS with MFS File System ... about 10GB file transfer over GBIT ethernet the server gets unavailable, just a hard reset get it alive again. SnapRAID isn''t doing any sync. The error must be witihn the union file system plugin.
    any news / workarounds here?

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!