Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

What is the difference in the shutdown (and possibly startup) between a power loss and a controlled shutdown (such as a reboot or literal shutdown) in Linux, and in particular, Ubuntu server 10.04 LTS?

Most important to me: the differences in how networking is handled in these two situations.

share|improve this question
4  
In a power loss, nothing is handled during shutdown, because there is no shutdown process. Am I misunderstanding your question? –  mfinni Aug 22 '11 at 12:56
add comment

2 Answers 2

up vote 5 down vote accepted

This article explains some of the problems when a system is not gracefully shut down - http://www.halfgaar.net/why-power-failures-are-bad-for-your-data. With a linux server, acpid helps shut down the system gracefully when the power button is pressed.

share|improve this answer
add comment

When you shutdown and/or reboot a server the services are gracefully stopped, any un-written pages in memory are written to disk where they belong, etc.

When the power goes out, poof everything is just gone. Any data that existed only in memory is lost.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.