Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 May 2000 12:02:47 -0500 (CDT)
From:      David Scheidt <dscheidt@enteract.com>
To:        Bill Sandiford <sysop@interlinks.net>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Reboots without fsck at console
Message-ID:  <Pine.NEB.3.96.1000505120103.50539A-100000@shell-1.enteract.com>
In-Reply-To: <000701bfb6b2$d811c3a0$0fa06bcf@interlinks.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 5 May 2000, Bill Sandiford wrote:

> I'm having a small problem with a few of my FreeBSD machines.  These
> machines are located at a remote location with bad power and not sufficient
> enough of a UPS system.  If the power goes out to these machines, they
> sometimes don't boot up all the way and instead kick out in single user mode
> asking for fsck to be run manually.  This must be done from the console.  My
> question is, is there anyway to configure these boxes so that the fsck will
> be run automatically (without requiring any console input) so that these
> boxes will reboot on there own?

Change the line that does an fsck -p to
fsck -p || fsck -y

If the fsck -p fails it will do an fsck -y, which should take care of
things.  


David



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.96.1000505120103.50539A-100000>