<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.5945" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN class=492402121-27052010>Hi,
</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=492402121-27052010></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=492402121-27052010>I'm not sure if this
is a bug or not. I'm using DRBD (v8.0.6). At most of the time, DRBD works well.
But after about 100 failovers, some files are corrupted (These files have the
contents of other files, it could be caused by messed i-nodes or duplicate
i-nodes). One thing I want to mention is that during the Primary node is going
down, an application is writing data to an file in the replication partition
(/repl). During this period, this primary node is umounting /repl
too.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=492402121-27052010></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=492402121-27052010>As a workaround,
"drbdadm invalidate-remote all" is added right before /repl is umounted. The
purpose is to force sync before failover. After this workaround, the file
corruption has not been seen even after about 160 failovers. At this time, I
don't have data more than about 160 failovers.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=492402121-27052010></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=492402121-27052010>As far as I know,
DRBD will do real-time sync. Is force sync ("drbdadm invalidate-remote all") a
must-have step in my case? Or is there a bug in DRBD? Are there any people
reported similar issue before?</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=492402121-27052010></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=492402121-27052010>Your timely reply is
highly appreciated.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=492402121-27052010></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN
class=492402121-27052010>Thanks,</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=492402121-27052010>Zhao
Que</SPAN></FONT></DIV></BODY></HTML>