Chinaunix

标题: Linux报错SCSI error : <2 0 1 0> return code = 0x20000 [打印本页]

作者: hobby2273    时间: 2007-08-31 10:33
标题: Linux报错SCSI error : <2 0 1 0> return code = 0x20000
Linux报错SCSI error : <2 0 1 0> return code = 0x20000
前段时间新装了一台Red Hat Linux AS4 U4的Oracle server,最近发现一直报错:
SCSI error : <2 0 1 0> return code = 0x20000
end_request: I/O error, dev sde, sector 241337263
end_request: I/O error, dev sde, sector 241337271
系统原来用的是Windows,最近才转到linux下,采用SAN架构,连接的是EMC CX300的存储。

查了一下,Linux官方的解释如下:

Article Reference
Article ID: 9001
Last update: 09-18-06 Issue:
I am seeing many SCSI errors with return code 0x20000 in my logs. This is causing DM/MPIO to fail and can even crash the system. What does this mean and how do I fix it?Resolution:Release Found:Red Hat Enterprise Linux 4 Update 2 or later

This is an example of the error code referenced in this article:

SCSI error : <3 0 0 6> return code = 0x20000
end_request: I/O error, dev sdg, sector 2879This error is caused by a reset on the fiber channel switch. This causes the multipath agent to become confused. There is a simple kernel module option that can be used to stop the multipath agent from becoming confused. To add this option edit the /etc/modprobe.conf and add the following line:

options qla2xxx ql2xprocessrscn=1Note: If a line that begins with options qla2xxx already exists in the modprobe.conf file, then simply append ql2xprocessrscn=1 to the end of the line

Once the file has been saved, regenerate the initial ram disk image file:

mkinitrd -f /boot/initrd-`uname -r`.img `uname -r`After the initrd is rebuilt, reboot the system for the changes to take effect. The Qlogic HBA card should not throw errors after a reset from the switch. This causes DM MPIO to remain stable and has no negative effect on perfomance.


请问是不是只要这样做一下就可以了啊?会不会有什么其他的问题发生,linux不是很熟,不敢乱动,公司又没有专门的OS 管理员,郁闷。
请各位大侠指教一下。。。。




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2