oracle io lost,磁盘IO故障

测试工作正在如火如荼的进行,突然数据库就连接不上了。我连接上主机发现数据库alert_sid日志中有如下信息:

KCF: write/open error block=0x9a6 online=1

file=2 /oracle_data1/UNDOTBS3.dbf

error=27072 txt: 'Linux Error: 5: Input/output error

Additional information: 2469'

Thu Dec  4 12:56:39 2008

Errors in file /opt/ora9/admin/tax/bdump/orcl_dbw0_9605.trc:

ORA-01242: data file suffered media failure: database in NOARCHIVELOG mode

ORA-01114: IO error writing block to file 2 (block # 2470)

ORA-01110: data file 2: '/oracle_data1/UNDOTBS3.dbf'

ORA-27072: skgfdisp: I/O error

Linux Error: 5: Input/output error

Additional information: 2469

DBW0: terminating instance due to error 1242

Instance terminated by DBW0, pid = 9605

数据库已经down了。初步看是因为磁盘的IO错误。看看主机的日志吧。/var/log/message

Dec  4 12:52:10 tax smartd[2924]: Device: /dev/sdb, 2 Currently unreadable (pending) sectors

Dec  4 12:52:10 tax smartd[2924]: Device: /dev/sdb, 2 Offline uncorrectable sectors

Dec  4 12:56:39 tax kernel: ata1: command 0xca timeout, stat 0xd0 host_stat 0x61

Dec  4 12:56:39 tax kernel: ata1: translated ATA stat/err 0xd0/00 to SCSI SK/ASC/ASCQ 0xb/47/00

Dec  4 12:56:39 tax kernel: ata1: status=0xd0 { Busy }

Dec  4 12:56:39 tax kernel: SCSI error : <0 0 1 0> return code = 0x8000002

Dec  4 12:56:39 tax kernel: Info fld=0x5b4b38b, Current sdb: sense key Aborted Command

Dec  4 12:56:39 tax kernel: Additional sense: Scsi parity error

Dec  4 12:56:39 tax kernel: end_request: I/O error, dev sdb, sector 95728523

Dec  4 12:56:39 tax kernel: Buffer I/O error on device sdb6, logical block 1483645

Dec  4 12:56:39 tax kernel: lost page write due to I/O error on sdb6

Dec  4 12:56:39 tax kernel: Aborting journal on device sdb6.

Dec  4 12:56:39 tax kernel: ext3_abort called.

Dec  4 12:56:39 tax kernel: EXT3-fs error (device sdb6): ext3_journal_start_sb: Detected aborted journal

Dec  4 12:56:39 tax kernel: Remounting filesystem read-only

Dec  4 12:57:09 tax kernel: ata1: command 0xca timeout, stat 0xd0 host_stat 0x61

Dec  4 12:57:09 tax kernel: ata1: translated ATA stat/err 0xd0/00 to SCSI SK/ASC/ASCQ 0xb/47/00

Dec  4 12:57:09 tax kernel: ata1: status=0xd0 { Busy }

Dec  4 12:57:09 tax kernel: SCSI error : <0 0 1 0> return code = 0x8000002

Dec  4 12:57:09 tax kernel: Info fld=0x5b4b38b, Current sdb: sense key Aborted Command

Dec  4 12:57:09 tax kernel: Additional sense: Scsi parity error

Dec  4 12:57:09 tax kernel: end_request: I/O error, dev sdb, sector 41934794

Dec  4 12:57:09 tax kernel: Buffer I/O error on device sdb3, logical block 643

Dec  4 12:57:09 tax kernel: lost page write due to I/O error on sdb3

Dec  4 12:57:44 tax kernel: ata1: command 0xca timeout, stat 0xd0 host_stat 0x61

Dec  4 12:57:44 tax kernel: ata1: translated ATA stat/err 0xd0/00 to SCSI SK/ASC/ASCQ 0xb/47/00

Dec  4 12:57:44 tax kernel: ata1: status=0xd0 { Busy }

Dec  4 12:57:44 tax kernel: SCSI error : <0 0 1 0> return code = 0x8000002

Dec  4 12:57:44 tax kernel: Info fld=0x5b4b38b, Current sdb: sense key Aborted Command

Dec  4 12:57:44 tax kernel: Additional sense: Scsi parity error

Dec  4 12:57:44 tax kernel: end_request: I/O error, dev sdb, sector 83864507

Dec  4 12:57:44 tax kernel: Buffer I/O error on device sdb6, logical block 643

Dec  4 12:57:44 tax kernel: lost page write due to I/O error on sdb6

Dec  4 12:57:44 tax sshd(pam_unix)[11222]: session opened for user oracle by (uid=0)

Dec  4 12:58:03 tax sshd(pam_unix)[11276]: session opened for user oracle by (uid=0)

Dec  4 12:59:25 tax kernel: ata1: command 0xc8 timeout, stat 0xd0 host_stat 0x61

Dec  4 12:59:25 tax kernel: ata1: translated ATA stat/err 0xd0/00 to SCSI SK/ASC/ASCQ 0xb/47/00

Dec  4 12:59:25 tax kernel: ata1: status=0xd0 { Busy }

Dec  4 12:59:25 tax kernel: SCSI error : <0 0 1 0> return code = 0x8000002

Dec  4 12:59:25 tax kernel: Info fld=0x5b4b38b, Current sdb: sense key Aborted Command

Dec  4 12:59:25 tax kernel: Additional sense: Scsi parity error

Dec  4 12:59:25 tax kernel: end_request: I/O error, dev sdb, sector 41934794

Dec  4 12:59:25 tax kernel: EXT3-fs error (device sdb3): ext3_get_inode_loc: unable to read inode block - inode=12, block=643

Dec  4 12:59:25 tax kernel: Aborting journal on device sdb3.

Dec  4 12:59:55 tax kernel: ata1: command 0xca timeout, stat 0xd0 host_stat 0x61

Dec  4 12:59:55 tax kernel: ata1: translated ATA stat/err 0xd0/00 to SCSI SK/ASC/ASCQ 0xb/47/00

Dec  4 12:59:55 tax kernel: ata1: status=0xd0 { Busy }

操作系统后台出现严重的IO错误。

但是当进入到某一个分区后,竟然无法创建文件,报错误为只读的文件系统。

[oracle@tax oracle_data2]$ touch aa

touch: cannot touch `aa': Read-only file system

操作系统加载的磁盘方式为rw,全部为读写的方式加载的。

oracle_data1]# mount

/dev/sda5 on / type ext3 (rw)

none on /proc type proc (rw)

none on /sys type sysfs (rw)

none on /dev/pts type devpts (rw,gid=5,mode=620)

usbfs on /proc/bus/usb type usbfs (rw)

/dev/sda1 on /boot type ext3 (rw)

none on /dev/shm type tmpfs (rw)

/dev/sda9 on /opt type ext2 (rw)

/dev/sdb6 on /oracle_data1 type ext3 (rw)

/dev/sdb5 on /oracle_data2 type ext3 (rw)

/dev/sdb3 on /oracle_data3 type ext3 (rw)

/dev/sdb2 on /oracle_data4 type ext3 (rw)

/dev/sdb1 on /oracle_data5 type ext3 (rw)

/dev/sda8 on /oracle_index type ext3 (rw)

/dev/sda7 on /oracle_iot type ext3 (rw)

/dev/sda6 on /oracle_tmp type ext3 (rw)

none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)

sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)

You have new mail in /var/spool/mail/root

既然是文件系统有问题,那么就修复文件系统吧。使用单用户模式进入系统,单用户就是在系统启动的时候启动项加入single选项。

然后使用fsck修故操作系统,修复完毕后,进入系统正常,因为数据库是自动启动的,只能启动都mount状态,说数据库文件需要恢复,于是recover database,修复完成。直接打开数据库了。

最近怎么磁盘总是出现问题呢?

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/news/275573.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

易思汇完成近亿元B轮融资,信中利投资

3月19日消息&#xff0c;近日&#xff0c;留学生在线付费平台易思汇宣布已在3月份完成由信中利投资的近亿元B轮融资。 易思汇联合创始人高宇同表示&#xff0c;本轮融资将主要用于留学生信用卡、留学家庭金融商城等新产品布局&#xff0c;以及扩大团队和市场投入。 易思汇成立…

远程连接 错误 内部错误_关于错误的性质和原因。 了解错误因素

远程连接 错误 内部错误Back in 2012, I was a young[er] product designer working in a small tech agency in Valencia, Spain. In parallel, I worked as a freelancer on several side projects for different clients. One day I was contacted by a new health services…

得到鹅厂最新前端开发手册一份

又逢金九银十&#xff0c;拿到大厂offer一直是程序员朋友的目标&#xff0c;但是去大厂就得拿出实力来。除了需要积累技术&#xff0c;了解并掌握面试的技巧&#xff0c;熟悉大厂面试流程&#xff0c;也必不可少。这里分享一份最新入职腾讯的前端社招面经&#xff0c;来看看鹅厂…

性能测试分析之带宽瓶颈的疑惑

第一部分&#xff0c; 测试执行 先看一图&#xff0c;再看下文 这个当然就是压力过程中带宽的使用率了&#xff0c;我们的带宽是1Gbps的&#xff0c;合计传输速率为128MB/s&#xff0c;也正因为这个就让我越来越疑惑了&#xff0c;不过通过压力过程中的各项数据我又不得不相信。…

Android 中的LayoutInflater的理解

LayoutInflater与findViewById的区别&#xff1f; 对于一个已经载入的界面&#xff0c;就可以使用findViewById()方法来获得其中的界面元素。对于一个没有被载入或者想要动态载入的界面&#xff0c;就需要使用LayoutInflater对象的inflate()方法来载入。findViewById()是查找已…

linux rootfs编译进内核,九鼎x6818开发板笔记:uboot、kernel、rootfs编译和烧写

下面记录了如何搭建嵌入开发环境&#xff0c;如何编译uboot、kernel、和文件系统&#xff0c;如何烧写镜像以及如何配置uboot环境变量。阅读注意&#xff1a;记录中(Base框中的内容)一些操作故意被添加&#xff0c;为了展示文件内容&#xff0c;故意调用cat(Ubuntu)或者type(wi…

figma下载_素描vs Figma困境

figma下载I distinctly remember how much hatred I had in my heart when I lived through my first UI update. The year was 2009; I had just gotten my braces off and I was ready to smash that ‘Like’ button on my high school crush’s status when I logged into …

祝大家七夕快乐,邀你源码共读,顺带发点红包

大家好&#xff0c;我是若川。这是一个普通的周六。只不过又叫七夕节&#xff0c;祝大家七夕节快乐~所以就不更新技术文了。估计还是有很多读者不知道我。若川名字由来是取自&#xff1a;上善若水&#xff0c;海纳百川。顺便放两篇文章。我读源码的经历&#xff0c;跟各位读者朋…

windows 系统监视器 以及建议阀值

windows 系统监视器 以及建议阀值 计数器的说明可以在添加计数器那边 资源 对象\计数器建议的阈值注释磁盘Physical Disk\% Free SpaceLogical Disk\% Free Space15%磁盘Physical Disk\% Disk Time Logical Disk\% Disk Time90%磁盘Physical Disk\Disk Reads/sec、Physical Dis…

前端人员如何在linux服务器上搭建npm私有库

为什么要搭建npm私有库&#xff1f; 为了方便下载时&#xff0c;公共包走npmjs,私有包走内部服务器。npm包下载的速度较慢&#xff0c;搭建npm私有库之后&#xff0c;会先操作私有库中是否有缓存&#xff0c;有缓存直接走缓存&#xff0c;而不用重新再去请求一遍网络。哪种方式…

硬币 假硬币 天平_小东西叫硬币

硬币 假硬币 天平During the last 1,5 years, I’ve been traveling a lot. Apart from my must-have things like laptop, sketchbook, and power bank, there constantly appears a new one, in a familiar shape but a new look. That’s 在过去的1.5年中&#xff0c;我经常…

Linux创建一个用户时分配组,useradd和groupadd(Linux创建用户\用户组\设置\分配用户权限)的使用...

前言&#xff1a;man useradd    man groupadd    info useradd    info groupadd 都可以获取相关命令的用法信息。个人比较喜欢读英文解释文档&#xff0c;没有你想象的那么complicated&#xff01;&#x1f61c;USERADD(8) System Management Commands USERADD…

尤雨溪发布的Vue 3.2 有哪些新变化?

大家好&#xff0c;我是若川。今天分享一篇 Vue 3.2 版本的文章。查看源码等系列文章。学习源码整体架构系列、年度总结、JS基础系列1前言8.10号凌晨&#xff0c;尤雨溪在微博平台官宣 Vue 3.2 版本正式发布&#xff1a;此版本包含一系列重要的新功能与性能改进&#xff0c;但并…

对象的清除

调用System.gc() 请求垃圾回收的最简单的方法&#xff0c;但是注意——只是请求&#xff0c;在调用System.gc()之后&#xff0c;有可能会释放出更多的内存空间。转载于:https://www.cnblogs.com/happykakeru/archive/2011/04/09/2010030.html

https://zeplin.io/ 设计图标注及切图

2019独角兽企业重金招聘Python工程师标准>>> https://zeplin.io/ 转载于:https://my.oschina.net/soho00147/blog/3025646

更好的设计接口_设计可以而且必须做得更好

更好的设计接口We live in a world that becomes more dependent on technology every day. Tech gives us new ways to communicate, learn, work, and play, and recently it enabled us to reveal the appalling police brutality towards black people in the US by sharin…

linux隐写文件剥离,杂项的基本解题思路(1)——文件操作隐写、图片隐写

文件操作隐写图片隐写压缩文件处理流量取证技术文章本来是分成4部分的&#xff0c;但是前两部分何在一起写了也就没有分开&#xff0c;所以干脆就只分了两部分文件基本类型的识别一、kail 下file 文件名原理就是识别文件文件头比如这个软件&#xff1a;二、WinHex通过winhex分析…

账务管理系统

2011-04-11 21:55最近写了一个账务管理系统&#xff08;个人版&#xff09;使用C#语言编写&#xff0c;编译器VS2010&#xff0c;数据库Access2010&#xff0c;系统采用三层架构&#xff0c;界面可以换肤&#xff0c; 窗体按钮可以移动&#xff0c;可以自定义皮肤&#xff0c;保…

初学者也能看懂的 Vue3 源码中那些实用的基础工具函数

1. 前言大家好&#xff0c;我是若川。最近组织了源码共读活动。每周读 200 行左右的源码。很多第一次读源码的小伙伴都感觉很有收获&#xff0c;感兴趣可以加我微信ruochuan12&#xff0c;拉你进群学习。写相对很难的源码&#xff0c;耗费了自己的时间和精力&#xff0c;也没收…

Flutter RichText支持自定义文字背景

extended text 相关文章 Flutter RichText支持图片显示和自定义图片效果Flutter RichText支持自定义文本溢出效果Flutter RichText支持自定义文字背景Flutter RichText支持特殊文字效果之前介绍过了Extended text&#xff0c;老规矩上图 UI设计说&#xff0c;那个字可以加个卟呤…