[DRBD-user] DRBD error -5 - I/O Error

Ítalo Rossi adm.italo at digi.com.br
Fri Jan 4 22:07:52 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.


Hello all,

I have two servers with drbd0.7.24 with LVM and XFS filesystem.

My Storages:


Server 1( Red Hat 4)                           		Server 2( Debian Etch)
         | 										|
	|										|
    DRBD   -   -   -   -  -   - > -   -  - -   -   -   -   -   -   -   
DRBD
         |										|
         |										|
      LVM2 (3.2T) 					   		   RAID0 (3.2T)   --> MD1000 (1 HBA)
          |
          |
          |
       /    \
     /        \				__
   /       RAID0(1.6T)           |
  |					    | -> MD3000(2 HBAs)
RAID0(1.6T)		       __|

So, if the Server 1 become primary  I have this messages on dmesg (on- 
io-error = "pass_on"):

mptbase: ioc0: LogInfo(0x31170000): Originator={PL}, Code=(0x17),  
SubCode(0x0000)
mptbase: ioc0: LogInfo(0x31170000): Originator={PL}, Code=(0x17),  
SubCode(0x0000)
mptbase: ioc0: LogInfo(0x31170000): Originator={PL}, Code=(0x17),  
SubCode(0x0000)
SCSI error : <0 0 21 1> return code = 0x20008
end_request: I/O error, dev sdb, sector 2942884192
drbd1: Ignoring local IO error!
SCSI error : <0 0 21 0> return code = 0x20008
end_request: I/O error, dev sda, sector 218983440
drbd1: error = -5 in /usr/local/.pacotes/drbd-0.7.24/drbd/ 
drbd_worker.c:289
drbd1: Ignoring local IO error!
SCSI error : <0 0 21 0> return code = 0x20008
end_request: I/O error, dev sda, sector 3500169241
drbd1: error = -5 in /usr/local/.pacotes/drbd-0.7.24/drbd/ 
drbd_worker.c:289

I need to umount the drbd, run xfs_repair and remount, this solves my  
problem but in 1 week it brokes again..

So, trying to solve this issue, I set the Server 2 in primary state ad  
Server 1 secondary and I'm still getting this errors on Server 1  
dmesg, but my application still running without problems:

mptbase: ioc0: LogInfo(0x31170000): Originator={PL}, Code=(0x17),  
SubCode(0x0000)
mptbase: ioc0: LogInfo(0x31170000): Originator={PL}, Code=(0x17),  
SubCode(0x0000)
mptbase: ioc0: LogInfo(0x31170000): Originator={PL}, Code=(0x17),  
SubCode(0x0000)
mptbase: ioc0: LogInfo(0x31170000): Originator={PL}, Code=(0x17),  
SubCode(0x0000)
mptscsih: ioc0: attempting task abort! (sc=000001001d15fb80)
scsi0 : destination target 21, lun 1
         command = Write (10) 00 26 94 ac f8 00 00 08 00
mptbase: ioc0: LogInfo(0x31130000): Originator={PL}, Code={IO Not Yet  
Executed}, SubCode(0x0000)
mptscsih: ioc0: task abort: SUCCESS (sc=000001001d15fb80)

Is this a DRBD, LVM2 or MD3000 (modules or cable) issue?

I think this issue is related with LVM + XFS or SCSI devices... is  
this the better way to combine them? Any suggestions?

RAID0(1.6T) + RAID0(1.6T) with two drbd devices and LVM on top of that  
makes any difference? What's the better way?

# modinfo mptbase
filename:       /lib/modules/2.6.9-55.ELsmp/kernel/drivers/message/ 
fusion/mptbase.ko
parm:           mpt_msi_enable: MSI Support Enable (default=0)
parm:           mpt_chain_alloc_percent: SG Chain buffer allocation  
percent (default=100)
parm:           mpt_reply_depth: Max reply buffers per controller  
(default=128)
parm:           mpt_sg_tablesize: Max SG count per IO (default=40)
parm:           mpt_can_queue: Max IO depth per controller (default=128)
version:        3.02.83.12 3B0D621E4416978AF7BD7E2
license:        GPL
description:    Fusion MPT base driver
author:         LSI Logic Corporation
depends:
vermagic:       2.6.9-55.ELsmp SMP gcc-3.4


Thank's in advance guys!!


--
Ítalo Rossi
Administração de redes
Diginet Brasil
adm.italo at digi.com.br
(+55) 84 4008-9000


Esta mensagem, incluindo seus anexos, pode conter informação  
confidencial e/ou
privilegiada. Se você não for o destinatário ou a pessoa autorizada a  
receber
esta mensagem, não pode usar, copiar ou divulgar as informações nela
contidas ou tomar qualquer ação baseada nessas informações. Se você
recebeu esta mensagem por engano, por favor avise imediatamente o
remetente, respondendo o e-mail e em seguida apague-o. Agradecemos sua
cooperação.

This message, including its attachments, may contain confidential and/or
privileged information. If you are not the recipient or authorized  
person to
receive this message, you must not use, copy, disclose or take any  
action based
on this message or any information herein. If you received this message
by mistake, please advise the sender immediately by replying the e- 
mail and
deleting this message. Thank you for your cooperation.







More information about the drbd-user mailing list