On Thu, 2008-08-21 at 05:38 -0600, Warren Young wrote:
lingu wrote:
- what are all the precaution to be made to prevent file system
corruption.
Put the computer on a UPS.
Configure nut (http://networkupstools.org/) to bring the system down
safely well before the UPS's battery quits. You don't want to fully-discharge a lead-acid battery, which is what UPSes use. Shut down before it drops below about 20%.
Use some form of redundant RAID. (Not RAID-0!)
Run the RAID system's consistency check function periodically.
If the system's RAID card offers a battery backup option, get one.
If the system is experiencing kernel panics, fix the problem that's
causing it. Kernel panics are almost always due to broken hardware. Replace the broken hardware. Very rarely, they may be due to a bad driver or a kernel bug, but when you hear hoof beats, think horses, not zebras.
Back up your system.
BACK UP YOUR SYSTEM.
BACK! UP! YOUR! SYSTEM!!! (And then, back it up again.)
10. TEST the backups, preferably on another system. All the backup tapes in the world won't help if you think you've been doing it right for the past 5 months, but in reality all the tapes are either blank or damaged.