From owner-freebsd-questions@FreeBSD.ORG Fri Feb 13 01:05:51 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 A9B67106566B for ; Fri, 13 Feb 2009 01:05:51 +0000 (UTC) (envelope-from tajudd@gmail.com) Received: from yx-out-2324.google.com (yx-out-2324.google.com [74.125.44.28]) by mx1.freebsd.org (Postfix) with ESMTP id 593868FC12 for ; Fri, 13 Feb 2009 01:05:51 +0000 (UTC) (envelope-from tajudd@gmail.com) Received: by yx-out-2324.google.com with SMTP id 31so612288yxl.13 for ; Thu, 12 Feb 2009 17:05:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=d6UtvRYkgUYjo6/TB7qepHj7I10jLFQzb2YRh2+22LQ=; b=qC7jo1LedFMvb49dDfWMtVqzcegYQu8OCLE0xKu1u3rmPWpFl8DiUPTxyjxuL20Z2w LM2bCArj+S+nGmL/fLUq2yc1voMA3HO/GWbdbPovKlwCZGRsTCskHjO+ysA8KqMnBRt/ Asp5ZmNGpRhxJbzx1mWdPpC4mkYDQ8cFyuse0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=laHfH5zEoKeb1uXbbyopSFtSJyJL7Mmy9MWVtztkvhZdy0pc5oyOzzpEbUck4/TbSe h5So0uVtOP9jOvGVNjDaWAV823TbfMWRJK5inyWa8lv0IfbdhataJO6jjl99S/nnM65+ 1sJH1yWFIMnUfUhfZ/8tYlfQmVjS1VoagTkXI= Received: by 10.142.57.19 with SMTP id f19mr714304wfa.80.1234487150321; Thu, 12 Feb 2009 17:05:50 -0800 (PST) Received: from ?192.168.4.44? (c-68-35-57-46.hsd1.nm.comcast.net [68.35.57.46]) by mx.google.com with ESMTPS id 9sm1657906wfc.23.2009.02.12.17.05.49 (version=SSLv3 cipher=RC4-MD5); Thu, 12 Feb 2009 17:05:49 -0800 (PST) Message-ID: <4994C74C.3060906@gmail.com> Date: Thu, 12 Feb 2009 18:05:16 -0700 From: Tim Judd User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) MIME-Version: 1.0 To: David Newman References: <4994B999.1090307@networktest.com> <20090213004128.GA79335@gizmo.acns.msu.edu> <4994C29E.3020506@networktest.com> In-Reply-To: <4994C29E.3020506@networktest.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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:05:52 -0000 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. > > thanks! > > dn > > > >> ////jerry >> >> >> >>> thanks >>> >>> dn >>> It's part of the bootup scripts now. It runs in the background 60 seconds after the login prompt shows up (not exactly, but close to 60 secs) it's the background_fsck option that defaults to YES in /etc/rc startup. only if there's major problems will it bail out, screaming for help. it'll drop you into a shell telling you that the filesystems need repair. --Tim