Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Feb 2009 18:05:16 -0700
From:      Tim Judd <tajudd@gmail.com>
To:        David Newman <dnewman@networktest.com>
Cc:        Jerry McAllister <jerrymc@msu.edu>, freebsd-questions@freebsd.org
Subject:   Re: recovering from a power outage
Message-ID:  <4994C74C.3060906@gmail.com>
In-Reply-To: <4994C29E.3020506@networktest.com>
References:  <4994B999.1090307@networktest.com>	<20090213004128.GA79335@gizmo.acns.msu.edu> <4994C29E.3020506@networktest.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4994C74C.3060906>