From owner-freebsd-stable@FreeBSD.ORG Sun Apr 24 14:11:17 2005 Return-Path: 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 2A0F516A4CF for ; Sun, 24 Apr 2005 14:11:17 +0000 (GMT) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 661E643D2D for ; Sun, 24 Apr 2005 14:11:12 +0000 (GMT) (envelope-from scottl@samsco.org) Received: from [192.168.254.19] (ibook-nai.samsco.home [192.168.254.19]) (authenticated bits=0) by pooker.samsco.org (8.13.1/8.13.1) with ESMTP id j3OECN3C013699; Sun, 24 Apr 2005 08:12:28 -0600 (MDT) (envelope-from scottl@samsco.org) Message-ID: <426BA8FA.3080602@samsco.org> Date: Sun, 24 Apr 2005 08:11:06 -0600 From: Scott Long User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.5) Gecko/20041217 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Palle Girgensohn References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.8 required=3.8 tests=ALL_TRUSTED autolearn=failed version=3.0.2 X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on pooker.samsco.org cc: stable@freebsd.org Subject: Re: background_fsck=no does not work? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Apr 2005 14:11:17 -0000 Palle Girgensohn wrote: > Hi! > > on a 5.4-prerelease machine (dell 2850 dual cpu, running amd64), I have > this in rc.conf: > > fsck_y_enable="YES" > background_fsck="NO" > > > Still, I'm not certain that fsck is really run at startup. Are you expecting a fsck to be run at every startup, regardless of whether the filesystems are dirty? If so, that is not what these options do. > At least, > running fsck on in multiuser reveals information like below, but perhaps > that is normal for an active file system? Yes, because of the caching effect of the VM layer, the filesystem will not always be clean. Softupdates (hopefully) means that it will be consistent and recoverable, but what you're seeing here is normal and expected. Running foreground-fsck on a mounted filesystem has limited value, though. > > I'm having stability problems with this machine (it crashes > sporadically) and I suspect it might have something to do with problems > in the file system. Could this be true, or is the below stuff completely > normal? You'll need to enable DDB and KDB and post the information from your crashes. Scott