Disk properties sheet reports wrong used space
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Nautilus |
Fix Released
|
Medium
|
|||
nautilus (Ubuntu) |
Fix Released
|
Low
|
Unassigned |
Bug Description
Binary package hint: nautilus
When viewing the properties of a disk, it reports total size, free space, and used space. The used space appears to be wrong. I have an empty disk that df -h reports as:
size used avail
746G 197M 708G
But the properties window says the capacity is 745.4 GB, with 707.4 GB free, which agrees so far, but for used space, it says 38.1 GB.
My guess as to what is going on is that nautilus is ignoring the values returned by statfs() which df reports for the used space, and calculating what it thinks the used space is by subtracting free from total. The kernel normally reserves 5% of the disk for root, so statfs() reports a smaller avail size to normal users. Quotas also will cause avail to be less than size - used. Nautilus should report the used space according to statfs().
Changed in nautilus: | |
status: | Unknown → Incomplete |
Changed in nautilus (Ubuntu): | |
importance: | Undecided → Low |
status: | New → Triaged |
Changed in nautilus: | |
status: | Incomplete → New |
Changed in nautilus: | |
status: | New → Confirmed |
Changed in nautilus: | |
importance: | Unknown → Medium |
Changed in nautilus: | |
status: | Confirmed → Fix Released |
Which version is that?