Bug 698049 - Gnome-System-Monitor reports incorrect free disk space
Summary: Gnome-System-Monitor reports incorrect free disk space
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-system-monitor
Version: rawhide
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Søren Sandmann Pedersen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-04-20 03:37 UTC by Justin Brown
Modified: 2014-06-18 09:14 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-01-25 21:34:01 UTC
Type: ---


Attachments (Terms of Use)
"File system" tab from Gnome-System-Monitor (37.40 KB, image/png)
2011-04-20 03:37 UTC, Justin Brown
no flags Details
"Summary" tab from Gnome-System-Monitor (42.28 KB, image/png)
2011-04-20 03:38 UTC, Justin Brown
no flags Details

Description Justin Brown 2011-04-20 03:37:56 UTC
Created attachment 493353 [details]
"File system" tab from Gnome-System-Monitor

Description of problem:

Gnome-System-Monitor (Gnome 3) seems to think that /tmp and /var/tmp are on separate partitions than /. This causes it to report free space incorrectly. My / is 7.3GB (4.5GB free), but Gnome-System-Monitor adds / + /tmp + /var/tmp together to think that I have 13.5GB free. On the "file systems" tab, the three directories should probably not show up separately since they are on the same partition.
Switching to the "system" tab is where problems really occur. I have a 160GB (manufacturer's number, actually less) that is split between / (7.3GB) and /home (140GB). The "system" tab should report ~147GB of total capacity. However, it actually reports 190.5GB. I have no idea where that number comes from. None of the following combinations seem to add up to 190.5GB.

~$ df -h 
Filesystem            Size  Used Avail Use% Mounted on
rootfs                7.4G  2.9G  4.5G  40% /
udev                  1.5G     0  1.5G   0% /dev
tmpfs                 1.5G  1.1M  1.5G   1% /dev/shm
tmpfs                 1.5G  680K  1.5G   1% /run
/dev/sda1             7.4G  2.9G  4.5G  40% /
tmpfs                 1.5G     0  1.5G   0% /sys/fs/cgroup
tmpfs                 1.5G  680K  1.5G   1% /var/run
tmpfs                 1.5G  680K  1.5G   1% /var/lock
tmpfs                 1.5G     0  1.5G   0% /media
/dev/sda5             140G   44G   89G  34% /home
/dev/sda1             7.4G  2.9G  4.5G  40% /tmp
/dev/sda1             7.4G  2.9G  4.5G  40% /var/tmp
/dev/sda5             140G   44G   89G  34% /home

Version-Release number of selected component (if applicable):
3.0.0

How reproducible:
It's persistent across reboots. However, I have not reinstalled the Fedora 15 alpha, which is fully updated as of 11:30 EDT April 19th.

Steps to Reproduce:
1. Launch Gnome-System-Monitor
2.
3.
  
Actual results:
190.GB of total capacity

Expected results:
146.7GB

Additional info:
Screenshots attached.

Comment 1 Justin Brown 2011-04-20 03:38:45 UTC
Created attachment 493354 [details]
"Summary" tab from Gnome-System-Monitor

Comment 2 Terry Moore 2011-06-03 03:11:06 UTC
I am seeing Gnome 3 system monitor displaying the incorrect free space on the System tab also.  However I am using Fedora 15 release Gnome version 3.0.1.  x86.  My hard drive is 160GB but it tells me I have 313.5 GB free.  Let me know if you need or want any other information.

Comment 3 Justin Brown 2013-01-25 21:34:01 UTC
Gnome displays disk use/availability differently now. This is no longer a problem.


Note You need to log in before you can comment on or make changes to this bug.