Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DUF use percentage completely wrong for BTRFS RAID #218

Open
petaramesh opened this issue Jan 4, 2023 · 0 comments
Open

DUF use percentage completely wrong for BTRFS RAID #218

petaramesh opened this issue Jan 4, 2023 · 0 comments

Comments

@petaramesh
Copy link

Hi,

When using DUF on BTRFS RAID filesystem, it does, as plain df does, display as “total size” the sum of all the RAID components (and not the resulting usable space on the RAID filesystem).

It displays the “used” and “available” fields right, but the calculated percentage is plain wrong, as it is calculated against the “total size” which is the sum ot the RAID components, and not against the actually usable space.

By some magic, plain df has it right, but duf has it wrong, and the difference makes the “USE %” value and graph both useless, and worse, misleading.

Please see attached screenshots that better show the discrepancy.

Nasgul_wrong_duf_230104a_f

Nasgul_btrfs_usage_230104a_f

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant