RAID and journaling fs - a bad idea?
I just wanted to set up a RAID1, to have something I can count on. But then I started to think about it: What happens, if you have a power failure (hard switch off) in a system with e.g. reiserfs and RAID1? On the one HD, the writing transaction may got finished until poweroff, and on the 2nd HD the write transaction was still ongoing. So at the next poweron, the write gets rolled back on the 2nd HD, but not on the 1st HD. Now you have a mirrored system with not identical data.
Do you have any idea, how (or if) this is solved?
Re: RAID and journaling fs - a bad idea?
--I'm sure the designers thought of this, as Reiserfs is used in major production systems.
--However, you can always go here ( http://www.namesys.com/ ) and check the FAQ, or send them an email.
--My take on it, is that you're better off WITH journalling, than without. But I also recommend buying a UPS.
--BTW, can anyone recommend a good UPS with Linux support? ;-)
Quote:
Originally Posted by ThomasX
I just wanted to set up a RAID1, to have something I can count on. But then I started to think about it: What happens, if you have a power failure (hard switch off) in a system with e.g. reiserfs and RAID1? On the one HD, the writing transaction may got finished until poweroff, and on the 2nd HD the write transaction was still ongoing. So at the next poweron, the write gets rolled back on the 2nd HD, but not on the 1st HD. Now you have a mirrored system with not identical data.
Do you have any idea, how (or if) this is solved?