Disk properties sheet reports wrong used space

Bug #571510 reported by Phillip Susi on 2010-04-29
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Fix Released
nautilus (Ubuntu)

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

Which version is that?

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
Sebastien Bacher (seb128) wrote :

the issue should be fixed with 3.6 in raring, closing the bug

Changed in nautilus (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.