From owner-freebsd-questions@FreeBSD.ORG Fri Jun 27 19:32:14 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0BFF537B401 for ; Fri, 27 Jun 2003 19:32:14 -0700 (PDT) Received: from mta4.adelphia.net (mta4.adelphia.net [64.8.50.184]) by mx1.FreeBSD.org (Postfix) with ESMTP id 43C1D44017 for ; Fri, 27 Jun 2003 19:32:13 -0700 (PDT) (envelope-from wmoran@potentialtech.com) Received: from potentialtech.com ([24.53.179.151]) by mta4.adelphia.net (InterMail vM.5.01.05.32 201-253-122-126-132-20030307) with ESMTP id <20030628023212.XTZK1347.mta4.adelphia.net@potentialtech.com>; Fri, 27 Jun 2003 22:32:12 -0400 Message-ID: <3EFCFE2C.4070005@potentialtech.com> Date: Fri, 27 Jun 2003 22:32:12 -0400 From: Bill Moran User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3) Gecko/20030429 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Brett Glass References: <4.3.2.7.2.20030627165224.03568100@localhost> <4.3.2.7.2.20030627165224.03568100@localhost> <4.3.2.7.2.20030627195013.029d4a70@localhost> In-Reply-To: <4.3.2.7.2.20030627195013.029d4a70@localhost> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: questions@freebsd.org Subject: Re: fsck! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Jun 2003 02:32:14 -0000 Brett Glass wrote: > At 06:43 PM 6/27/2003, Kris Kennaway wrote: > >>You're supposed to boot into single-user mode to repair the >>filesystems before attempting to bring it up to multiuser state. > > Ah... but you're not there at the exact moment when the power > comes back on. (Maybe it was just a flicker and there was no > UPS, or maybe the power company -- like ours -- is so slow to > fix outages that the UPS battery was fully drained.) Normally, fsck is able to automatically handle the problem after a dirty shutdown. In all the dirty shutdowns I've seen, I've only had to manually run fsck maybe twice. As far as the power sit is concerned: if you have a UPS and you don't have some sort of monitoring software to gracefully shutdown the machine during extended outages, you're shooting yourself in the foot! Kind of like getting a car with all the fancy safety features so you can drink a bottle of vodka before you drive. Regardless, isn't this the reason background fsck was developed in 5? > What's more, even if you CAN boot into single user mode and run > fsck, it can be frustrating. Sometimes a partition takes two > or three passes to clean up. Yeah, that is a PITA, but I can understand the reason. > Sometimes fsck randomly refuses > to work on one. It's a mess. Never had that happen. > Ideally, the system would handle the logistics. It's not as if > powering down without shutting down is that rare of an > occurrence. Really? Doesn't happen all that often to me. -- Bill Moran Potential Technologies http://www.potentialtech.com