From owner-freebsd-stable@FreeBSD.ORG Fri Jun 10 15:04:02 2005 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 8324D16A41C; Fri, 10 Jun 2005 15:04:02 +0000 (GMT) (envelope-from jpeg@thilelli.net) Received: from smtp.thilelli.net (smtp.thilelli.net [213.41.129.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id F32C843D1D; Fri, 10 Jun 2005 15:04:01 +0000 (GMT) (envelope-from jpeg@thilelli.net) Received: from localhost (localhost [127.0.0.1]) by bento.thilelli.net (Postfix) with ESMTP id 663947302E; Fri, 10 Jun 2005 17:04:58 +0200 (CEST) Received: from bento.thilelli.net ([127.0.0.1]) by localhost (bento.thilelli.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 68681-02-2; Fri, 10 Jun 2005 17:04:53 +0200 (CEST) Received: from webmail.thilelli.net (localhost [127.0.0.1]) by bento.thilelli.net (Postfix) with ESMTP id A571873019; Fri, 10 Jun 2005 17:04:53 +0200 (CEST) Received: from 145.248.192.30 (SquirrelMail authenticated user jgabel) by webmail.thilelli.net with HTTP; Fri, 10 Jun 2005 17:04:53 +0200 (CEST) Message-ID: <38015.145.248.192.30.1118415893.squirrel@webmail.thilelli.net> In-Reply-To: <1118382284.694.10.camel@spirit> References: <20050610042211.5d214150.jylefort@FreeBSD.org> <62164.192.168.1.20.1118380154.squirrel@webmail.thilelli.net> <1118382284.694.10.camel@spirit> Date: Fri, 10 Jun 2005 17:04:53 +0200 (CEST) From: "Julien Gabel" To: delphij@delphij.net User-Agent: SquirrelMail/1.4.4 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Virus-Scanned: amavisd-new at thilelli.net Cc: Jean-Yves Lefort , freebsd-stable@freebsd.org Subject: Re: UFS2 partition with negative used space X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: jpeg@thilelli.net List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Jun 2005 15:04:02 -0000 Hello, > Hi, Julien, > > 在 2005-06-10五的 07:09 +0200,Julien Gabel写道: >>> Hi, >>> >>> Filesystem Size Used Avail Capacity >>> Mounted on >>> /dev/ad0s1e 989M -46M 956M -5% >>> /var/tmp >>> >>> Any hints? >> I had to run fsck(8) on /tmp, which was in the same state as shown here, >> three time in the last five months. > You may want to have mount -f -u -ordonly /tmp before running fsck in > foreground, and then mount -u /tmp to restore its mount options. I had use 'mount -u -o ro /tmp' (don't know that the -f option may help in this case before you write it :), but since the problem appears on a desktop, i was able to switch to single user to umount/fsck/mount the corresponding file system. Thank for the -f tip anyway! -- -jpeg.