这篇文章主要介绍“怎么解决rac断电后打开提示datafile1有坏块问题”,在日常操作中,相信很多人在怎么解决rac断电后打开提示datafile1有坏块问题问题上存在疑惑,小编查阅了各式资料,整理出简单好用的操作方法,希望对大家解答”怎么解决rac断电后打开提示datafile1有坏块问题”的疑惑有所帮助!接下来,请跟着小编一起来学习吧!
内网两台RAC,断电后无法启动。
过程:(前后持续几个月。开始看了两天没成功,后面就没管)
1、alert报错
Tue Jul 31 14:16:25 2018
Hex dump of (file 1, block 1824271) in trace file /oracle/ora11g/diag/rdbms/rac/rac4/trace/rac4_p001_8985.trc
Tue Jul 31 14:16:25 2018
Hex dump of (file 1, block 1824272) in trace file /oracle/ora11g/diag/rdbms/rac/rac4/trace/rac4_p006_8995.trc
Reading datafile '+DATA/rac/datafile/system.256.856700057' for corruption at rdba: 0x005bd610 (file 1, block 1824272)
Reading datafile '+DATA/rac/datafile/system.256.856700057' for corruption at rdba: 0x005bd60f (file 1, block 1824271)
Reread (file 1, block 1824271) found same corrupt data (logically corrupt)
RECOVERY OF THREAD 4 STUCK AT BLOCK 1824271 OF FILE 1
Reread (file 1, block 1824272) found same corrupt data (logically corrupt)
RECOVERY OF THREAD 4 STUCK AT BLOCK 1824272 OF FILE 1
执行了一下 recover database using backup controlfile until cancel;
提示ora-1547,ora-1194
2、设置隐藏参数 _allow_resetlogs_corruption=true, _corrupted_rollback_segments="xx" undo_management=manual
alter database open; 提示错误:
ora-600 [kclchkblk_4]
ora-704: bootstrap process failure
3、推进scn oradebug poke 或 alter sesession set events '10015 trace name adjust_scn level x' (11.2.0.4 之前可能才有效)
4、alter database open; 成功,并未需要resetlogs,可能和此处理方法有关。
5、alert日志,大量ora-600 [ktbsdp1] ,ora-01555, ora-600 [4097] 似乎都和undo损坏有关
6、删除当前undo表空间 重建
7、取消隐藏参数,重启
到此,关于“怎么解决rac断电后打开提示datafile1有坏块问题”的学习就结束了,希望能够解决大家的疑惑。理论与实践的搭配能更好的帮助大家学习,快去试试吧!若想继续学习更多相关知识,请继续关注亿速云网站,小编会继续努力为大家带来更多实用的文章!