From owner-freebsd-current@FreeBSD.ORG Wed Nov 26 10:51:40 2003 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 4CE3016A4CE for ; Wed, 26 Nov 2003 10:51:40 -0800 (PST) Received: from postal1.es.net (postal1.es.net [198.128.3.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id E4B2643FEC for ; Wed, 26 Nov 2003 10:51:37 -0800 (PST) (envelope-from oberman@es.net) Received: from ptavv.es.net ([198.128.4.29]) by postal1.es.net (Postal Node 1) with ESMTP (SSL) id MUA74016 for ; Wed, 26 Nov 2003 10:51:36 -0800 Received: from ptavv (localhost [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id 562385D08 for ; Wed, 26 Nov 2003 10:51:36 -0800 (PST) To: freebsd-current@freebsd.org In-Reply-To: Message from Matthias Andree <20031126183744.GA9140@merlin.emma.line.org> Date: Wed, 26 Nov 2003 10:51:36 -0800 From: "Kevin Oberman" Message-Id: <20031126185136.562385D08@ptavv.es.net> Subject: Re: 5.2-BETA: giving up on 4 buffers (ata) 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: Wed, 26 Nov 2003 18:51:40 -0000 > Date: Wed, 26 Nov 2003 19:37:45 +0100 > From: Matthias Andree > Sender: owner-freebsd-current@freebsd.org > > Hi, > > when I rebooted my 5.2-BETA (kernel about 24 hours old), it gave up on > flushing 4 dirty blocks. > > I had three UFS1 softdep file systems mounted on one ATA drive, one ext2 > file system on another ATA drive and one ext2 file system on a SCSI > drive. Both ext2 file systems had been mounted read-only, so they can't > have had dirty blocks. > > At the next reboot, FreeBSD checked all three UFS file systems as they > hadn't been umounted cleanly before. Makes me wonder if FreeBSD gave up > on the super blocks... This looks like a GEOM related issue, although I am not completely sure of this. I have observed the following: System dies leaving the file systems dirty. (File systems have soft-updates enabled.) I reboot to single user and fsck all partitions including the root. I halt or reboot. I get a number of dirty buffers and the syncer eventually gives up. If I issue a "mount -u /" before shutting down, the problem does not occur. Why I should be able to get dirty buffers on a file system that has never been mounted as RW, I don't understand, but I see it every time I reboot after a crash. -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634