Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 May 2005 11:26:19 -0500
From:      Jacob S <stormspotter@6Texans.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: fsck on startup
Message-ID:  <20050526112619.3eddfc23@jacob.6texans.net>
In-Reply-To: <20050526160420.GA39239@xor.obsecurity.org>
References:  <20050526072226.GA1141@savage.za.org> <1117096345.75630.1.camel@sirius.ramb.com.ua> <20050526160420.GA39239@xor.obsecurity.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 26 May 2005 09:04:20 -0700
Kris Kennaway <kris@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



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