On 2007-03-13T14:26:56, Aníbal Monsalve Salazar <[EMAIL PROTECTED]> 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
_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/