ORA-19502: write error on file "/u01/app/oracle/oradata/standby/system01.dbf", blockno 40321 (blocksize=8192)【error收集】

在RMAN备份中,出现了一个问题,就是出现坏块了。

ORA-19502: write error on file "/u01/app/oracle/oradata/standby/system01.dbf", blockno 40321 (blocksize=8192)
ORA-27072: File I/O error
Linux Error: 9: Bad file descriptor

解决方案:

blockrecover  datafile 1 block 40321

为什么我知道坏块40321就会在datafile 1中呢?因为错误提示的是system01.dbf。

你可以从v$datafile文件中查得文件号和文件名。

SQL> select file#,name from v$datafile;

     FILE#
----------
NAME
--------------------------------------------------------------------------------
     1
/u01/app/oracle/oradata/weber/system01.dbf

     2
/u01/app/oracle/oradata/weber/undotbs01.dbf

     3
/u01/app/oracle/oradata/weber/sysaux01.dbf

     4
/u01/app/oracle/oradata/weber/users01.dbf

     5
/u01/app/oracle/oradata/weber/example01.dbf

 

原文地址:https://www.cnblogs.com/yaoweber/p/4063668.html