Baobab doesn't show the real disk usage

Bug #119797 reported by Sebastien CELLES
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
baobab (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: baobab

Hello,

I write you because I have a problem with disk space.
My hard drive partition / (which contains /home) is nearly full

$ df -H
Sys. de fich. Tail. Occ. Disp. %Occ. Monté sur
/dev/sda3 45G 39G 3,7G 92% /
varrun 515M 254k 514M 1% /var/run
varlock 515M 0 515M 0% /var/lock
procbususb 515M 160k 514M 1% /proc/bus/usb
udev 515M 160k 514M 1% /dev
devshm 515M 0 515M 0% /dev/shm
lrm 515M 35M 480M 7% /lib/modules/2.6.20-16-generic/volatile

But Baobab doesn't show the real disk usage (see screenshot)

Regards

Revision history for this message
Sebastien CELLES (s-cls) wrote :
Revision history for this message
Áron Sisak (asisak) wrote :

I guess Baobab reports in GiBiBytes (36.4 of 41.4 Gio) and df in GigaBytes (39G of 45G).

Changed in baobab:
assignee: nobody → asisak
Revision history for this message
Sebastien CELLES (s-cls) wrote :

On the screenshot you can see that df show 39G used and Baobab 14,4G...
That's not very convenient for cleaning my system...

Moreover (maybe I should ask this in an other issue) Ubuntu should provide informations
about cleaning the system... and maybe a GUI for this (that baobab could call)

removing .deb files that are in the cache using
apt-get autoclean
apt-get clean

removing orphan .deb files using deborphan

removing unused kernel

cleaning unused log files

sorting .deb using their usage (for manually uninstalling .deb that are not very often used)

localepurge (dangerous !)

see for example http://www.ubuntugeek.com/cleaning-up-all-unnecessary-junk-files-in-ubuntu.html

Áron Sisak (asisak)
Changed in baobab:
status: Unconfirmed → Needs Info
Revision history for this message
Sebastien CELLES (s-cls) wrote :

Gio means in french Giga octet and an "octet" is a byte... not a bit

Moreover on the upper part of Baobab you can see
36,4 Gio used but only 14,4 Gio in /

Revision history for this message
Áron Sisak (asisak) wrote :

octet = byte = 8bit (that is clear for me)
Giga = 10^9
GiBi = 2^30

The latter two is what makes the difference

Revision history for this message
Sebastien CELLES (s-cls) wrote :

If you want I can launch Baobab in english.

I also send you a screenshot of xdiskusage.

Revision history for this message
Sebastien CELLES (s-cls) wrote :

it seems that Baobab doesn't like files with permission denied (I run Baobab with a user account not with sudo)
I think that what show xdiskusage is much better...

Revision history for this message
Sebastien CELLES (s-cls) wrote :

Here is a screenshot of baobab running in english with sudo
$ LC_ALL=posix sudo baobab

(the disk space has slightly changed because I installed some packages)

Revision history for this message
Áron Sisak (asisak) wrote :

I am not sure if this is a real bug. You are right, however this tool is meant to behave this way.

Changed in baobab:
assignee: asisak → nobody
Revision history for this message
Sebastien CELLES (s-cls) wrote :

About Giga and GiBi... there is also a problem with the french translation
Gio (like GiB in english) is write but it should be Go (like GB)
I see this when runing with and without LC_ALL=posix

Revision history for this message
Sebastien CELLES (s-cls) wrote :

That's not a real bug... that's a feature ;-)
If you think this, you should consider my issue as a wish... but the problem with this feature is that I could think
that only 14 GB are used... instead of 35 GB !!!! I prefer what xdiskusage show me because it says... "I don't know
where are other files... but there is also other files !!!)"... Saying "run me as root to know more about this files" could
be an other useful feature...
I really think that it is useful because Ubuntu make an icon on the menu for Baobab... but Baobab fails...
An other idea could be to run baobab with gksudo... but the user (with no sudo access) couldn't know how
files are stored in his home for example.

About translation problem... maybe I should make an other issue for this ?

Revision history for this message
Sebastien CELLES (s-cls) wrote :

About the french translation of gigabyte
see https://bugs.launchpad.net/ubuntu/+source/baobab/+bug/119802

Revision history for this message
Sebastien CELLES (s-cls) wrote :

See also Filelight for comparison with Baobab

http://www.methylblue.com/filelight

(sorry but that's Qt/Kde..)

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for baobab (Ubuntu) because there has been no activity for 60 days.]

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related blueprints

Remote bug watches

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