mergerfs - help!

    • Offizieller Beitrag

    It shouldn't be using relative paths. What is the output of: sudo omv-showkey mergerfs

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

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.6 | 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!

    • Offizieller Beitrag

    Create a new pool and save it but don't apply. Then run the omv-showkey command again.

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

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.6 | 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!

  • root@pozz:~# sudo omv-showkey mergerfs

    • Offizieller Beitrag

    And now this:

    sudo salt-call -l debug --local --retcode-passthrough state.apply omv.deploy.mergerfs

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

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.6 | 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!

  • errors out in the last step, same as in error log



    • Offizieller Beitrag

    Ok. delete the pool in the plugin and apply. Then try this from the command line:

    sudo mkdir /mnt/test

    sudo mount -t fuse.mergerfs /srv/dev-disk-by-label-Media/Media:/srv/dev-disk-by-label-Media2/Media2 /mnt/test

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

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.6 | 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!

  • Yes, the folder is populated, but the mergerfs doesn't show in the gui.

    I checked with filezilla, all files are inside.


    so to be clear, /mnt/test gets populated and has inside all my folders that you merged (Media and Media2)

    It is not however present in the GUI, nor in /srv/mergerfs.

    So even if I cannot use the gui, now the problem is solved? :)

    • Offizieller Beitrag

    A manual mount command shouldn't show up in the gui. I was hoping for an error message. That command is not using the options you specified though. So, it must an option but not sure what. Are the filesystems bigger than 100G?

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

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.6 | 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!

  • My dear Aaron,

    It's 2:13 here and in 4 hours I need to wake up.

    Thank you very much for your support, you are really awesome.

    If you do think of a solution that could work natively with the plugin in the OMV gui, please write it, if not, I will use it how you made it now.

    What I would like to know though, in case I want to rename from /mnt/test to /mnt/pool


    Have a good night/day :)

    Thanks again

    • Offizieller Beitrag

    Tomorrow....


    try:

    sudo mkdir /mnt/pool
    sudo mount -t fuse.mergerfs test1:pool1 /mnt/pool -o branches=/srv/dev-disk-by-label-Media/Media:/srv/dev-disk-by-label-Media2/Media2,category.create=mfs,minfreespace=4G,fsname=test1:pool1,defaults,allow_other,cache.files=off,use_ino

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

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.6 | 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!

  • Hi Aaron,


    root@pozz:~# sudo mount -t fuse.mergerfs test:pool1 /mnt/pool -o branches=/srv/dev-disk-by-label-Media/Media:/srv/dev-disk-by-label-Media2/Media2,category.create=mfs,minfreespace=50G,fsname=test:pool1,defaults,allow_other,cache.files=off,use_ino

    * ERROR: unable to parse 'branches' - test:pool1

    * ERROR: mountpoint not set


    Please note I used test:pool1 instead of test1:pool1 as the folder is /mnt/test (I thought that was a typo).

    Should I run it with test1 how you instructed?


    LE: also ran the command like yours, same error


    root@pozz:~# sudo mount -t fuse.mergerfs test1:pool1 /mnt/pool -o branches=/srv/dev-disk-by-label-Media/Media:/srv/dev-disk-by-label-Media2/Media2,category.create=mfs,minfreespace=50G,fsname=test1:pool1,defaults,allow_other,cache.files=off,use_ino

    * ERROR: unable to parse 'branches' - test1:pool1

    * ERROR: mountpoint not set

  • Also I read in one thread that you recommand not using mergerfs in docker.

    For me, this is the main purpose, since all my software is dockerized.

    Mainly I'd want to migrate from


    Code
    volumes:
        - /srv/dev-disk-by-label-Media/Media/Drone:/data/drone
        - /srv/dev-disk-by-label-Media2/Media2/Drone2:/data/drone2


    to


    - /srv/mergerfs/pool1/Media/Drone:/data/drone


    Or I shouldn't use it at all in docker?




    Zitat

    I also wouldn't use a mergerfs pool for your docker path.

    • Offizieller Beitrag

    Please note I used test:pool1 instead of test1:pool1 as the folder is /mnt/test (I thought that was a typo).

    Should I run it with test1 how you instructed?

    It is just a label. Shouldn't matter.


    I can't get this to fail even if the branch directories don't exist. What is the output of: dpkg -l | grep mergerfs


    Also I read in one thread that you recommand not using mergerfs in docker.

    For me, this is the main purpose, since all my software is dockerized.

    We don't recommend using it for docker storage (path set in omv-extras) but it should be ok for docker volumes.

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

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.6 | 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!

  • Hi Aaron


    root@pozz:~# dpkg -l | grep mergerfs

    ii mergerfs 2.31.0-1 amd64 another FUSE union filesystem

    ii openmediavault-mergerfs 6.3.3 all mergerfs plugin for openmediavault.


    We don't recommend using it for docker storage (path set in omv-extras) but it should be ok for docker volumes.

    Thanks for the clarification

Jetzt mitmachen!

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