Linux Buffer I/O error on device dm-4, logical block,dm-4logical

Linux服务器日志(Oracle Linux Server release 5.7)里面出现了一些"Buffer I/O error on device dm-4, logical block 0"之类的错误,如下所示:

Jul 3 02:33:24 localhost kernel: Buffer I/O error on device dm-4, logical block 0

Jul 3 02:33:24 localhost kernel: Buffer I/O error on device dm-4, logical block 1

Jul 3 02:33:24 localhost kernel: Buffer I/O error on device dm-4, logical block 2

Jul 3 02:33:24 localhost kernel: Buffer I/O error on device dm-4, logical block 3

Jul 3 02:33:24 localhost kernel: Buffer I/O error on device dm-4, logical block 0

Jul 3 02:33:24 localhost kernel: Buffer I/O error on device dm-4, logical block 0

Jul 3 02:33:24 localhost kernel: Buffer I/O error on device dm-4, logical block 1

Jul 3 02:33:24 localhost kernel: Buffer I/O error on device dm-4, logical block 2

Jul 3 02:33:24 localhost kernel: Buffer I/O error on device dm-4, logical block 3

在这篇"Buffer I/O Error in /var/log/messages"博客里面的英文介绍:

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.

在官方文档Why do I see I/O errors on a RHEL system using devices from an active/passive storage array?亦有介绍。

· Storage arrays in a SAN are generally implemented in a redundant manner such that the host can access logical units (LUN) on one of many different paths. Typically, these operate in one of two different modes: active/active or active/passive. With active/active network, the I/O can be sent to any path of a LUN and it will be handled by the controller. With active/passive arrays, a controller is considered the main for each LUN, while the other controller is waiting and acts as a backup plan. Some windows will accept I/O to a LUN on the backup controller (passive) but this will not be optimized (worst performance). However, other active/passive arrays will not accept I/O to the backup controller for a LUN, so all commands sent to it will result in an I/O error.

· In RHEL, there are a number of commands and utilities that can send I/O to various devices, such as LVM, udev, fdisk, etc., not to mention applications such as databases, web servers, etc.Si one of them had to issue I/O to a passive way on a bay that does not accept it, it will cause an error I/O in newspapers .The messages are harmless and do not indicate a problem, but they can fill newspapers or become unduly concern .Therefore, some may want to try to avoid these errors by preventing applications from accessing passive paths. Typically, filtering from LVM will disappear the majority of these erreurs.Aussi to reduce the number of errors, avoid commands like 'fdisk -l' that scan all devices. Finally, the configuration of the applications that scan or accesses multiple devices so that only accesses the appropriate active path or multipath logical device (/dev/mapper/mpath *, /dev/emcpower *, /dev/ * sddlma etc. ) can reduce the number of errors.

看来这个错误信息是可以忽略的(harmless)。并不是存储出现了什么问题。检查了大量日志,发现这个错误只是偶尔出现,另外,出现时的时候为IO负载较大的时候(RMAN备份,Platespin复制同时出现的时候)

参考资料:

http://blog.csdn.net/kinges/article/details/40425841

https://access.redhat.com/solutions/18746

http://www.dengb.com/Linuxjc/1145360.htmlwww.dengb.comtruehttp://www.dengb.com/Linuxjc/1145360.htmlTechArticleLinux Buffer I/O error on device dm-4, logical block,dm-4logical Linux服务器日志(Oracle Linux Server release 5.7)里面出现了一些"Buffer I/O error on device dm-4, l...

