[DRBD-user] recovering from "Local IO failed. Detaching..."

Gianluca Cecchi gianluca.cecchi at gmail.com
Thu Sep 10 17:44:42 CEST 2009

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


tried the "drbdadm attach r0" command but I get:

Sep 10 17:38:45 virtfedbis kernel: block drbd0: disk( Diskless -> Attaching
)
Sep 10 17:38:45 virtfedbis kernel: block drbd0: Found 6 transactions (244
active extents) in activity log.
Sep 10 17:38:45 virtfedbis kernel: block drbd0: Method to ensure write
ordering: barrier
Sep 10 17:38:45 virtfedbis kernel: block drbd0: max_segment_size ( = BIO
size ) = 32768
Sep 10 17:38:45 virtfedbis kernel: block drbd0: recounting of set bits took
additional 2 jiffies
Sep 10 17:38:45 virtfedbis kernel: block drbd0: 0 KB (0 bits) marked
out-of-sync by on disk bit-map.
Sep 10 17:38:45 virtfedbis kernel: block drbd0: Marked additional 920 MB as
out-of-sync based on AL.
Sep 10 17:38:45 virtfedbis kernel: end_request: I/O error, dev cciss/c0d0,
sector 0
Sep 10 17:38:45 virtfedbis kernel: block drbd0: meta data flush failed with
status -95, disabling md-flushes
Sep 10 17:38:45 virtfedbis kernel: block drbd0: disk( Attaching ->
Negotiating )
Sep 10 17:38:45 virtfedbis kernel: block drbd0: drbd_sync_handshake:
Sep 10 17:38:45 virtfedbis kernel: block drbd0: self
FFEDAA5E725D8157:13925DF660B57F5D:0DB564243F5AA9A3:377245292BBD1112
bits:235520 flags:0
Sep 10 17:38:45 virtfedbis kernel: block drbd0: peer
A0332E51B243BEE1:FFEDAA5E725D8157:13925DF660B57F5D:0DB564243F5AA9A3
bits:105320 flags:0
Sep 10 17:38:45 virtfedbis kernel: block drbd0: uuid_compare()=-1 by rule 50
Sep 10 17:38:45 virtfedbis kernel: block drbd0: conn( Connected -> WFBitMapT
) disk( Negotiating -> Outdated )
Sep 10 17:38:45 virtfedbis kernel: block drbd0: conn( WFBitMapT ->
WFSyncUUID )
Sep 10 17:38:45 virtfedbis kernel: block drbd0: helper command:
/sbin/drbdadm before-resync-target minor-0
Sep 10 17:38:45 virtfedbis kernel: block drbd0: helper command:
/sbin/drbdadm before-resync-target minor-0 exit code 0 (0x0)
Sep 10 17:38:45 virtfedbis kernel: block drbd0: conn( WFSyncUUID ->
SyncTarget ) disk( Outdated -> Inconsistent )
Sep 10 17:38:45 virtfedbis kernel: block drbd0: Began resync as SyncTarget
(will sync 1363360 KB [340840 bits set]).
Sep 10 17:38:48 virtfedbis kernel: block drbd0: Resync aborted.
Sep 10 17:38:48 virtfedbis kernel: block drbd0: conn( SyncTarget ->
Connected ) disk( Inconsistent -> Failed )
Sep 10 17:38:48 virtfedbis kernel: block drbd0: Local IO failed.
Detaching...
Sep 10 17:38:48 virtfedbis kernel: block drbd0: Can not write mirrored data
block to local disk.
Sep 10 17:38:48 virtfedbis kernel: block drbd0: drbd_rs_complete_io()
called, but extent not found
Sep 10 17:38:48 virtfedbis kernel: block drbd0: drbd_rs_complete_io()
called, but extent not found
Sep 10 17:38:48 virtfedbis kernel: block drbd0: drbd_rs_complete_io()
called, but extent not found
Sep 10 17:38:48 virtfedbis kernel: block drbd0: Can not write mirrored data
block to local disk.
Sep 10 17:38:48 virtfedbis kernel: block drbd0: drbd_rs_complete_io()
called, but extent not found
Sep 10 17:38:48 virtfedbis kernel: block drbd0: Can not write mirrored data
block to local disk.
Sep 10 17:38:48 virtfedbis kernel: block drbd0: Can not write mirrored data
block to local disk.
Sep 10 17:38:48 virtfedbis kernel: block drbd0: Can not write mirrored data
block to local disk.
Sep 10 17:38:48 virtfedbis kernel: block drbd0: drbd_rs_complete_io()
called, but extent not found
Sep 10 17:38:48 virtfedbis kernel: block drbd0: drbd_rs_complete_io()
called, but extent not found
Sep 10 17:38:48 virtfedbis kernel: block drbd0: drbd_rs_complete_io()
called, but extent not found
Sep 10 17:38:48 virtfedbis kernel: block drbd0: drbd_rs_complete_io()
called, but extent not found
Sep 10 17:38:48 virtfedbis kernel: block drbd0: disk( Failed -> Diskless )
Sep 10 17:38:48 virtfedbis kernel: block drbd0: Notified peer that my disk
is broken.
Sep 10 17:38:48 virtfedbis kernel: block drbd0: Can not write resync data to
local disk.
Sep 10 17:38:48 virtfedbis kernel: block drbd0: Can not write resync data to
local disk.
Sep 10 17:38:48 virtfedbis kernel: block drbd0: Can not write resync data to
local disk.
Sep 10 17:38:48 virtfedbis kernel: block drbd0: Can not write resync data to
local disk.
Sep 10 17:38:48 virtfedbis kernel: block drbd0: Can not write resync data to
local disk.

my r0 resource is /dev/cciss/c0d0p3
A dd seems to get no problems (actually I interrupted after a while)
[root at virtfedbis ~]# time dd if=/dev/cciss/c0d0p3 of=/dev/null bs=1024k
^C4230+0 records in
4229+0 records out
4434427904 bytes (4.4 GB) copied, 44.5441 s, 99.6 MB/s


real    0m44.546s
user    0m0.003s
sys    0m4.575s

what exactly is the meaning of sector 0 in the line:
Sep 10 17:38:45 virtfedbis kernel: end_request: I/O error, dev cciss/c0d0,
sector 0

Thanks in advance,
Gianluca
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20090910/db66b0d2/attachment.htm>


More information about the drbd-user mailing list