iSCSI Login negotiation failed. lost page write due to I/O error on 盘变成read only

简介: iscsi mount的盘的突然变成read only,在系统日志messages中有下面的记录

iscsi mount的盘的突然变成read only,在系统日志messages中有下面的记录:


Jun 11 22:05:31 oracle11grestore kernel: Buffer I/O error on device sdd1, logical block 169593217
Jun 11 22:05:31 oracle11grestore kernel: lost page write due to I/O error on sdd1
Jun 11 22:05:31 oracle11grestore kernel: sd 36:0:0:1: [sdd]  Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
Jun 11 22:05:31 oracle11grestore kernel: sd 36:0:0:1: [sdd]  Sense Key : Not Ready [current] [descriptor]
Jun 11 22:05:31 oracle11grestore kernel: sd 36:0:0:1: [sdd]  Add. Sense: Logical unit communication failure
Jun 11 22:05:31 oracle11grestore kernel: sd 36:0:0:1: [sdd] CDB: Write(10): 2a 00 4e 70 f9 90 00 00 20 00
Jun 11 22:05:31 oracle11grestore kernel: end_request: I/O error, dev sdd, sector 1316026768
Jun 11 22:05:31 oracle11grestore kernel: Buffer I/O error on device sdd1, logical block 164503090
Jun 11 22:05:31 oracle11grestore kernel: lost page write due to I/O error on sdd1
Jun 11 22:05:31 oracle11grestore kernel: Buffer I/O error on device sdd1, logical block 164503091
Jun 11 22:05:31 oracle11grestore kernel: lost page write due to I/O error on sdd1
Jun 11 22:05:31 oracle11grestore kernel: Buffer I/O error on device sdd1, logical block 164503092
Jun 11 22:05:31 oracle11grestore kernel: lost page write due to I/O error on sdd1
Jun 11 22:05:31 oracle11grestore kernel: Buffer I/O error on device sdd1, logical block 164503093
Jun 11 22:05:31 oracle11grestore kernel: lost page write due to I/O error on sdd1
Jun 11 22:05:31 oracle11grestore kernel: sd 36:0:0:1: [sdd]  Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
Jun 11 22:05:31 oracle11grestore kernel: sd 36:0:0:1: [sdd]  Sense Key : Not Ready [current] [descriptor]
Jun 11 22:05:31 oracle11grestore kernel: sd 36:0:0:1: [sdd]  Add. Sense: Logical unit communication failure
Jun 11 22:05:31 oracle11grestore kernel: sd 36:0:0:1: [sdd] CDB: Write(10): 2a 00 56 fa db e0 00 00 10 00
Jun 11 22:05:31 oracle11grestore kernel: end_request: I/O error, dev sdd, sector 1459280864


syslog中有

Jun 11 22:05:58 INFOSEMPER1 kernel: [26052423.897566] Unable to locate Target IQN: iqn.2019-02.com.scutech:555cb1 in Storage Node
Jun 11 22:05:58 INFOSEMPER1 kernel: [26052423.903214] iSCSI Login negotiation failed.
Jun 11 22:05:58 INFOSEMPER1 kernel: [26052423.908367] iSCSI Initiator Node: iqn.1994-05.com.redhat:1df102341c1 is not authorized to access iSCSI target portal group: 1.
Jun 11 22:05:58 INFOSEMPER1 kernel: [26052423.918930] iSCSI Login negotiation failed.


经过分析,可能是网络问题,造成挂载盘的IO错误。

红帽文档介绍REPLACEMENT_TIMEOUT https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/5/html/online_storage_reconfiguration_guide/iscsi-replacements_timeout 里面提到默认是120秒,客户是万兆网长期挂载,计划建议增加到86400秒,也就是一天。

相关文章
|
缓存 Linux 开发工具
CentOS 7- 配置阿里镜像源
阿里镜像官方地址http://mirrors.aliyun.com/ 1、点击官方提供的相应系统的帮助 :2、查看不同版本的系统操作: 下载源1、安装wget yum install -y wget2、下载CentOS 7的repo文件wget -O /etc/yum.
257703 0
|
存储 固态存储 API
|
11月前
|
消息中间件 分布式计算 大数据
数据为王:大数据处理与分析技术在企业决策中的力量
【10月更文挑战第29天】在信息爆炸的时代,大数据处理与分析技术为企业提供了前所未有的洞察力和决策支持。本文探讨了大数据技术在企业决策中的重要性和实际应用,包括数据的力量、实时分析、数据驱动的决策以及数据安全与隐私保护。通过这些技术,企业能够从海量数据中提取有价值的信息,预测市场趋势,优化业务流程,从而在竞争中占据优势。
590 2
|
芯片
【TI速成】半小时入门MSPM0G3507简明教程之按键定时器(二)
半小时入门MSPM0G3507简明教程之按键定时器
1179 0
|
存储 网络协议 Linux
Linux 多种方式实现文件共享(四)iSCSI 磁盘共享服务 7
【8月更文挑战第7天】iSCSI技术是一种新储存技术, iSCSI 提供了在 IP 网络封装 SCSI 命令,且以TCP/IP协议传输.
345 5
|
存储 缓存 Unix
|
存储 关系型数据库 MySQL
MySQL数据库——存储过程-if条件判断、参数、case(介绍、用法、案例)
MySQL数据库——存储过程-if条件判断、参数、case(介绍、用法、案例)
993 0
|
机器学习/深度学习 算法 PyTorch
实战图像softmax分类模型
本文是学习softmax图像分类模型的总结,主要分享softmax图像分类模型的技术原理,以及用代码实现验证,供大家参考。
512 3
|
Docker 容器
docker 设置国内镜像源
docker 设置国内镜像源
87414 1
|
XML Java 应用服务中间件
spring和maven(profile)的多环境部署
spring和maven(profile)的多环境部署
200 0