[nflug] Missing Free Space

David J. Andruczyk djandruczyk at yahoo.com
Sat Jan 21 13:30:10 EST 2006



--- Justin Bennett <Justin.Bennett at Dynabrade.com> wrote:

> This may have been touched on before, but please refresh my memory. I
> 
> have a partition that's about 45GB. It's using 42GB according to 'df'
> 
> that should leave about 3GB free. It only shows 700MB free.  What
> causes 
> this, any way to reclaim the 'missing' space. Or is df just not 
> reporting it correctly.
> 
> /dev/sdb1             45358500  42311596    742784  99% /export/home
> 


Depending on the filesystem used on that disk there are varying amounts
of overhead. (journal, metadata, indexes) as well as space used by
inodes and superblocks.  Some mkfs options for certain filesystems let
you tune the number of inodes to allow more free space (EXT3 does for
sure).  Other things you may wish to check is the root reserved amount,
a.k.a reserved_blocks_count (viewable/settable with tune2fs for EXT2/3
FS's)

Since it seems that you're missing about 2.3 GB, that's about 5% of the
filesystem.  EXT2/3 by default reserves 5% for root.  

from the man.ext2 man page.

 -m reserved-blocks-percentage
Specify the percentage of the filesystem blocks reserved for the
super-user.   This  avoids  fragmentation, and allows root-owned
daemons, such as syslogd(8), to continue to  function  correctly after
non-privileged processes are prevented from writing to the filesystem. 
The default percentage is 5%.





Dave J. Andruczyk

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
_______________________________________________
nflug mailing list
nflug at nflug.org
http://www.nflug.org/mailman/listinfo/nflug



More information about the nflug mailing list