Hi,
We had a power-supply failure on our primary machine a couple of days ago,
and when I tried to bring up the secondary, the FSCK showed heaps of problems.
Since we had a spare power supply, we quickly changed the power supply and
brought the primary back up, however, it is obvious that there are still
problems.
Since then I have added a nightly script on the secondary to do an fsck -n
of /dev/nb0, and it is clear that there are times when the buffer cache has
not been flushed on the primary that there are problems ...
If I run sync on the primary a couple of times and then do the fsck -n
/dev/nb0 on the seconday, it reports no errors, but without doing that, I
can get lots of errors.
I use the B protocol.
What can I do to minimize the possibility that the secondary will have
these problems?
Regards
-------
Richard Sharpe, sharpe@example.com
Samba (Team member, www.samba.org), Ethereal (Team member, www.zing.org)
Contributing author, SAMS Teach Yourself Samba in 24 Hours
Author, Special Edition, Using Samba
We had a power-supply failure on our primary machine a couple of days ago,
and when I tried to bring up the secondary, the FSCK showed heaps of problems.
Since we had a spare power supply, we quickly changed the power supply and
brought the primary back up, however, it is obvious that there are still
problems.
Since then I have added a nightly script on the secondary to do an fsck -n
of /dev/nb0, and it is clear that there are times when the buffer cache has
not been flushed on the primary that there are problems ...
If I run sync on the primary a couple of times and then do the fsck -n
/dev/nb0 on the seconday, it reports no errors, but without doing that, I
can get lots of errors.
I use the B protocol.
What can I do to minimize the possibility that the secondary will have
these problems?
Regards
-------
Richard Sharpe, sharpe@example.com
Samba (Team member, www.samba.org), Ethereal (Team member, www.zing.org)
Contributing author, SAMS Teach Yourself Samba in 24 Hours
Author, Special Edition, Using Samba