Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Having issues with space accounting of lvm volume. 23G is available. But the full size of the partition is 20G. (So, it shows "-4.1G used" 0_O)

> df -h 
Filesystem            Size  Used Avail Use% Mounted on
                       20G -4.1G   23G   -  /
                       63G   31G   29G  52% /porta_var
                       20G  3.3G   16G  18% /update_root
/dev/cciss/c0d0p1      99M   13M   82M  13% /boot
tmpfs                 7.9G     0  7.9G   0% /dev/shm

Any ideas?


uname -a Linux hostname 2.6.18- #1 SMP Thu Sep 3 00:21:28 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux

share|improve this question
I guess the count is simply broken. It's only modified (increased or decreased) during normal operation but not recalculated, and can be spoiled by any miscalculating or hardware fault. Reboot into single mode, remount it in readonly mode, and run fsck on it (concrete one for the FS type) with force mode, it will recalculate all quantities. – Netch Nov 11 '12 at 13:32
You might want to make a backup first... – Dennis Kaarsemaker Nov 11 '12 at 13:37
ok. thank you. I'll check. – webKnjaZ Nov 11 '12 at 14:21
What filesystem is on / (ext4, btrfs, …)? – Gilles Nov 11 '12 at 20:33
Have you tried following advice provided on ServerFault – Karlson Nov 13 '12 at 16:04

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.