On Thu, 2004-11-25 at 16:37 +0100, Bernhard Prell wrote: [snip]
> *Background: > I 'm administrating about 20 computers. The installed Linux/Reiser is quite > old: SuSE Linux with kernel 2.4.7(SMP) (dmesg tells me reiser 3.5.x disk > format, ReiserFS version 3.6.25). > > Obviously people often pull the plug without cleanly shutting down the > systems, because maybe twice per month I have to setup a system again because > it doesn't want to boot anymore. The reason is always a somehow corrupted > root-filesystem. Sometimes reiserfsck can repair it, sometimes not because of > I/O-read-errors. If that's the case I also have a look at the disk with > "smartctl -t short /dev/hda" and it also reports read-errors. Then I usually > do a "dd if=/dev/zero of=/dev/hda", repartition, reformat, setup the system > from a tar file and everything is fine again (smartctl doesn't report > read-errors anymore). [snip] I can't comment on reiser4's characteristics but thought you might be interested in my experiences. I ran a busy server using reiserfs for over two years, from around the days of kernel 2.4.18. During that time, there were several occasions on which power was lost (I had no UPS at that time) and on no occasion did I experience filesystem corruption of that kind, nor did I have to go through any special recovery procedures to get things up and running again. For this reason, and because I believe that the stability of reiserfs was improved drastically in later revisions of the 2.4 kernel, I would urge that you consider using a modern 2.4 kernel and the latest reiserfs tools if possible! Another factor is the type of journalling mode that is used. Later in 2.6, options were made available to select the journalling mode (see http://www.namesys.com/mount-options.html) which reflect the hitherto more flexible ext3 options. By mounting with data=journal, one can ensure to a reasonable extent the integrity of both data and metadata, probably at some expense in performance. Personally I never had any problems with data=ordered which is the default. I don't know what the situation is in 2.4 these days, but I am assuming that this work was never backported i.e. only metadata is journalled. However, even if that is the case I would still suggest that it is much more robust in later kernels (both 2.4 and 2.6). Regards, --Kerin Francis Millar