quantcast / qfs

Quantcast File System
https://quantcast.atlassian.net
Apache License 2.0
643 stars 171 forks source link

Free space reporting with FUSE #255

Open Hazarth opened 2 years ago

Hazarth commented 2 years ago

Hey, I have created a simple 1 meta + 2 chunk server setup and connected a client to it using qfs_fuse in Read/Write mode. Now I can read from it without any problems and I can write to it through most applications and using the terminal just fine.

However a file explorer like Dolphin reports the mounted folder as being full (0B Free space) and forbids copying files into the folder due to this.

I looked through the MetaServer and ChunkServer configuration templates but I don't see any options regarding space reporting or space quotas. Is there any way to set this up? Or did I misconfigure something?

mikeov commented 2 years ago

Hello Michal,

Qfs fuse mount defaults to read only mode, as general purpose / random file write / modification is not supported. Stat fs in fuse shim (used to report available space) is very limited, as presently no equivalent method exists in QFS client API. In other words, free space reporting limitation is entirely due to QFS fuse implementation.

— Mike.

On Apr 30, 2022, at 5:20 AM, Michal Pavlík @.***> wrote:

Hey, I have created a simple 1 meta + 2 chunk server setup and connected a client to it using qfs_fuse in Read/Write mode. Now I can read from it without any problems and I can write to it through most applications and using the terminal just fine.

However a file explorer like Dolphin reports the mounted folder as being full (0B Free space) and forbids copying files into the folder due to this.

I looked through the MetaServer and ChunkServer configuration templates but I don't see any options regarding space reporting or space quotas. Is there any way to set this up? Or did I misconfigure something?

— Reply to this email directly, view it on GitHub https://github.com/quantcast/qfs/issues/255, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAREIWMF3HBAZPBH6STM4VTVHUQRLANCNFSM5UYJEDUQ. You are receiving this because you are subscribed to this thread.