NewDisplayName Posted September 7, 2023 Share Posted September 7, 2023 (edited) 33 minutes ago, trapexit said: Just download the package and install them wherever. https://github.com/trapexit/mergerfs/releases/download/2.36.0/mergerfs-static-linux_amd64.tar.gz It's just a standard tarball with statically compiled binaries. I build them every release. I came up with Quote cd /tmp wget https://github.com/trapexit/mergerfs/releases/download/2.36.0/mergerfs-static-linux_amd64.tar.gz tar -xzvf mergerfs-static-linux_amd64.tar.gz mv /tmp/usr/local/bin/mergerfs /bin rm -r /tmp/usr/ sleep 10 Edited September 7, 2023 by nuhll Quote Link to comment
NewDisplayName Posted September 7, 2023 Share Posted September 7, 2023 (edited) trape came up with a better version Quote VER=2.36.0 wget -qO- https://github.com/trapexit/mergerfs/releases/download/${VER}/mergerfs-static-linux_amd64.tar.gz | \ tar xvz -C / it installs it in usr local bin , im not quite sure if that makes a difference or not, but ill test with next restart. anyway my approch should be definitly working (but not so elegant) Edited September 7, 2023 by NewDisplayName Quote Link to comment
Rysz Posted September 11, 2023 Share Posted September 11, 2023 Feel free to test my new plugin with the latest mergerfs-2.37.1-x86_64: 1 Quote Link to comment
infinisean Posted April 11 Share Posted April 11 On 9/11/2023 at 6:39 PM, Rysz said: Feel free to test my new plugin with the latest mergerfs-2.37.1-x86_64: I installed your plugin and tried a basic configuration. I have 9 btrfs-formatted SSDs mounted and when I run the mergerfs command to create the "pool", it appears to run and exit without error (code 0)... however the new mountpoint does not show up in "df -h", nor can I "cd" to the directory or "ls" it.... when I run umount, it also exits without error, like it correctly unmounted the new mountpoint, and if I re-run umount, it will error saying "not mounted" (as it should). So it appears as though something is either wrong with the options I am using to create the new mount, or there is a bug somewhere. I also tried using fstab and also directly on the command line, both with the same effect. # Disk mounts /dev/sdm1 1.5T 1.5T 30G 99% /mnt/netapp/disk1 /dev/sdo1 1.5T 1.5T 50G 97% /mnt/netapp/disk2 /dev/sdn1 1.5T 1.5T 22G 99% /mnt/netapp/disk3 /dev/sdv1 1.8T 3.8M 1.8T 1% /mnt/netapp/disk4 /dev/sdt1 1.8T 3.8M 1.8T 1% /mnt/netapp/disk5 /dev/sdp1 1.8T 135G 1.7T 8% /mnt/netapp/disk6 /dev/sdl1 1.8T 1.8T 44G 98% /mnt/netapp/disk7 /dev/sdr1 3.5T 3.8M 3.5T 1% /mnt/netapp/disk8 /dev/sds1 1.5T 3.8M 1.5T 1% /mnt/netapp/disk9 /dev/sdu1 3.5T 3.8M 3.5T 1% /mnt/netapp/parity1 (planning to use this with snapraid, once mergerfs is working) # The mergerfs command I used: root@UNAS:/# mergerfs -o allow_other,use_ino,cache.files=partial,dropcacheonclose=true,category.create=mfs,minfreespace=10G,fsname=mergerfs /mnt/appdata/disk* /pool/ root@UNAS:/# ls /pool /bin/ls: cannot access '/pool': No such file or directory root@UNAS:/# umount /pool root@UNAS:/# Any help you can provide would be greatly appreciated. Thanks! Quote Link to comment
Rysz Posted April 13 Share Posted April 13 On 4/11/2024 at 3:18 PM, infinisean said: I installed your plugin and tried a basic configuration. I have 9 btrfs-formatted SSDs mounted and when I run the mergerfs command to create the "pool", it appears to run and exit without error (code 0)... however the new mountpoint does not show up in "df -h", nor can I "cd" to the directory or "ls" it.... when I run umount, it also exits without error, like it correctly unmounted the new mountpoint, and if I re-run umount, it will error saying "not mounted" (as it should). So it appears as though something is either wrong with the options I am using to create the new mount, or there is a bug somewhere. I also tried using fstab and also directly on the command line, both with the same effect. # Disk mounts /dev/sdm1 1.5T 1.5T 30G 99% /mnt/netapp/disk1 /dev/sdo1 1.5T 1.5T 50G 97% /mnt/netapp/disk2 /dev/sdn1 1.5T 1.5T 22G 99% /mnt/netapp/disk3 /dev/sdv1 1.8T 3.8M 1.8T 1% /mnt/netapp/disk4 /dev/sdt1 1.8T 3.8M 1.8T 1% /mnt/netapp/disk5 /dev/sdp1 1.8T 135G 1.7T 8% /mnt/netapp/disk6 /dev/sdl1 1.8T 1.8T 44G 98% /mnt/netapp/disk7 /dev/sdr1 3.5T 3.8M 3.5T 1% /mnt/netapp/disk8 /dev/sds1 1.5T 3.8M 1.5T 1% /mnt/netapp/disk9 /dev/sdu1 3.5T 3.8M 3.5T 1% /mnt/netapp/parity1 (planning to use this with snapraid, once mergerfs is working) # The mergerfs command I used: root@UNAS:/# mergerfs -o allow_other,use_ino,cache.files=partial,dropcacheonclose=true,category.create=mfs,minfreespace=10G,fsname=mergerfs /mnt/appdata/disk* /pool/ root@UNAS:/# ls /pool /bin/ls: cannot access '/pool': No such file or directory root@UNAS:/# umount /pool root@UNAS:/# Any help you can provide would be greatly appreciated. Thanks! Is this on UNRAID? You have a weird mount setup for that - how do you mount these /netapp/ mounts? Also, are you sure your appdata is at /mnt/appdata ? It's usually on /mnt/user/appdata, /mnt/disk[number]/appdata?! Please check your paths again and possibly put 2>&1 behind your mergerFS commands so you'll also see any errors from stderr. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.