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

Re: Electricity Cutoffs, EXT3 and Filesystems

Volkan YAZICI wrote:

I had used to be a ReiserFS user ~4 years and never had even a single
problem with it. It was blazingly fast and there isn't a second
filesystem I know of that could challange with it in the speed of
recovering at the boot after a system crash or electricity cutoff.

This year I'm obligated to administrate extra ~5 production servers and
as a result of major GNU/Linux headquarters moving from ReiserFS to
EXT3, I started to use EXT3 in those new servers. But unfortunately,
after every electricity cutoff[1], EXT3 just crashes and waits prompt
from me standing at boot. I start the servers with Knoppix (Gee!) and
run e2fsck on every single partition. (Keep on imagining this PITA!) No,
pressing `Y' to run a fsck on the partitions doesn't work. I tried my
luck with XFS, but it resulted same as EXT3.

Please, I don't want to start a flamewar between filesystems. But could
anybody give any recommendations to me? Should I switch back to ReiserFS
for my own mental sake? Is it possible to configure EXT3 to behave in a
more automatized manner and recover from crashes with minimum human
interruption? Do others also experience similar problems?


[1] Yes, we have couples of UPS boxes around, but they are not capable
    of standing the load for many hours. And yes, this is "Banana
    Republic" and companies cut your electricity off without a clue.

The short answer is going to be, work on getting more UPSes, and consider some type of longer-term (but still temporary) power source, like a Diesel generator.

If you have any diagnostics at all, post a summary here. Someone may see something to do. Also, fstab file and perhaps the contents of any custom init scripts you use, or even your menu.list from /boot/grub. Anything that may give someone a clue.

ReiserFS will work for a while, but unless they find some new, long-term upstream maintainers, it will eventually not be feasible to use it. Better to make the switch now, starting with new hardware. I still like ext3 for now, and ext "4" is coming along nicely, I hear, it may be a good choice at some point. (But not right now.)

Mark Allums

Reply to: