[DRBD-user] very large out-of-sync (oos) value yet drbd-overview claims UpToDate/UpToDate

Lonni J Friedman netllama at gmail.com
Wed Oct 31 23:02:16 CET 2012

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


I've got a drbd setup with 8.3.11.  I ran a manual verify, and once it
completed it reported:

[23479.620066] block drbd0: Online verify  done (total 23136 sec;
paused 0 sec; 73748 K/sec)
[23479.702176] block drbd0: Online verify found 9651098 4k block out of sync!
[23479.745988] block drbd0: conn( VerifyT -> Connected )
[23479.788996] block drbd0: helper command: /sbin/drbdadm out-of-sync minor-0
[23479.839348] block drbd0: helper command: /sbin/drbdadm out-of-sync
minor-0 exit code 0 (0x0)
[23479.961245] block drbd0: bitmap WRITE of 2763 pages took 34 jiffies
[23480.006527] block drbd0: 37 GB (9651098 bits) marked out-of-sync by
on disk bit-map.

This isn't entirely surprising, as the secondary node was down for a
long time due to hardware problems.  However, what is surprising is
that drbd-overview still reports that everything is UpToDate:
$ drbd-overview
  0:sdb  Connected Secondary/Primary UpToDate/UpToDate C r-----

Shouldn't this huge number of out of sync bits cause drbd-overview to
report something other than UpToDate for the Secondary node?   If not,
then how does one actually programattically detect that a verification
has failed?  Parsing dmesg is going to be a huge kludge, and not
likely to be reliable.

thanks



More information about the drbd-user mailing list