fsck on startup
Jacob S
stormspotter at 6Texans.net
Thu May 26 09:26:24 PDT 2005
On Thu, 26 May 2005 09:04:20 -0700
Kris Kennaway <kris at obsecurity.org> wrote:
> On Thu, May 26, 2005 at 11:32:25AM +0300, Sergey S. Ropchan wrote:
<snip>
> > > is a co-located server in a remote datacenter which I
> > > unfortunately can not get to as easily as I would want.
> > >
> > > Is there anyway to tell rc.conf or sysctl or anything else to get
> > > bsd to not pause for the root password???
> >
> > Yes, of course add folowing strings to your rc.conf:
> >
> > fsck_y_enable="YES"
> > background_fsck="YES"
>
> With the warning that your system is asking for the root password
> because it is finding *serious errors* in your filesystem, and if you
> enable fsck -y then it may result in deletion of large chunks of your
> filesystem to "repair" the damage.
>
> Instead you should be asking why you are getting these errors in the
> first place. Do you have soft updates enabled? Should you invest in
> a UPS to prevent the unclean shutdowns?
If he needs a UPS at a Co-lo, it's time for a new Co-lo.
Jacob
More information about the freebsd-questions
mailing list