kahing / goofys

a high-performance, POSIX-ish Amazon S3 file system written in Go
Apache License 2.0
5.18k stars 521 forks source link

How to make goofys report less free space? #532

Open morevnaproject opened 4 years ago

morevnaproject commented 4 years ago

Currently when bucket mounted via goofys it reports 1.0P (one petabyte) free space. That confuses NextCloud when I try to use mounted bucket as storage dir.

I have made tests with s3ql and s3fs - they report 1.0T (one terabyte, but changing dynamically) and 256T (256 terabytes) respectively. They both work with NextCloud when added as storage dir.

So, my question: is there any way to make goofys report less free space (i.e. 999T)? maybe an option? Or maybe a hint where to edit source code? Any help is appreciated!

gaul commented 4 years ago

Why not fix the issue in NextCloud which can't handle the larger free space?

morevnaproject commented 4 years ago

I am not sure where to look for issue in particular. This can be related to php, php-fpm, or nginx setup, or NextCloud code... Thanks for answering. ^__^