Unionfilesystem Plugin

  • How do you setup your pool? Your parity drive shouldn't be in the pool. Look at the picture section 9 or read the second passage.


    You have to distinguish data (Daten) from content (Inhalt). Content only meens the checksum file snapraid creates to check or restore data, if I'm not wrong. On the picture from technikaffe there is only content marked for the parity drive and therefor no data (your files) will be stored at this drive.

  • Finally decided to take the leap and move away from Unraid and over to OMV. After researching extensively about pooling solutions, MergerFS and OMV seem to be a perfect match.


    I noticed that the create policies options are not fully up to date for MergerFS as it's missing "Existing path, least free space."


    I've already edited /etc/default/openmediavault and added the following:

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

    and then ran

    Code
    omv-mkconf fstab

    .


    After rebooting, I verified if the changes were applied and it appears that EPLFS was not applied:



    Also, I am running 3.0.13 for troubleshooting purposes.

  • I noticed that the create policies options are not fully up to date for MergerFS as it's missing "Existing path, least free space."


    I added an issue on github to add this (and direct_io). Not sure if I can get to it but hopefully HK can.

    omv 5.6.18 usul | 64 bit | 5.11 proxmox kernel | omvextrasorg 5.6.3 | kvm plugin 5.1.7
    omv-extras.org plugins source code and issue tracker - github


    Please read this before posting a question.
    Please don't PM for support... Too many PMs!

  • My mergerfs pool is giving me errors of:ls: cannot access /media/cffcb52b-3582-4a96-bad3-b13481d70ebd: Transport endpoint is not connected
    Per https://github.com/trapexit/mergerfs I need FUSE library 2.9.4 or greater to prevent this issue. What's the easiest way to upgrade that library on a fresh install of OMV 2.2.2?

  • No I didn't. I typically try to avoid installing things that are outside of the package-manager for that system. I didn't know if there was a clean/easy way to make the package manager get the new files? Is there a repo for Jessie that I could enable that would upgrade the fuse packages without upgrading the system. (though from reading it looks like the jessie fuse is only at 2.9.3) Or is it best to just download and install the packages from the debian sid repository?

  • Apparently the new versions of fuse are dependant on libc6 version being grater than 2.17. Current install is 2.13.


    I tried upgrading libc6, but that too has dependencies that break something else.


    That's where I stopped. I can keep going down that path and likely resolve all of the dependencies, but I may break something in the process I don't know about. Do I keep trying to upgrade packages individually, or enable sid, or some other solution? Or is OMV 3.0 due out tomorrow and will resolve all of this? :)

  • Installing a new libc is a very bad idea. And no, OMV 3 will not be out tomorrow.

    omv 5.6.18 usul | 64 bit | 5.11 proxmox kernel | omvextrasorg 5.6.3 | kvm plugin 5.1.7
    omv-extras.org plugins source code and issue tracker - github


    Please read this before posting a question.
    Please don't PM for support... Too many PMs!

  • Using packages from a release two versions newer? Yep, that will cause problems.


    I don't really have a solution. It works fine on Jessie/OMV 3 but OMV3 is not ready yet. Maybe use aufs or mhddfs until OMV 3.x?

    omv 5.6.18 usul | 64 bit | 5.11 proxmox kernel | omvextrasorg 5.6.3 | kvm plugin 5.1.7
    omv-extras.org plugins source code and issue tracker - github


    Please read this before posting a question.
    Please don't PM for support... Too many PMs!

  • I've been experiencing the same problem for several weeks, and it was since an upgrade. Searching around, it appears mhddfs had a bug introduced in 1.39 which causes these segfaults.


    Quote

    kernel: [344494.334022] mhddfs[8164]: segfault at 1 ip 000000000040443c sp 00007f5144ff89d0 error 4 in mhddfs[400000+a000]


    Details are in this post, and its linked pages
    http://nramkumar.org/tech/blog…-crash-with-ubuntu-14-04/


    Short of rolling back to 1.38, or compiling your own fixed version as per that thread, the easiest fix is


    Code
    fusermount -zu /media/mountpoint
    mount /media/mountpoint


    I've put these two lines in a bash script I can quickly run. I may look to automate it off the back of error logging, but right now it's a quick manual fix and it going down isn't super critical for me, I am more interested in just getting it working again without a reboot.



    It would be awesome if we could get the fix detailed in that link built in to the OMV Plugins version.

  • Maybe use aufs or mhddfs until OMV 3.x?


    Looks like MHDDFS is also segfaulting now. The house is on fire!


    Quote

    I may look to automate it off the back of error logging


    If you do end up doing this could you post a quick n dirty tutorial? I am rebooting my server seemingly every day, its not the end of the world but its extremely annoying since I thought I just got everything stable again.

  • please consider to use mergerfs, have better support and works very fast and reliable.

  • Would love to switch over to MergerFS but I don't have the swing storage to cut everything over, unless there's a non destructive way to change over? Not super familiar with UFS as a whole, just follow the guides :-)

  • post more info about how you configure and use your disk, and perhaps can guide to you.


    I switch in the past from aufs to mergerfs and where really easy:


    Delete aufs pool, recreate pool using same disks using mergerfs , and thats all, all works, and only need to delete some files that aufs use to know things.


    To delete aufs pool , first you need that are not references to it on shares folders, so first you neeed to delete your samba shares ( delete your shares not your data on shares), and finally I can delete aufs pool.


    once I create the mergerfs pool i need to recreate shares, and samba shares, but it's easy because folders and data exist in pool.

  • You don't have to delete the pool to change types. Select pool, click Edit, change the type, and reboot. Done. I have done it many times.

    omv 5.6.18 usul | 64 bit | 5.11 proxmox kernel | omvextrasorg 5.6.3 | kvm plugin 5.1.7
    omv-extras.org plugins source code and issue tracker - github


    Please read this before posting a question.
    Please don't PM for support... Too many PMs!

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!