tried the "drbdadm attach r0" command but I get:<br><br>Sep 10 17:38:45 virtfedbis kernel: block drbd0: disk( Diskless -> Attaching ) <br>Sep 10 17:38:45 virtfedbis kernel: block drbd0: Found 6 transactions (244 active extents) in activity log.<br>
Sep 10 17:38:45 virtfedbis kernel: block drbd0: Method to ensure write ordering: barrier<br>Sep 10 17:38:45 virtfedbis kernel: block drbd0: max_segment_size ( = BIO size ) = 32768<br>Sep 10 17:38:45 virtfedbis kernel: block drbd0: recounting of set bits took additional 2 jiffies<br>
Sep 10 17:38:45 virtfedbis kernel: block drbd0: 0 KB (0 bits) marked out-of-sync by on disk bit-map.<br>Sep 10 17:38:45 virtfedbis kernel: block drbd0: Marked additional 920 MB as out-of-sync based on AL.<br>Sep 10 17:38:45 virtfedbis kernel: end_request: I/O error, dev cciss/c0d0, sector 0<br>
Sep 10 17:38:45 virtfedbis kernel: block drbd0: meta data flush failed with status -95, disabling md-flushes<br>Sep 10 17:38:45 virtfedbis kernel: block drbd0: disk( Attaching -> Negotiating ) <br>Sep 10 17:38:45 virtfedbis kernel: block drbd0: drbd_sync_handshake:<br>
Sep 10 17:38:45 virtfedbis kernel: block drbd0: self FFEDAA5E725D8157:13925DF660B57F5D:0DB564243F5AA9A3:377245292BBD1112 bits:235520 flags:0<br>Sep 10 17:38:45 virtfedbis kernel: block drbd0: peer A0332E51B243BEE1:FFEDAA5E725D8157:13925DF660B57F5D:0DB564243F5AA9A3 bits:105320 flags:0<br>
Sep 10 17:38:45 virtfedbis kernel: block drbd0: uuid_compare()=-1 by rule 50<br>Sep 10 17:38:45 virtfedbis kernel: block drbd0: conn( Connected -> WFBitMapT ) disk( Negotiating -> Outdated ) <br>Sep 10 17:38:45 virtfedbis kernel: block drbd0: conn( WFBitMapT -> WFSyncUUID ) <br>
Sep 10 17:38:45 virtfedbis kernel: block drbd0: helper command: /sbin/drbdadm before-resync-target minor-0<br>Sep 10 17:38:45 virtfedbis kernel: block drbd0: helper command: /sbin/drbdadm before-resync-target minor-0 exit code 0 (0x0)<br>
Sep 10 17:38:45 virtfedbis kernel: block drbd0: conn( WFSyncUUID -> SyncTarget ) disk( Outdated -> Inconsistent ) <br>Sep 10 17:38:45 virtfedbis kernel: block drbd0: Began resync as SyncTarget (will sync 1363360 KB [340840 bits set]).<br>
Sep 10 17:38:48 virtfedbis kernel: block drbd0: Resync aborted.<br>Sep 10 17:38:48 virtfedbis kernel: block drbd0: conn( SyncTarget -> Connected ) disk( Inconsistent -> Failed ) <br>Sep 10 17:38:48 virtfedbis kernel: block drbd0: Local IO failed. Detaching...<br>
Sep 10 17:38:48 virtfedbis kernel: block drbd0: Can not write mirrored data block to local disk.<br>Sep 10 17:38:48 virtfedbis kernel: block drbd0: drbd_rs_complete_io() called, but extent not found<br>Sep 10 17:38:48 virtfedbis kernel: block drbd0: drbd_rs_complete_io() called, but extent not found<br>
Sep 10 17:38:48 virtfedbis kernel: block drbd0: drbd_rs_complete_io() called, but extent not found<br>Sep 10 17:38:48 virtfedbis kernel: block drbd0: Can not write mirrored data block to local disk.<br>Sep 10 17:38:48 virtfedbis kernel: block drbd0: drbd_rs_complete_io() called, but extent not found<br>
Sep 10 17:38:48 virtfedbis kernel: block drbd0: Can not write mirrored data block to local disk.<br>Sep 10 17:38:48 virtfedbis kernel: block drbd0: Can not write mirrored data block to local disk.<br>Sep 10 17:38:48 virtfedbis kernel: block drbd0: Can not write mirrored data block to local disk.<br>
Sep 10 17:38:48 virtfedbis kernel: block drbd0: drbd_rs_complete_io() called, but extent not found<br>Sep 10 17:38:48 virtfedbis kernel: block drbd0: drbd_rs_complete_io() called, but extent not found<br>Sep 10 17:38:48 virtfedbis kernel: block drbd0: drbd_rs_complete_io() called, but extent not found<br>
Sep 10 17:38:48 virtfedbis kernel: block drbd0: drbd_rs_complete_io() called, but extent not found<br>Sep 10 17:38:48 virtfedbis kernel: block drbd0: disk( Failed -> Diskless ) <br>Sep 10 17:38:48 virtfedbis kernel: block drbd0: Notified peer that my disk is broken.<br>
Sep 10 17:38:48 virtfedbis kernel: block drbd0: Can not write resync data to local disk.<br>Sep 10 17:38:48 virtfedbis kernel: block drbd0: Can not write resync data to local disk.<br>Sep 10 17:38:48 virtfedbis kernel: block drbd0: Can not write resync data to local disk.<br>
Sep 10 17:38:48 virtfedbis kernel: block drbd0: Can not write resync data to local disk.<br>Sep 10 17:38:48 virtfedbis kernel: block drbd0: Can not write resync data to local disk.<br><br>my r0 resource is /dev/cciss/c0d0p3<br>
A dd seems to get no problems (actually I interrupted after a while)<br>[root@virtfedbis ~]# time dd if=/dev/cciss/c0d0p3 of=/dev/null bs=1024k <br>^C4230+0 records in<br>4229+0 records out<br>4434427904 bytes (4.4 GB) copied, 44.5441 s, 99.6 MB/s<br>
<br><br>real 0m44.546s<br>user 0m0.003s<br>sys 0m4.575s<br><br>what exactly is the meaning of sector 0 in the line:<br>Sep 10 17:38:45 virtfedbis kernel: end_request: I/O error, dev cciss/c0d0, sector 0<br><br>Thanks in advance,<br>
Gianluca<br>