"df" keeps giving 0 bytes free

Asked by Wim

Making a TAR file the home partition went full.
I removed the partional file.
After doing that the DF command keeps saying 0 bytes free at /home

I booted from Ubuntu-CD,
did a E2FSCK -cfpy to force a correction while /home wasn't mounted;
after that i booted in recovery mode,
removed several files.

DF is correcting the amount of USED-space, but FREE space still stays at 0:

(begin-snipe of Df --si /home)

  /dev/sda9 68981016 67006992 0 100% /home

(end-snipe)

Making new files seems impossible although there must be enough place.

Any suggestions?!?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Wim
Solved:
Last query:
Last reply:
Revision history for this message
Wim (launchpad-xs4all) said :
#1

# -- /usr/bin/lsb_release -a

  Description: Ubuntu 10.04.4 LTS

# -- /bin/uname -a

 Linux xU005785 2.6.32-46-generic #108-Ubuntu SMP Thu Apr 11 15:55:01 UTC 2013 i686 GNU/Linux

# -- /usr/bin/sudo /sbin/fdisk -l

  /dev/sda9 1018 9673 69529320 83 Linux

# -- /usr/bin/sudo /bin/df --si

  /dev/sda9 71G 69G 0 100% /home

# -- /usr/bin/sudo /sbin/tune2fs -l /dev/sda9 | grep Reserv

  Reserved block count: 869116
  Reserved GDT blocks: 1019
  Reserved blocks uid: 0 (user root)
  Reserved blocks gid: 0 (group root)

# --

Revision history for this message
Savio (abhijeet) said :
#2

Use df -h

Cheers

Revision history for this message
Wim (launchpad-xs4all) said :
#3

Thanks Savio,

solution is different:

default 5% of Disk Space is reserved for ROOT actions.

BackUp script is running using ROOT permission, so can fill the entire partition.

As USER i am removing some files; as long as LESS than 5% is FREE,
the ROOT user can use that free space,
but
for the USER the disk is FULL !

DF -h and DF --si are giving the FREE space FOR USERS,

so in my case (with just less than 5% free)

it was correct that for me (as user) there was no free space...

Reading the documentation, i can say:

Problem solved!