From owner-freebsd-stable@FreeBSD.ORG Fri Jun 10 03:35:20 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 E6A6A16A41C; Fri, 10 Jun 2005 03:35:20 +0000 (GMT) (envelope-from ssouhlal@FreeBSD.org) Received: from efnet-math.org (efnet-math.org [69.60.109.125]) by mx1.FreeBSD.org (Postfix) with ESMTP id 75EB643D48; Fri, 10 Jun 2005 03:35:20 +0000 (GMT) (envelope-from ssouhlal@FreeBSD.org) Received: from [192.168.1.12] (63-170-138-118.cst-sg.blacksburg.ntc-com.net [63.170.138.118]) (authenticated bits=0) by efnet-math.org (8.13.1/8.13.1) with ESMTP id j5A3ZIIb015710 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NO); Thu, 9 Jun 2005 23:35:19 -0400 In-Reply-To: <20050610042211.5d214150.jylefort@FreeBSD.org> References: <20050610042211.5d214150.jylefort@FreeBSD.org> Mime-Version: 1.0 (Apple Message framework v730) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <365EB646-B593-4038-9525-D0CC3C00D691@FreeBSD.org> Content-Transfer-Encoding: 7bit From: Suleiman Souhlal Date: Thu, 9 Jun 2005 23:35:12 -0400 To: Jean-Yves Lefort X-Mailer: Apple Mail (2.730) Cc: Xin LI , freebsd-stable Subject: Re: UFS2 partition with negative used space X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list 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 03:35:21 -0000 Hi, On Jun 9, 2005, at 10:22 PM, Jean-Yves Lefort wrote: > Hi, > > Filesystem Size Used Avail > Capacity Mounted on > /dev/ad0s1e 989M -46M 956M > -5% /var/tmp > > Any hints? During a private discussion I had with Jean-Yves, we have determined that the problem was due to the cylinder group summary being stale. It used to be recomputed by the kernel at mount time if the filesystem was dirty, but delphij changed it so that background fsck recomputes it instead. For some reason, in this case, this wasn't enough to synchronize the superblock's cg summary with the actual summary stored in the cgs. I'll have to investigate some more. In the meantime, a fsck -y is enough to fix it. Bye. -- Suleiman Souhlal | ssouhlal@vt.edu The FreeBSD Project | ssouhlal@FreeBSD.org