Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Aug 2011 23:58:12 +0200
From:      Alain AUDEBERT aka 2A <deuza@me.com>
To:        freebsd-questions@freebsd.org
Subject:   Don't understand df/du output
Message-ID:  <5F5BA901-50F2-4F5F-A1A6-1267E5B7C212@me.com>

next in thread | raw e-mail | index | archive | help
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 ?

Regards,

Alain

-- 
    -----BEGIN GEEK CODE BLOCK-----
   Version: 3.1
   GIT/MU/S/SS d--(---)@ s++:++>+ a C++>+++ UBLS+++>++++$
   P+++ L E--- W++ N++ o+ K- w--(---) O M+(++) V PS++ PE-- Y++
   PGP+ !t !5 X++>+ R-- tv- b++ DI++ D+ G++ e+++ h++>+ r y*
    ------END GEEK CODE BLOCK------




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5F5BA901-50F2-4F5F-A1A6-1267E5B7C212>