Bug 698049

Summary: Gnome-System-Monitor reports incorrect free disk space
Product: [Fedora] Fedora Reporter: Justin Brown <justin.brown1.1>
Component: gnome-system-monitorAssignee: Søren Sandmann Pedersen <sandmann>
Status: CLOSED WORKSFORME QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: kem, motersho, sandmann
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-01-25 21:34:01 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
"File system" tab from Gnome-System-Monitor
none
"Summary" tab from Gnome-System-Monitor none

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.