-
-
Notifications
You must be signed in to change notification settings - Fork 403
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
Incorrect free space calculation on RAID1 btrfs volume #130
Comments
As it's currently impossible to retrieve the actual |
Thank you for the response. In the time since, I found the Ubuntu package and installed that. So this is on a different machine with Ubuntu 21.10 (Impish) running duf 0.6.2-1 with a 2-drive RAID1 configuration. I still get the incorrect free space calculation in duf. I should be getting 2Tb free, but instead it is showing 1.6Tb free. Here is the duf output:
And here is the btrfs usage output.
|
Hello, I have a RAID1 btrfs volume running on Ubuntu 20.04 LTS. According to the btrfs fi usage command, I have approx 1.2T of free space (see also the BTRFS wiki on free space calculation). But according to duf, I only have 960Gb. The correct usage is also 1.2Tb, so the percentage should be roughly 50%. I understand the used space being ~600Gb because that is the amount of data I have, but because RAID1 doubles the data, I really have used 1.2Tb. I think it's a mistake but I understand it. But the free space left seems wrong and I don't understand.
(by the way, this is mounted as /hdd, but I have to use /dev/sdd to get the free space info for some reason)
The text was updated successfully, but these errors were encountered: