[DRBD-user] BAD sector messages with drbd 8.4.4

Karl Rößmann K.Roessmann at fkf.mpg.de
Fri Mar 14 13:34:57 CET 2014

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


Dear all,

we have drbd-8.4.4-0.22.9 and a primary/primary resource

we had to shutdown one node for an hour.
Than we restarted drbd and
during resync we got some BAD sector messages. See below.

Now we have:
ha2infra:~ # rcdrbd status
drbd driver loaded OK; device status:
version: 8.4.4 (api:1/proto:86-101)
GIT-hash: 599f286440bd633d15d5ff985204aff4bccffadd build by  
phil at fat-tyre, 2013-10-11 16:42:48
m:res  cs         ro               ds                 p  mounted  fstype
0:r0   Connected  Primary/Primary  UpToDate/UpToDate  C

ha2infra:~ # cat /proc/drbd
version: 8.4.4 (api:1/proto:86-101)
GIT-hash: 599f286440bd633d15d5ff985204aff4bccffadd build by  
phil at fat-tyre, 2013-10-11 16:42:48
  0: cs:Connected ro:Primary/Primary ds:UpToDate/UpToDate C r-----
     ns:0 nr:557309 dw:557309 dr:88 al:0 bm:342 lo:0 pe:0 ua:0 ap:0  
ep:1 wo:f oos:0



Mar 14 12:55:24 ha2infra kernel: [ 2184.888192] block drbd0: peer(  
Unknown -> Primary ) conn( WFReportParams -> WFBitMapT ) disk(  
UpToDate -> Outdated ) pdsk( DUnknown -> UpToDate )
Mar 14 12:55:24 ha2infra kernel: [ 2185.008448] block drbd0: receive  
bitmap stats [Bytes(packets)]: plain 0(0), RLE 21384(6), total 21384;  
compression: 100.0%
Mar 14 12:55:24 ha2infra kernel: [ 2185.056860] block drbd0: send  
bitmap stats [Bytes(packets)]: plain 0(0), RLE 21384(6), total 21384;  
compression: 100.0%
Mar 14 12:55:24 ha2infra kernel: [ 2185.056871] block drbd0: conn(  
WFBitMapT -> WFSyncUUID )
Mar 14 12:55:24 ha2infra kernel: [ 2185.056958] block drbd0: role(  
Secondary -> Primary )
Mar 14 12:55:24 ha2infra kernel: [ 2185.062545] block drbd0: updated  
sync uuid  
1611C094A9949E31:0000000000000000:1B31886E61B8EC6F:1B30886E61B8EC6F
Mar 14 12:55:24 ha2infra kernel: [ 2185.062953] block drbd0: helper  
command: /sbin/drbdadm before-resync-target minor-0
Mar 14 12:55:24 ha2infra kernel: [ 2185.066444] block drbd0: helper  
command: /sbin/drbdadm before-resync-target minor-0 exit code 0 (0x0)
Mar 14 12:55:24 ha2infra kernel: [ 2185.066493] block drbd0: conn(  
WFSyncUUID -> SyncTarget ) disk( Outdated -> Inconsistent )
Mar 14 12:55:24 ha2infra kernel: [ 2185.066503] block drbd0: Began  
resync as SyncTarget (will sync 2238752 KB [559688 bits set]).
Mar 14 12:55:31 ha2infra kernel: [ 2192.275064] block drbd0: BAD!  
sector=5770575824s enr=176103 rs_left=-1 rs_failed=0 count=11  
cstate=SyncTarget
Mar 14 12:55:32 ha2infra kernel: [ 2193.310701] block drbd0: BAD!  
sector=5770772472s enr=176109 rs_left=-6 rs_failed=0 count=11  
cstate=SyncTarget
Mar 14 12:55:32 ha2infra kernel: [ 2193.540467] block drbd0: BAD!  
sector=5770837984s enr=176111 rs_left=-3 rs_failed=0 count=11  
cstate=SyncTarget
Mar 14 12:55:33 ha2infra kernel: [ 2193.697724] block drbd0: BAD!  
sector=5770903504s enr=176113 rs_left=-1 rs_failed=0 count=11  
cstate=SyncTarget
Mar 14 12:55:33 ha2infra kernel: [ 2193.962302] block drbd0: BAD!  
sector=5770936304s enr=176114 rs_left=-5 rs_failed=0 count=11  
cstate=SyncTarget
Mar 14 12:55:34 ha2infra kernel: [ 2195.390969] block drbd0: BAD!  
sector=5770488712s enr=176101 rs_left=-1 rs_failed=0 count=1  
cstate=SyncTarget
Mar 14 12:55:34 ha2infra kernel: [ 2195.391019] block drbd0: BAD!  
sector=5770537912s enr=176102 rs_left=-1 rs_failed=0 count=1  
cstate=SyncTarget
Mar 14 12:55:34 ha2infra kernel: [ 2195.391036] block drbd0: BAD!  
sector=5770455912s enr=176100 rs_left=-1 rs_failed=0 count=1  
cstate=SyncTarget
Mar 14 12:55:34 ha2infra kernel: [ 2195.391396] block drbd0: BAD!  
sector=5770622976s enr=176105 rs_left=-1 rs_failed=0 count=1  
cstate=SyncTarget
Mar 14 12:55:34 ha2infra kernel: [ 2195.391409] block drbd0: BAD!  
sector=5770603512s enr=176104 rs_left=-1 rs_failed=0 count=1  
cstate=SyncTarget
Mar 14 12:55:34 ha2infra kernel: [ 2195.391541] block drbd0: BAD!  
sector=5770656872s enr=176106 rs_left=-1 rs_failed=0 count=1  
cstate=SyncTarget
Mar 14 12:55:34 ha2infra kernel: [ 2195.391559] block drbd0: BAD!  
sector=5770738872s enr=176108 rs_left=-1 rs_failed=0 count=1  
cstate=SyncTarget
Mar 14 12:56:06 ha2infra kernel: [ 2226.823202] block drbd0: Resync  
done (total 41 sec; paused 0 sec; 54600 K/sec)
Mar 14 12:56:06 ha2infra kernel: [ 2226.823215] block drbd0: updated  
UUIDs  
03E3FF4793F6557B:0000000000000000:1611C094A9949E31:1610C094A9949E31
Mar 14 12:56:06 ha2infra kernel: [ 2226.823226] block drbd0: conn(  
SyncTarget -> Connected ) disk( Inconsistent -> UpToDate )
Mar 14 12:56:06 ha2infra kernel: [ 2226.823776] block drbd0: helper  
command: /sbin/drbdadm after-resync-target minor-0
Mar 14 12:56:06 ha2infra kernel: [ 2226.826611] block drbd0: helper  
command: /sbin/drbdadm after-resync-target minor-0 exit code 0 (0x0)

Thank You for any help

Karl

-- 
Karl Rößmann				Tel. +49-711-689-1657
Max-Planck-Institut FKF       		Fax. +49-711-689-1632
Postfach 800 665
70506 Stuttgart				email K.Roessmann at fkf.mpg.de



More information about the drbd-user mailing list