Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Aug 2011 00:35:26 +0200
From:      Polytropon <freebsd@edvax.de>
To:        Alain AUDEBERT aka 2A <deuza@me.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Don't understand df/du output
Message-ID:  <20110813003526.73c865aa.freebsd@edvax.de>
In-Reply-To: <5F5BA901-50F2-4F5F-A1A6-1267E5B7C212@me.com>
References:  <5F5BA901-50F2-4F5F-A1A6-1267E5B7C212@me.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Fri, 12 Aug 2011 23:58:12 +0200, Alain AUDEBERT aka 2A wrote:
> Hello list,
> 
> I having a problem to understand the output of du and df command :
> 
> [root@ftp ~]# df -h /opt/
> Filesystem    Size    Used   Avail Capacity  Mounted on
> /dev/xbd6     387G    342G     13G    96%    /opt
> 
> [root@ftp ~]# du -sh /opt/
> 342G    /opt/
> 
> But 387Go - 342Go not equal to 13Go ! Where's the available space ?
> (same thing with df -k)
> 
> I have try a tunefs -m 1 /dev/xbd6, unmount, mount and nothing change
> Is it the 8% reserved by FFS ?

See:
http://www.freebsd.org/doc/en/books/faq/disks.html#DU-VS-DF



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...




Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?20110813003526.73c865aa.freebsd>