From owner-freebsd-questions@FreeBSD.ORG Fri Aug 12 22:46:08 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8BD4E1065676 for ; Fri, 12 Aug 2011 22:46:08 +0000 (UTC) (envelope-from deuza@me.com) Received: from smtp.smtpout.orange.fr (smtp05.smtpout.orange.fr [80.12.242.127]) by mx1.freebsd.org (Postfix) with ESMTP id E84548FC1F for ; Fri, 12 Aug 2011 22:46:07 +0000 (UTC) Received: from mbp.maison.com ([81.48.10.211]) by mwinf5d28 with ME id Kam51h0014ZBwl503am5Nh; Sat, 13 Aug 2011 00:46:06 +0200 X-ME-engine: default Mime-Version: 1.0 (Apple Message framework v1244.3) From: Alain AUDEBERT aka 2A In-Reply-To: <20110813003526.73c865aa.freebsd@edvax.de> Date: Sat, 13 Aug 2011 00:46:04 +0200 Message-Id: <249410CE-BA2D-4622-AD21-07F87AB34534@me.com> References: <5F5BA901-50F2-4F5F-A1A6-1267E5B7C212@me.com> <20110813003526.73c865aa.freebsd@edvax.de> To: Polytropon X-Mailer: Apple Mail (2.1244.3) Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: Don't understand df/du output X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Aug 2011 22:46:08 -0000 Le 13 ao=FBt 2011 =E0 00:35, Polytropon a =E9crit : > On Fri, 12 Aug 2011 23:58:12 +0200, Alain AUDEBERT aka 2A wrote: >> Hello list, >>=20 >> I having a problem to understand the output of du and df command : >>=20 >> [root@ftp ~]# df -h /opt/ >> Filesystem Size Used Avail Capacity Mounted on >> /dev/xbd6 387G 342G 13G 96% /opt >>=20 >> [root@ftp ~]# du -sh /opt/ >> 342G /opt/ >>=20 >> But 387Go - 342Go not equal to 13Go ! Where's the available space ? >> (same thing with df -k) >>=20 >> I have try a tunefs -m 1 /dev/xbd6, unmount, mount and nothing change >> Is it the 8% reserved by FFS ? >=20 > See: > http://www.freebsd.org/doc/en/books/faq/disks.html#DU-VS-DF Thank for the link, but in my case du and df are the same used output, = and it's not an rm, I launch lsof and no process with a big file :-/ Regards, Alain --=20 -----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------