From owner-freebsd-questions@FreeBSD.ORG Fri Feb 13 06:57:23 2009 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 0C60D1065672 for ; Fri, 13 Feb 2009 06:57:23 +0000 (UTC) (envelope-from wmoran@potentialtech.com) Received: from mail.potentialtech.com (internet.potentialtech.com [66.167.251.6]) by mx1.freebsd.org (Postfix) with ESMTP id D606D8FC0C for ; Fri, 13 Feb 2009 06:57:22 +0000 (UTC) (envelope-from wmoran@potentialtech.com) Received: from working (pool-72-95-226-5.pitbpa.ftas.verizon.net [72.95.226.5]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.potentialtech.com (Postfix) with ESMTPSA id 5A7D8EBC43; Thu, 12 Feb 2009 19:28:49 -0500 (EST) Date: Thu, 12 Feb 2009 19:29:20 -0500 From: Bill Moran To: David Newman Message-Id: <20090212192920.76bfdcf6.wmoran@potentialtech.com> In-Reply-To: <4994B999.1090307@networktest.com> References: <4994B999.1090307@networktest.com> X-Mailer: Sylpheed 2.5.0 (GTK+ 2.12.11; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: recovering from a power outage 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: Fri, 13 Feb 2009 06:57:23 -0000 David Newman wrote: > > What's the canonical method for checking ufs file systems on a FreeBSD > 7.1/amd64 system after an unscheduled power outage? Wait. The system will automatically detect a dirty shutdown and check the disks during the boot process. If the disks are only mildly scrambled by the outage, the system will continue to boot and the filesystem check program will run in the background -- you'll notice some disk slowness until fsck is done cleaning things up, but things will be otherwise fine. See the man page for fsck and fsck_ffs for more details. -- Bill Moran http://www.potentialtech.com