MergerFS.balance quesiton

  • Hello all. I am using OMV 5 with mergerFS. When I set this up I set the policy to "Existing path, most free space". I am guessing you can see what happened. One disk filled up before any of the others. I have set the policy to "Most free space" now and would like to run "mergerfs.balance", which I have downloaded and installed.


    I found the id of the disk that has filled up:


    Code
    ─/dev/sdd1 ext4 Disk4 100% /srv/dev-disk-by-uuid-042bcc15-b27e-4750-9b93-67a81b9b6fd1


    I tried to run mergerfs.balance like this:


    Code
    mergerfs.balance /srv/dev-disk-by-uuid-042bcc15-b27e-4750-9b93-67a81b9b6fd1/


    And I get this error:


    Code
    /srv/dev-disk-by-uuid-042bcc15-b27e-4750-9b93-67a81b9b6fd1 is not a mergerfs mount


    What am I doing wrong please?

    Any and all help would be appreciated.


    Thank you,

    Dennis

    • Offizieller Beitrag

    What am I doing wrong please?

    You are using a disk in the mergerfs pool. The following command will show you the mergerfs path(s).


    grep mergerfs /etc/fstab | awk '{ print $2 }'

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

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

  • Oh, ok. I ran it and see this:


    Code
    grep mergerfs /etc/fstab | awk '{ print $2 }'/srv/501bfd9a-bebf-48e5-805c-91ca31fa6f0f


    So this is the combination of the pooled drives. Thank you so much for the help.

    Dennis

  • I ran it and got and error which I'm not sure what means:



    Any ideas on what this means or what I need to do?

    Thanks again for the help,

    Dennis

    • Offizieller Beitrag

    It will never be able to move the aquota files. Try the following to exclude it.


    mergerfs.balance -e aquota.group /srv/501bfd9a-bebf-48e5-805c-91ca31fa6f0f/

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

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

    Same error when I ran it.

    Identical?? It shouldn't have the aquota.group file in the error. I thought it was just a copy and paste error but it should probably include listaquota.group too.


    mergerfs.balance -e aquota.group -e listaquota.group /srv/501bfd9a-bebf-48e5-805c-91ca31fa6f0f/


    If that still doesn't work, play with some of the other options here - https://github.com/trapexit/mergerfs-tools

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

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

  • Thank you for the help. I ran that but still have errors. I will try some other options.



    I will post if I get it to run. Thanks again,

    Dennis

    • Offizieller Beitrag

    Looks like you just need to add a few more files and possibly user wildcards for some of those files.

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

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

  • Hello. I tried this by adding -e aquota.user and it started working.

    Code
    mergerfs.balance -e aquota.group -e listaquota.group -e aquota.user /srv/501bfd9a-bebf-48e5-805c-91ca31fa6f0f/

    Thank you again for pointing me in the right direction.

    Dennis

Jetzt mitmachen!

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