From owner-freebsd-questions@FreeBSD.ORG Fri Aug 12 22:35:29 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 81E041065673 for ; Fri, 12 Aug 2011 22:35:29 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id 46D088FC15 for ; Fri, 12 Aug 2011 22:35:29 +0000 (UTC) Received: from r56.edvax.de (port-92-195-15-138.dynamic.qsc.de [92.195.15.138]) by mx01.qsc.de (Postfix) with ESMTP id DFD313CFCB; Sat, 13 Aug 2011 00:35:27 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id p7CMZQbU029040; Sat, 13 Aug 2011 00:35:26 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sat, 13 Aug 2011 00:35:26 +0200 From: Polytropon To: Alain AUDEBERT aka 2A 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> Organization: EDVAX X-Mailer: Sylpheed version 1.0.6 (GTK+ 1.2.10; amd64-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Aug 2011 22:35:29 -0000 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, ...