linux buffer io error,Linux Buffer I/O error on device dm-4, logical block,dm-4logical相关推荐

  1. linux系统io错误,linux系统IO操作

    本文重点说明下面内容: 什么是标准IO,什么是文件IO? 什么是Direct IO? O_SYNC标识有什么意义? 各个层面的缓存如何同步? 还在page cache中的脏页可以读写吗? IO路径上的 ...

  2. linux关闭io统计,linux 统计每个进程所占用的io数

    linux 统计每个进程所占用的io数 (2012-06-29 19:44:49) 标签: it 在新版本的内核,可以用iotop来实时的看到io的情况.但是在老版本的内核没有此工具,怎么办呢从网上搜 ...

  3. linux oracle io 查看,Linux上Oracle是否使用异步io的诊断

    客户的数据库IO负载较重,检查后发现并未设置异步IO. 整个数据库的负载都集中在IO相关的等待上: Top 5 Timed Foreground Events Event Waits Time(s) ...

  4. linux系统io编程,Linux系统编程(1) —— 文件IO

    本文主要对Linux系统中文件I/O的基本操作进行说明. 在Linux系统编程中,对文件进行处理的流程,通常是: 打开文件 读写文件 关闭文件 Linux内核对每一个进程维护一个打开的文件列表, 该文 ...

  5. Linux系统IO端口,Linux系统对IO端口和IO内存的管理

    五.Linux下访问IO端口 对于某一既定的系统,它要么是独立编址.要么是统一编址,具体采用哪一种则取决于CPU的体系结构. 如,PowerPC.m68k等采用统一编址,而X86等则采用独立编址,存在 ...

  6. linux标准IO实验,Linux系统编程(第三篇) 标准IO.pdf

    第三章:标准I/O 目标: 本章旨在向学员介绍Linux系统 时间:3 学时 I/O相关函数的使用: 1)掌握I/O相关函数的特点及使 教学方法:讲授PPT 用方法 2 )了解I/O与系统调用相关的函 ...

  7. linux各种io模型,Linux五种IO模型

    Linux SendMail服务启动慢总结 在 CentOS release 6.6 上启动sendmail服务时发现服务启动过程非常慢,基本上要耗费3分多钟.有点纳闷:什么原因导致sendmail启 ...

  8. linux 网络io 监控,Linux教程:Linux性能监控-NetworkIO

    Network IO 对于UDP 良好状态指标 接收.发送缓冲区没有长时间等待处理的网络包. 监控工具 netstat 对于UDP服务,查看所有监听的UDP端口的网络情况 $ watch netsta ...

  9. 漫谈linux文件io,Linux文件IO与通用块层的请求合并

    本文参考https://mp.weixin.qq.com/s/Imt4BW-zoHPpcOpcKZs_AQ, 公众号"Linux阅码场" 请求合并就是将进程内或者进程间产生的在物理 ...

最新文章

  1. Python字典理解
  2. 机器学习:正负样本数据量不平衡处理方法
  3. DispatcherCore ,一个WPF异步操作常用功能库
  4. 扩展mysql_扩展mysql - 手把手教你写udf
  5. Nginx 实战(一) 集群环境搭建
  6. android 多态如何组件化,Android组件化之子模块之间通信方案
  7. 装NOILinux的奇妙经历
  8. Windows API 进程状态信息函数
  9. 15. 深入解析Pod对象(二):使用进阶
  10. 风云2号卫星云图_中国为什么要发这么多卫星?答案没有出乎意料
  11. 2020 ECCV 所有论文及补充材料链接(一)
  12. 路由器、交换机、网关
  13. 译: 进化的系统需要进化的系统工程
  14. mysql1526_MySQL数据库插入数据出现 ERROR 1526 (HY000): Table has no partition for value xxx
  15. kaldi - Online Audio Server(服务器客户端建立方法-旧版在线解码)
  16. php 跳转邮箱,JS点击跳转登陆邮箱功能简单的实现方法
  17. UVA - 10118 Free Candies 记忆化搜索
  18. 地图的出图设置和经纬网的调整(基础篇)
  19. R语言解读自回归模型
  20. python实现累乘multi函数(函数参数不限)

热门文章

  1. Blender图解教程:设置参考图
  2. 智能制造系统架构和标准体系结构
  3. 7.PostgreSQL操作语句
  4. 灰色预测之GM(1,1),教你快速上手数学建模!
  5. 由siri谈苹果公司的发展
  6. 十一、决策树和随机森林
  7. 最好的 8 个免费和开源网络映​​射软件
  8. IE浏览DWG的CAD插件
  9. 沉没的泰坦尼克号的幸存者数据分析
  10. 解决中端投资痛点,“轻中端”能否抢占投资价值高地?