
























1
has anyone encountered this issue and have a workaround? I just migrated from nfs to sshfs and honestly iit s an improvement. however duf has lost its mind. instead of showing 7.8T free it it says there is 15PB free. i tried dysk with same result.
/mnt/abyss/audio │ 16.6P │ 1020.3T │ 15.6P │ █ 6.0% │ fuse.sshfs │ doctorx@10.0.10.10:/mnt/abaddon/audio
what df shows:
doctorx@10.0.10.10:/mnt/abaddon/audio 8.3T 511G 7.8T 7% /mnt/abyss/audio
i only wish i had that much space on my server.
zymotek 2
Looks like a longstanding issue with duf: sshfs volume listed with incorrect statistics · Issue #99 · muesli/duf · GitHub
It likely happens because sftp/sshfs has no way of knowing the blocksize of the remote filesystem, and duf makes a very bad guess in its absence, while df makes a better guess.
I suppose the workaround is to use df -h instead.
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。