From owner-freebsd-current@FreeBSD.ORG Mon Jun 28 17:38:09 2004 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 58EB216A4CE for ; Mon, 28 Jun 2004 17:38:09 +0000 (GMT) Received: from smtp006.bizmail.sc5.yahoo.com (smtp006.bizmail.sc5.yahoo.com [66.163.175.83]) by mx1.FreeBSD.org (Postfix) with SMTP id 1922543D1F for ; Mon, 28 Jun 2004 17:38:09 +0000 (GMT) (envelope-from noackjr@alumni.rice.edu) Received: from unknown (HELO optimator.noacks.org) (noackjr@supercrime.org@70.240.179.20 with login) by smtp006.bizmail.sc5.yahoo.com with SMTP; 28 Jun 2004 17:37:49 -0000 Received: from localhost (localhost [127.0.0.1]) by optimator.noacks.org (Postfix) with ESMTP id E575361D3; Mon, 28 Jun 2004 12:37:48 -0500 (CDT) Received: from optimator.noacks.org ([127.0.0.1]) by localhost (optimator.noacks.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 02159-07-4; Mon, 28 Jun 2004 12:37:47 -0500 (CDT) Received: from compgeek.noacks.org (compgeek [192.168.1.10]) by optimator.noacks.org (Postfix) with ESMTP id EDDF461D2; Mon, 28 Jun 2004 12:37:47 -0500 (CDT) Received: from [127.0.0.1] (localhost [127.0.0.1]) by compgeek.noacks.org (8.12.11/8.12.11) with ESMTP id i5SHblxU001874; Mon, 28 Jun 2004 12:37:47 -0500 (CDT) (envelope-from noackjr@alumni.rice.edu) Message-ID: <40E0576B.9020009@alumni.rice.edu> Date: Mon, 28 Jun 2004 12:37:47 -0500 From: Jon Noack User-Agent: Mozilla Thunderbird 0.7 (X11/20040624) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Don Lewis References: <200406281354.i5SDsJkm067510@gw.catspoiler.org> In-Reply-To: <200406281354.i5SDsJkm067510@gw.catspoiler.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at noacks.org cc: freebsd-current@FreeBSD.org cc: kalev@colleduc.ee Subject: Re: Giving up on x buffers - losing files X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: noackjr@alumni.rice.edu List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Jun 2004 17:38:09 -0000 On 06/28/04 08:54, Don Lewis wrote: > On 28 Jun, Kalev Lember wrote: >>Arjan van Leeuwen wrote: >>> >>> >>> Sometimes, particularly after doing a lot of file writes (i.e. >>> compiling a lot of ports, building world and mergemastering, >>> etc), I get the 'Giving up on x buffers' message on shutdown, and >>> my filesystems come up dirty when I restart. >>> >>> >>> > >> So, why does this happen? And how do I prevent it from happening? >>> This definitely does _not_ sound like something I want my servers >>> to do when 5.x goes -STABLE. >> >> Not sure if it is related, but if I have ext2 mounted on shutdown, >> the syncer also fails and gives up on a few buffers. It is >> reproducable. I can recall it was fixed about a year ago, but then >> broke again. > > This is an unrelated bug that has also been discussed. I believe it > even affects read-only mounts of ext2 file systems. Yeah, be sure to unmount manually before shutting down. Jon