On Tue, Oct 07, 2003 at 05:09:29AM +1300, cr wrote: > > I've only had one sieze in recent times, what I've had several of recently is > sudden complete power cut - possibly a power supply fault. Either way, it > has the same effect of discombobulating my hard drive so I have to do a lot > of fscking on startup again. Occasionally this completely munges my X > setup.
I think you might find ext3 to be a big help, though it's not a complete solution - if the power dies in the middle of a write, you can end up with a bad sector being created, which can confuse things a bit. > I was thinking the best precaution might be to occasionally copy /etc, /root > and maybe /home/cr (are those the appropriate directories?) to a directory > on another drive, which is unlikely to have files open at the time of a > crash, and just copy them back if I need to to restore my settings. I'd add /var to the list, and copy them onto a partition which can be mounted read-only except when you're actually doing the copying. Hmmm... you could have two such back-up partitions, and have a cron job that backs up automatically to each one alternately every so often. Then, even if it crashes during the backup, you've still got the other copy. A new PSU is probably a good idea too :-) -- Pigeon Be kind to pigeons Get my GPG key here: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x21C61F7F
pgp00000.pgp
Description: PGP signature