You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An rclone user reported that the free/used/total sizes were half what they should be in the smb backend: rclone/rclone#6733
I have verified this against this docker image https://hub.docker.com/r/dperson/samba and also that if you mount that disk from Windows it gets the free/used/total sizes correct.
Putting in a bit of debugging I see the Statfs block is returned as
An rclone user reported that the free/used/total sizes were half what they should be in the smb backend: rclone/rclone#6733
I have verified this against this docker image https://hub.docker.com/r/dperson/samba and also that if you mount that disk from Windows it gets the free/used/total sizes correct.
Putting in a bit of debugging I see the Statfs block is returned as
Wheras the
BlockSize
is calculated like thisgo-smb2/client.go
Lines 1438 to 1440 in c8e61c7
I suspect it should be calculated like this instead - this would make the sizes come out correctly.
However I have no knowledge of the SMB protocol so that might be completely wrong.
If you think that is good then I can make a PR with that in.
The text was updated successfully, but these errors were encountered: