Hi Mike, I believe when you use "shutdown -R now" you can force a fsck on reboot. I'd be very interested in how you tracked your reiserfs problems to flakey ram. I recently ran into some major problems when I replaced my DVDrom with a DVD burner on my system. I upgraded at the same tome from SuSE 8.2 to 9.0. First of all, I ended up swapping hardware around a lot because my Abit BX2.0 motherboard didn't recognize the DVD burner except if it occupied the slave on the first IDE channel. At some point in the process my trusted WD 12GB /dev/hda threw in the towel. Even a reiserfsck --rebuild-tree wouldn't rescue it and simply crashed somewhere in the middle of it. I ended up putting two new HDs into the system as well. Anyway, to make a long story short, I ended up with corruptions not only on the old HDs (the one that got toasted to begin with and an external scsi drive) but also on the two new ones. Luckily all those could be repaired by rebuilding the tree. It may be tied to trying to use the new DVD burner (Plextor 708A) to write to a CD-R when these corruptions occur. This in turn could be due to a max'ed out power supply or to the burner being faulty which I am currently trying to find out. Anyway, of course I can't exclude flaky RAM either, although I haven't had any problems with it up till now. So, please share your story and what you did to troubleshoot your problems. Best regards, Alex. On Fri, 30 Jan 2004, Michael James wrote:
While the new logging filesystems are a great improvement my experience is that they can't survive forever in the real world without an occasional rebuild or fsck.
This list has had warnings by people burnt by reiserfs. I haven't (yet) lost any data but have had some scary times.
This hasn't been bugs in reiserfs (3.6) itself as most instability was tracked to (very marginally) flakey RAM.
However while the glitches were caused by corrupt RAM they left me with faults in the filesystem, faults that persisted across reboots.
These included un-list-able and un-cat-able files. ie: read or ask the size of that file and it's bye-bye to that terminal. It made the whole system unuseable as processes "trod on the cracks" and hung. Backups? Hah, not with that file in the partition.
So I think a lot of bad press stems from the misconception that any filesystem can avoid bitrot forever without an fsck. But this is painful to do by hand, I have to boot a rescue system and run reiserfsck by hand, to do the root and system partitions.
How can I get back the old behaviour an fsck happening during reboot every x reboots or y days?
Or, how can I trigger an "fsck reboot"?
TIA, michaelj
PS: I've just realized I can do it by adding an fsck into the linuxrc script of a cooked initrd image. That would give me an "fsck boot" option in grub. Comments?
-- Michael James michael.james@csiro.au System Administrator voice: 02 6246 5040 CSIRO Bioinformatics Facility fax: 02 6246 5166
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com