Closed EverettPorter closed 1 year ago
Without the traces or something that is reproduceable by me I'm a little stuck as this doesn't happen on my system. The calculation code didn't change between versions.
What happens if you only have a single branch? What are those mounts attributes (filesystem, mounted read only, etc.)?
Thanks for the quick response. Downgraded to the last 2.32 version, and displayed storage was back to normal. Everything is read-write mounted, all volumes are xfs. I'm not experienced with traces, but happy to re-install 2.33 and run a trace if it helps.
Yes. I need as much information as possible. All that stuff the template lists including a minimal reproduceable version of the issue. Since statfs is the aggregation of all the branches it would be useful to compare the differences with 1 branch, 2 branches, etc. mergerfs has options to change how statfs works so it's important to know all the machine's details related to that feature as well.
Apologies for the delay in responding. It's a production system, and I've reinstalled 2.32 to get around the problem. I've just tried to reproduce on another system using Centos8, and don't yet see the same problem. I'll find some downtime soon to try and test again on the system above.
There isn't any reason to have to do that. You can simply install the other version after booting, or build it yourself and use the executabl, and then just create a new mount on the same machine.
First of all, THANK YOU for this software. I've been using it for a couple of years, and it's been very reliable and extremely useful!
I just installed mergerfs-2.33.1-1.el7.x86_64.rpm on our Centos7 server. I didn't change the mount options in /etc/fstab, but with this version, the df -h shows incorrect values for the total storage and available free space. This worked correctly with the previous installed version (2.32xx).
This is the merged disk: PC_Merge 361T 356T 5.5T 99% /mnt/PC_Merge
And this one of the members (note free space) /dev/sdd 279T 123T 157T 44% /mnt/WD18Tx19-2021-9_PC
and the fstab line /mnt/WD18Tx19-2021-9_PC/PolyCast2:/mnt/HGST14TBx18-2/PolyCast4/PolyCast4:/mnt/WD18TBx18-1/PolyCast1-2:/mnt/HGST14TBx18/PolyCast3:/mnt/WD18Tx16-2021-9/PolyCast5:/mnt/WD18Tx16-2021-9/PolyCast6:/mnt/lsi_ext5.1/PolyCast7:/mnt/SG12TB/PC8 /mnt/PC_Merge fuse.mergerfs defaults,allow_other,ignorepponrename=true,use_ino,hard_remove,minfreespace=500G,category.create=mfs,category.search=all,fsname=PC_Merge,cache.files=auto-full,cache.writeback=true,dropcacheonclose=true,splice_write,threads=4 0 0
To Reproduce mount filesystem!
Steps to reproduce the behavior. List all steps to reproduce. All settings.
Please simplify the reproduction as much as possible.
Expected behavior
correct totals of used and free space
System information:
uname -a
Linux newserver.poly 3.10.0-957.el7.x86_64 #1 SMP Thu Nov 8 23:39:32 UTC 2018 x86_64 x86_64 x86_64 GNU/Linuxmergerfs -V
mergerfs version: 2.33.1df -h
lsblk
strace -fvTtt -s 256 -o /tmp/app.strace.txt <cmd>
strace -fvTtt -s 256 -o /tmp/app.strace.txt -p <appPID>
strace -fvTtt -s 256 -p <mergerfsPID> -o /tmp/mergerfs.strace.txt
Additional context
Add any other context about the problem here.