From owner-freebsd-current@FreeBSD.ORG Wed Jun 18 13:24:55 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 3D0AF37B401 for ; Wed, 18 Jun 2003 13:24:55 -0700 (PDT) Received: from postal3.es.net (postal3.es.net [198.128.3.207]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6523C43FE3 for ; Wed, 18 Jun 2003 13:24:54 -0700 (PDT) (envelope-from oberman@es.net) Received: from ptavv.es.net ([198.128.4.29]) by postal3.es.net (Postal Node 3) with ESMTP (SSL) id MUA74016; Wed, 18 Jun 2003 13:24:53 -0700 Received: from ptavv (localhost [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id 5DB295D04; Wed, 18 Jun 2003 13:24:52 -0700 (PDT) To: Juan Rodriguez Hervella In-Reply-To: Message from Juan Rodriguez Hervella of "Wed, 18 Jun 2003 17:51:00 +0200." <200306181751.01998.jrh@it.uc3m.es> Date: Wed, 18 Jun 2003 13:24:52 -0700 From: "Kevin Oberman" Message-Id: <20030618202452.5DB295D04@ptavv.es.net> cc: Bernd Walter cc: freebsd-current@freebsd.org cc: ticso@cicely.de Subject: Re: Why doesn't background fsck work ? 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, 18 Jun 2003 20:24:55 -0000 > From: Juan Rodriguez Hervella > Date: Wed, 18 Jun 2003 17:51:00 +0200 > Sender: owner-freebsd-current@freebsd.org > > On Wednesday 18 June 2003 17:39, Bernd Walter wrote: > > On Wed, Jun 18, 2003 at 04:54:44PM +0200, Juan Rodriguez Hervella wrote: > > > Hello!: > > > > > > I tried to make my Nvidia video card work yesterday, and everytime > > > I launched the X system my computer hang up. So I had to > > > make a hard reboot. > > > (I think I will fix the Xs problem this night at home) > > > > > > But I've got another weird problem. :) > > > > > > The fsck of my partitions is always made on the foregroud, > > > although I've heard about something like a delayed/background > > > file system checker. > > > > > > Why is it always made on the foreground ? > > > > No softupdates enabled? > > yes, you've got it ! > > I haven't got softupdates enabled, but I didn't want to enable it, > because I've heard that it isn't 100% reliable and I didn't want to lose > data.... Theer have been no problems with softupdates in regard to data integrity in either 5.0 or 5.1 release. I do recall a couple of glitches at various times in current, probably prior to 5.0-Release. There is an issue of combining softupdate and write cache. In the event of a power failure, this could lead to a loss of data integrity. But write-cache is dangerous even without softupdate. In addition, because of the nature of softupdate, it is possible that a file is created/updated shortly before a system failure. While data corruption should not be an issue, the file may simply not be there after the system re-boots or may be in an earlier (but still consistent) state. You should probably turn off write cache on any system that you think might lose power. (And just how reliable is that UPS? Batteries (DC) are probably much safer.) But I don't think soft updates are a significant issue. (Others can feel free to tell me I'm an idiot.) You should probably read Kirk's Usnix paper on soft updates. It's very good. -- 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