From owner-freebsd-current@FreeBSD.ORG Tue Apr 12 01:43:26 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0901116A4CE for ; Tue, 12 Apr 2005 01:43:26 +0000 (GMT) Received: from gw.catspoiler.org (217-ip-163.nccn.net [209.79.217.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id A4F6243D54 for ; Tue, 12 Apr 2005 01:43:25 +0000 (GMT) (envelope-from truckman@FreeBSD.org) Received: from FreeBSD.org (mousie.catspoiler.org [192.168.101.2]) by gw.catspoiler.org (8.13.1/8.13.1) with ESMTP id j3C1hHv4034269; Mon, 11 Apr 2005 18:43:22 -0700 (PDT) (envelope-from truckman@FreeBSD.org) Message-Id: <200504120143.j3C1hHv4034269@gw.catspoiler.org> Date: Mon, 11 Apr 2005 18:43:17 -0700 (PDT) From: Don Lewis To: kris@obsecurity.org In-Reply-To: <20050411234512.GA23344@xor.obsecurity.org> MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii cc: current@FreeBSD.org Subject: Re: Softupdates not preventing lengthy fsck X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Apr 2005 01:43:26 -0000 On 11 Apr, Kris Kennaway wrote: > I'm seeing the following problem: on 6.0 machines which have had a lot > of FS activity in the past but are currently quiet, an unclean reboot > will require an hour or more of fscking and will end up clearing > thousands of inodes: > > [...] > /dev/da0s1e: UNREF FILE I=269731 OWNER=root MODE=100644 > /dev/da0s1e: SIZE=8555 MTIME=Apr 18 02:29 2002 (CLEARED) > /dev/da0s1e: UNREF FILE I=269741 OWNER=root MODE=100644 > [...] > > It's as if dirty buffers aren't being written out properly, or > something. Has anyone else seen this? This looks a lot like it could be a vnode refcnt leak. Files won't get removed from the disk while they are still in use (the old unlink while open trick). Could nullfs be a factor?