[Bug 370487] Re: df -a contradicts Disk Usage Analyzer.

tc something-bz at sodium.serveirc.com
Sun Jan 17 03:42:51 UTC 2010


Let's extract the important numbers from #2's Screenshot.png: 294.9
total, 154.4 used, 140.6 free

Looking at the output of df, I can see *three* things which are non-tmpfs/procfs/sysfs/devfs:
 Filesystem           1K-blocks Used Available Use% Mounted on
/host/ubuntu/disks/root.disk
                      13457172   5233116   7540464  41% /
/dev/sda5            147902388  78323520  69578868  53% /host
/host/ubuntu/disks/boot
                     147902388  78323520  69578868  53% /boot

If you sum these, you get 309261948 (294.935 GB), 161880156 (154.381
GB), 146698200 (139.902 GB). The discrepancy in "free" space is because
some filesystems (ext2/3) typically reserve some space for use by root
so that some things will keep working even if a normal user manages to
fill the filesystem. / is "missing" 683592 K (about 5.08%).

>From the sizes, it looks like /dev/sda5 (/host) and
/host/ubuntu/disks/boot (/boot) are actually the same filesystem. I'm
not sure how that works, but clearly baobab isn't detecting that they're
duplicates.

I'm thinking that they should be marked as duplicates if they have the
same device number; anything more and it gets silly.

-- 
df -a contradicts Disk Usage Analyzer. 
https://bugs.launchpad.net/bugs/370487
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list