RMAN转储数据文件报错“ORA-19870 ORA-19502 ORA-27072”


在用rman走restore的时候遇到了,如下的错误:

channel c1: ORA-19870: error while restoring backup piece /u01/dbfull_03orat5q_1_1.bak
ORA-19502: write error on file "/u01/app/Oracle/oradata/aux/system01.dbf", block number 34304 (block size=8192)
ORA-27072: File I/O error

从报错的方面来是在写文件的时候出了问题,查看了一下:

oerr ora 19502
19502, 00000, "write error on file \"%s\", block number %s (block size=%s)"
// *Cause:  write error on output file
// *Action: check the file

这个提示我们说检查文件,难道文件出错了。


 oerr ora 19870
19870, 00000, "error while restoring backup piece %s"
// *Cause: This error should be followed by other errors indicating
//        the cause of the problem.
// *Action: See other errors actions.

这个提示我们说看其他的报错信息。


oerr ora 27072
27072, 00000, "File I/O error"
// *Cause:  read/write/readv/writev system call returned error, additional
//          information indicates starting block number of I/O
// *Action: check errno

这个提示也没有什么价值。

 

最后查看磁盘空间如下:

 df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda1            5.7G  3.1G  2.4G  57% /
/dev/sdb1              20G  19G  269M  99% /u01
tmpfs                1.5G  265M  1.3G  18% /dev/shm

磁盘空间不够了,结果释放了一些磁盘空间之后,问题解决,这里记录一下。

推荐阅读:

ORA-01172、ORA-01151错误处理

ORA-00600 [2662]错误解决

ORA-01078 和 LRM-00109 报错解决方法

ORA-00471 处理方法笔记

ORA-00314,redolog 损坏,或丢失处理方法

ORA-00257 归档日志过大导致无法存储的解决办法

相关内容