geekvenue.net

Welcome to Chucktips Hardware HELP WITH DEAD OS Installing FreeBSD Miscellaneous
 faq
 search
 add article
 cool-stuff
 how-to
 main
 tips


TIP:fsck -y remotely
Miscellaneous Posted by Understudy on Monday December 18, @07:39PM
from the salvage block dept.
When dealing with a remote server that has gone through a hard shutdown and bgfsck isn't going to be able to deal with all the issues. You can setup fsck on bootup. Grab your editor and let's go.
Okay let's edit As root:

# ee /etc/rc.conf Add these lines. # force fsck -y at boot fsck_flags=-y

This will force a fsck -y at boot before the slices are mounted.

Pay careful attention if your system is really screwed up you can lock yourself out of this. Also it will do this at every boot. This may not be desirable if you have a large amount of disk space.



NFS server & client in FreeBSD |  >

 

Related Links
  • Articles on Miscellaneous
  • Also by Understudy
  • Contact author

    Lilliput Mini USB Computer Monitor

    If you have ever wanted to learn about Cisco Routers, check out my new book "Cisco Routers for the Small Business" - it's Cisco CLI for the Regular Guy!

  • Sponsors

    The Fine Print: The following comments are owned by whoever posted them.
    ( Add a Reply )

    Re: TIP:fsck -y remotely
    by Understudy on Thursday December 21, @09:39PM
    I screwed up my html.
    Add these lines to /etc/rc.conf:
    # force fsck -y at boot
    fsck_flags=-y
    Hope that clears it up.
    [ Add a Reply to this ]
    The Fine Print: The following comments are owned by whoever posted them.
    ( Article Reply )

    "You never know how many friends you have until you own a Condo on the beach." -- Jason's Postulate

    Powered by Zope  Powered by Apache  Squishdot Powered
    All trademarks and copyrights on this page are owned by their respective companies. Comments are owned by the Poster. The Rest ©2001 Jason Neumann.
    [ main | post article | search ]