[CentOS] df -h shows system at 100% used, but there is space left

Fri Apr 24 18:25:59 UTC 2009
Robert Heller <heller at deepsoft.com>

At Fri, 24 Apr 2009 09:43:57 -0700 CentOS mailing list <centos at centos.org> wrote:

> 
> Has anyone seen output like this before? Notice on my /dev/md0 That it  
> reports 100% used, but also 5.3 Gb available. What would cause this?
> 
> 
> 
> # df -h
> Filesystem            Size  Used Avail Use% Mounted on
> /dev/sda2              71G  1.6G   66G   3% /
> /dev/sda1              99M   22M   73M  23% /boot
> tmpfs                 506M     0  506M   0% /dev/shm
> /dev/md0              903G  851G  5.3G 100% /home
> 
> 
> Thanks in advance!

There is a 'reserve' of space, that only root can write to.  In the case
of /dev/md0 above, normal users will get a 'no space left on device'
error trying to write files.  root, however, can still manage to write
another 5.3 gig before encountering this error.  It only shows up as so
large because the reserve space is a *percentage* of the total file
system, and /dev/md0 is a huge file system.

> 
> d
> 
> 
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
> 
>                                                                                            

-- 
Robert Heller             -- 978-544-6933
Deepwoods Software        -- Download the Model Railroad System
http://www.deepsoft.com/  -- Binaries for Linux and MS-Windows
heller at deepsoft.com       -- http://www.deepsoft.com/ModelRailroadSystem/