From owner-freebsd-questions@FreeBSD.ORG Fri Mar 12 15:48:22 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 56EB916A4CE for ; Fri, 12 Mar 2004 15:48:22 -0800 (PST) Received: from relay2.sitel.com.ua (houp.sitel.com.ua [217.27.144.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3E4E643D2D for ; Fri, 12 Mar 2004 15:48:21 -0800 (PST) (envelope-from mirya@ukrpost.net) Received: by relay2.sitel.com.ua (Postfix, from userid 84) id 8F9F045833; Sat, 13 Mar 2004 01:48:12 +0200 (EET) Received: from dialup-146.113.sitel.com.ua (dialup-146.113.sitel.com.ua [217.27.146.113]) by relay2.sitel.com.ua (Postfix) with ESMTP id 43EF8457DD for ; Sat, 13 Mar 2004 01:47:52 +0200 (EET) From: Kyryll A Mirnenko To: freebsd-questions@freebsd.org Date: Sat, 13 Mar 2004 01:11:24 +0200 User-Agent: KMail/1.5.4 MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1251" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200403130111.24664.mirya@ukrpost.net> Subject: 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: Fri, 12 Mar 2004 23:48:22 -0000 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`?