[Linux-ha-dev] issues I'm working on at the moment

Lars Marowsky-Bree lmb at suse.de
Tue Mar 13 10:17:21 MDT 2007


On 2007-03-13T14:26:56, Aníbal Monsalve Salazar <anibal at sgi.com> wrote:

> Heartbeat keeps a backup copy of /var/lib/heartbeat/crm/cib.xml but
> if the primary copy is filled with zeros it doesn't use the backup!

Good point.

> I also believe that given the XFS issue one backup copy is not
> enough and that we should have multiple backups so that if there is
> more than one change made to cib.xml in the 30 seconds before the
> reboot there will still be a good copy after the reboot. As the
> files in question are small there is no reason why we couldn't have
> 20 backup copies.

That shouldn't happen. We use fsync() on the file, so the backup copy is
always intact (it's just that the in-flight transaction might get hit).
XFS surely doesn't lie about fsync() ;-)

Anyway, your bug reports are great. Could you please file them in our
bugzilla?


Thanks,
	Lars

-- 
Teamlead Kernel, SuSE Labs, Research and Development
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)
"Experience is the name everyone gives to their mistakes." -- Oscar Wilde



More information about the Linux-HA-Dev mailing list