From owner-freebsd-questions@FreeBSD.ORG Fri Mar 12 16:12:23 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0B70316A4CF for ; Fri, 12 Mar 2004 16:12:23 -0800 (PST) Received: from spam2.snu.ac.kr (spam2.snu.ac.kr [147.46.10.68]) by mx1.FreeBSD.org (Postfix) with SMTP id 5440B43D1F for ; Fri, 12 Mar 2004 16:12:22 -0800 (PST) (envelope-from nospam@users.sourceforge.net) Received: (snipe 17657 invoked by alias); 13 Mar 2004 00:12:14 +0900(KST) Received: from nospam@users.sourceforge.net with SpamSniper2.76 (Processed in 0.047085 secs); Received: from unknown (HELO sis1.snu.ac.kr) (147.46.10.36) by 0 with SMTP; 13 Mar 2004 00:12:14 +0900(KST) X-RCPTTO: freebsd-questions@freebsd.org,mirya@ukrpost.net, Received: from users.sourceforge.net ([147.47.254.184]) by sis1.snu.ac.kr (8.12.10/8.12.10) with ESMTP id i2D08avJ304270; Sat, 13 Mar 2004 09:08:37 +0900 Message-ID: <405251DE.5080108@users.sourceforge.net> Date: Sat, 13 Mar 2004 09:12:14 +0900 From: Rob User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6) Gecko/20040312 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Kyryll A Mirnenko , freebsd-questions@freebsd.org References: <200403130111.24664.mirya@ukrpost.net> In-Reply-To: <200403130111.24664.mirya@ukrpost.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Why does `df` lie about free space X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Mar 2004 00:12:23 -0000 Kyryll A Mirnenko wrote: > That's an old problem, but yesterday I was working with 1.4G UFS2-slice > reported by `df` to have 400kb of free space. Alternative calculations (e.g. > writing a random file until kernel says no inode's free) give a result of > more that 100M (!) unused. Thats about 7% of the whole size! > So whats wrong with `df`? Read "How is it possible for a partition to be more than 100% full?" at http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html R.