From owner-freebsd-questions@FreeBSD.ORG Fri Feb 13 01:52:50 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 F3F7010656E9 for ; Fri, 13 Feb 2009 01:52:49 +0000 (UTC) (envelope-from jamie@gnulife.org) Received: from whiskey.ihavefire.com (orange.ihavefire.com [204.246.77.201]) by mx1.freebsd.org (Postfix) with ESMTP id BE7778FC0C for ; Fri, 13 Feb 2009 01:52:49 +0000 (UTC) (envelope-from jamie@gnulife.org) Received: from orange.ihavefire.com (orange.ihavefire.com [204.246.77.201]) by whiskey.ihavefire.com (8.14.2/8.14.3) with ESMTP id n1D0w2UF012069; Thu, 12 Feb 2009 18:58:02 -0600 (CST) (envelope-from jamie@gnulife.org) Date: Thu, 12 Feb 2009 18:58:02 -0600 (CST) From: Jamie X-X-Sender: jamie@whiskey.ihavefire.com To: David Newman In-Reply-To: <4994C29E.3020506@networktest.com> Message-ID: References: <4994B999.1090307@networktest.com> <20090213004128.GA79335@gizmo.acns.msu.edu> <4994C29E.3020506@networktest.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Jerry McAllister , 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 01:52:53 -0000 On Thu, 12 Feb 2009, David Newman wrote: > On 2/12/09 4:41 PM, Jerry McAllister wrote: >> On Thu, Feb 12, 2009 at 04:06:49PM -0800, 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? >> >> How about fsck > > Right. I'm asking procedurally how that's invoked -- eg., do I need to > boot into single-user mode, what filesystem(s) do I mount and how, what > switches if any do I use with fsck and so on. Normally after booting after a power outage fsck will run automatically as part of the system startup, and will prune the filesystems automatically. If it finds an error it can't fix without help, it will drop you into a command line and tell you that there were errors that require your input to fix. At that point you can just run fsck {reported filesysem with errors} ie: fsck /dev/ad0s1e Sometimes you may want to use the -y switch, but use it with caution. man fsck for more info on other options. - Jamie > > thanks! > > dn > > >> >> ////jerry >> >> >>> thanks >>> >>> dn >>> >>> >>> _______________________________________________ >>> freebsd-questions@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >> > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >