[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: automatic recovery on power-down



	That would be because when you experience a power outage or black-out
that is not a good thing for a multi-user OS as files may be cached in 
memory and not saved to disk at the time of the outage. This leads to an
unstable filesystem and if it persists may corrupt it well enuf that it 
requires a re-installation of the boxen completely. This is the major reason
to justify the cost of a good UPS that allows enuf time to properly shut
the system down gracefully (ie- shutdown, halt, etc).

	The file system is ran through fsck (filesystem check) whenever it
was not shut down properly or a drive was not umount'd gracefully. It will
also run after the drive has been mount'd/unmount'd X amount of times to 
verify that everything is still good... You should only have to manually
run fsck when the filesystem is in such a state that it can not fix it
on it's own, as it typically might make an adverse change and require 
interactive prompting. If you're having to manually fsck everytime and
don't have a UPS with atleast 30 minutes of backup power I *HIGHLY* recommend
a good one IMHO.

	Respectfully,
	Jeremy T. Bouse
	CEO, UnderGrid Network Services
	IPv6 Network Administrator, NTT MCL, Inc.

On Mon, Aug 27, 2001 at 09:52:57PM +0700, Umum Wijoyo wrote:
> Hi!
> I'd like to ask why my Debian server, on a power-down or black-out, always 
> requests for root to do an fsck etc. Is there any way I can automatically 
> get the server up and running again? Is this a good solution? Or is it
> better off having root to do a manual fasck etc first?
> Thanks!
> 
> Umum Wijoyo
> -----------
> G6/Lola
> Bandung, Indonesia
> 



Reply to: