[DRBD-user] Verify

Ben Clewett ben at roadrunner.uk.com
Mon Mar 3 14:57:43 CET 2008

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



Dear DRBD,

Applogies if this message hits the mailing list twice.

I have completed an online devise verification, which seems a very 
useful feature.  I wonder if it may be possible to help me understand 
the output?

_Primary_

drbd0: Online verify  done (total 8222 sec; paused 0 sec; 98072 K/sec)
drbd0: Online verify found 2 4k block out of sync!
drbd0: helper command: /sbin/drbdadm out-of-sync
drbd0: Writing the whole bitmap.
drbd0: drbd_bm_total_weight: (!b) in 
/usr/src/drbd-8.2.5/drbd/drbd_bitmap.c:429
drbd0: writing of bitmap took 20 jiffies
drbd0: 8 KB (2 bits) marked out-of-sync by on disk bit-map.

_Secondary_

drbd0: Online verify  done (total 8222 sec; paused 0 sec; 98072 K/sec)
drbd0: Online verify found 1 4k block out of sync!
drbd0: helper command: /sbin/drbdadm out-of-sync
drbd0: Writing the whole bitmap.
drbd0: drbd_bm_total_weight: (!b) in 
/usr/src/drbd-8.2.5/drbd/drbd_bitmap.c:429
drbd0: writing of bitmap took 14 jiffies
drbd0: 4 KB (1 bits) marked out-of-sync by on disk bit-map.

Firstly, why am I 2 blocks out on my primary and 1 block out on secondary?

Secondly, does the 'drbd_bm_total_weight' message need attention?

Thirdly, this is a new array, only live two weeks and lightly loaded. 
Can you speculate what might be causing these bad blocks?

Finally, this is just a personal request.  If this command is run in 
'cron' as suggested, can DRBD me made to email out a report after 
completion?  I am running at 1000+ message plus in syslog (mainly from 
linux-ha) and am unlikely to notice messages requiring urgent attention.

I also note the suggested "/sbin/drbdadm out-of-sync" does not appear in 
the man page, so I am not sure what this does.

Kind regards,

*************************************************************************
This e-mail is confidential and may be legally privileged. It is intended
solely for the use of the individual(s) to whom it is addressed. Any
content in this message is not necessarily a view or statement from Road
Tech Computer Systems Limited but is that of the individual sender. If
you are not the intended recipient, be advised that you have received
this e-mail in error and that any use, dissemination, forwarding,
printing, or copying of this e-mail is strictly prohibited. We use
reasonable endeavours to virus scan all e-mails leaving the company but
no warranty is given that this e-mail and any attachments are virus free.
You should undertake your own virus checking. The right to monitor e-mail
communications through our networks is reserved by us

  Road Tech Computer Systems Ltd. Shenley Hall, Rectory Lane, Shenley,
  Radlett, Hertfordshire, WD7 9AN. - VAT Registration No GB 449 3582 17
  Registered in England No: 02017435, Registered Address: Charter Court, 
  Midland Road, Hemel Hempstead,  Hertfordshire, HP2 5GE. 
*************************************************************************



More information about the drbd-user mailing list