From owner-freebsd-stable@FreeBSD.ORG Thu Jul 27 15:45:54 2006 Return-Path: X-Original-To: freebsd-stable@FreeBSD.ORG Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 55E7516A4E0 for ; Thu, 27 Jul 2006 15:45:54 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (lurza.secnetix.de [83.120.8.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id 96C1543D6B for ; Thu, 27 Jul 2006 15:45:53 +0000 (GMT) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (klyvwf@localhost [127.0.0.1]) by lurza.secnetix.de (8.13.4/8.13.4) with ESMTP id k6RFjkLW040733 for ; Thu, 27 Jul 2006 17:45:52 +0200 (CEST) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.13.4/8.13.1/Submit) id k6RFjkJD040732; Thu, 27 Jul 2006 17:45:46 +0200 (CEST) (envelope-from olli) Date: Thu, 27 Jul 2006 17:45:46 +0200 (CEST) Message-Id: <200607271545.k6RFjkJD040732@lurza.secnetix.de> From: Oliver Fromme To: freebsd-stable@FreeBSD.ORG In-Reply-To: <20060727083620.75d10af2@mablung.edhellond.fbi.ie> X-Newsgroups: list.freebsd-stable User-Agent: tin/1.8.0-20051224 ("Ronay") (UNIX) (FreeBSD/4.11-STABLE (i386)) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.1.2 (lurza.secnetix.de [127.0.0.1]); Thu, 27 Jul 2006 17:45:52 +0200 (CEST) Cc: Subject: Re: filesystem full error with inumber X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-stable@FreeBSD.ORG List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Jul 2006 15:45:54 -0000 Feargal Reilly wrote: > BTW, anybody know what the best method be for double-checking > df's figures would be? du? No, du(1) only sees files that have links (i.e. directory entries). It doesn't see deleted files that occupy space as long as processes still have them open, which can make quite a difference. You can use the command "lsof +L1" to check for such files. If there aren't any on the file system in question, then the number from du(1) should be pretty close to the number from df(1). The df(1) tool just displays the summary records from the file system. The only safe way to verify those numbers is to run fsck(8) manually on the file system (possibly twice). It will fix the summary records if necessary. Then run df(1) again. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing Dienstleistungen mit Schwerpunkt FreeBSD: http://www.secnetix.de/bsd Any opinions expressed in this message may be personal to the author and may not necessarily reflect the opinions of secnetix in any way. "To this day, many C programmers believe that 'strong typing' just means pounding extra hard on the keyboard." -- Peter van der Linden