From owner-freebsd-questions@FreeBSD.ORG Thu Aug 23 08:47:21 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C432316A41A for ; Thu, 23 Aug 2007 08:47:21 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from gaia.nimnet.asn.au (nimbin.lnk.telstra.net [139.130.45.143]) by mx1.freebsd.org (Postfix) with ESMTP id 7405213C428 for ; Thu, 23 Aug 2007 08:47:20 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from localhost (smithi@localhost) by gaia.nimnet.asn.au (8.8.8/8.8.8R1.5) with SMTP id SAA08171; Thu, 23 Aug 2007 18:47:10 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Thu, 23 Aug 2007 18:47:09 +1000 (EST) From: Ian Smith To: Karol Kwiatkowski In-Reply-To: <46CD4173.1080000@gmail.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: Chris , freebsd-questions@freebsd.org, Bill Moran Subject: Re: fsck strangeness X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Aug 2007 08:47:21 -0000 On Thu, 23 Aug 2007, Karol Kwiatkowski wrote: > Ian Smith wrote: > > On Wed, 22 Aug 2007, Chris wrote: > > > If its bad to run fsck on a mounted read,write then why does > > > background fsck do it? or you talking about foreground fsck only? > > > > Well I was referring to foreground fsck, and I still don't know why > > running it on a mounted fs is 'bad' when fsck runs in 'NO WRITE' mode > > anyway when it finds a fs is mounted, hence my query above. > > Here's my understanding: > > Mounted fs (rw) isn't in stable state, there may be some writes to it - > daemons, buffers flushes, etc. In this condition fsck can report > inconsistency. And fsck running in 'NO WRITE' won't help anyway :) a) Absolutely. b) Indeed it usually does, fairly consistently, especially on /var. c) No it won't help (except where it can help locate problems in a real mess like bad blocks), but the assertion in question was, can it hurt? Cheers, Ian