Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

Suppose we are working in environment where you can't be sure that your computer won't just suddenly shut off. What measures can be taken to improve system's (unix) resist to such failures? And how to ensure that risk of data loss (on hard drive) is as low as possible?

share|improve this question
add comment

1 Answer

up vote 3 down vote accepted

Use a journaling file system and make sure the flush to disk frequency is set pretty high.

If you are having frequent kernel panics, don't use the machine for anything important! It's broken. Fix it. Remove whatever modules or hardware is a problem before using it in a production environment.

If power or other physical issues are present, get a UPS or fix the environment.

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.