Bad partition free space size

Asked by peter07

Something is wrong with my 8.10 installation. Ubuntu gets bad system partition (/dev/sda2) free space size. I can't use system right now.

If I type df - h I get :
~$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 9,7G 9,6G 0 100% /

which is wrong result.

I'm almost sure, that I have few GBs free space there. I checked it using baobab from LiveCD. Analyse result showed 5GB free space on /dev/sda2. I tried fsck, resize2fs, e2fsck (with badblock check) with no positive result :/. What is going on?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Remy Pagniez
Solved:
Last query:
Last reply:
Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#1

Please try to check your filesystem...

Force filesystem check

Please open a Terminal from the menu Applications → Accessories → Terminal and type:

sudo touch /forcefsck

give your user password when requested, you don't see nothing when you type it, then press enter.

Then reboot your pc the filesystem will be checked...

Hope this helps

Revision history for this message
peter07 (peter07) said :
#2

I tried to check my filesystem. I checked your solution - no result still df output is wrong - no free space for system. Like I wrote before I also tried other tools: fsck, resize2fs, e2fsck (with badblock check) from Ubuntu LiveCd. I didn't receive any error messages.

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#3

In the past i have something similar https://bugs.launchpad.net/ubuntu/+source/virtualbox-ose/+bug/201358

Might be this helps

Revision history for this message
Best Remy Pagniez (remy-pagniez-deactivatedaccount) said :
#4

I dont know what's happen for you, but you can try to check where this "used" space is...
open a Terminal and try :
cd /
du -khs *

what the system is showing?

Revision history for this message
peter07 (peter07) said :
#5

You're right - there must be a bug in baobab application. It doesn't show backups from /var/backup and I don't know why? du command helps me find those big files. Thanks for help.

Revision history for this message
peter07 (peter07) said :
#6

Thanks Remy Pagniez, that solved my question.

Revision history for this message
ekso (ekso) said :
#7

There's also a graphical du called "Disk Usage Analyzer" which shows where everything is being used pretty neatly in a pie form.