Buffer I/O Error in /var/log/messages

主机在启动或运行fdisk、vgscan等命令时出现针对SAN设备的Buffer I/O错误。这些错误通常在使用Linux原生多路径时显示,尤其是在主动/被动存储阵列如EMC Clarion系列中。错误源于SCSI中层在启动时扫描所有路径,包括被动路径,导致被动路径的I/O错误。虽然这是正常行为,但可以通过OS日志配置过滤或避免直接访问设备来处理。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

主机报错信息:



Buffer I/O errors occurring on SAN devices presented to Linux host using Linux native multipathing.
kernel: Buffer I/O error on device sdb, logical block 0
kernel: Buffer I/O error on device sdb, logical block 1
kernel: Buffer I/O error on device sdb, logical block 2
kernel: Buffer I/O error on device sdb, logical block 3



A server using a LUN, which is presented by a storage array through fabric channels, may show buffer I/O errors while the server is booting or commands such as fdisk and vgscan are being run. The access can be a read or write attempt. These messages are sometimes harmless. When using PowerPath, these errors are suppressed. However, in the case where Linux native multipathing is used, there is no automatic provision for filtering these messages.
The errors can occur when using an active/passive storage array, such as EMC Clarion series. These types of SANs contain two storage processors. LUNs are assigned to only one of the processors at the time of LUN creation. The LUN can receive I/O only via that one processor. The other processor is passive; it acts as a backup, ready to receive I/O if the active controller fails, or if all paths to the LUN via the active controller fails.
Paths to the LUN going via the passive controller are passive paths and will generate an I/O errors should I/O be sent over them. At bootup, the kernel's SCSI mid-layer scans all paths to find devices. Thus it will scan both active and passive paths and will generate buffer I/O errors for the passive paths.
This is a normal behavior for Linux native multipath, and the errors do not indicate an array issue. The errors can safely be filtered through the OS logging configuration or the user can avoid access to native devices (as opposed to using /dev/mapper devices). Alternatively, a qualified version of PowerPath may be installed, which will automatically filter these errors.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值