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-unsubscr...@freebsd.org"
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to