Date: Thu, 12 Feb 2009 18:58:02 -0600 (CST) From: Jamie <jamie@gnulife.org> 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: <alpine.BSF.2.00.0902121853330.10540@whiskey.ihavefire.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
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" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.0902121853330.10540>