RDBMS 11.2.0.4 。备份失败
input archived log thread=1 sequence=38 RECID=33 STAMP=967670709
input archived log thread=1 sequence=39 RECID=34 STAMP=967673184
channel c2: starting piece 1 at 10-FEB-18
RMAN-03009: failure of backup command on c1 channel at 02/10/2018 10:47:32
ORA-19502: write error on file "/home/oracle/backup/arc_TEST_20180210_1hsqsdtt_1_1.bak", block number 2049 (block size=512)
ORA-27072: File I/O error
Additional information: 4
Additional information: 2049
Additional information: 232960
channel c1 disabled, job failed on it will be run on another channel
released channel: c1
released channel: c2
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of backup command on c2 channel at 02/10/2018 10:47:32
ORA-19502: write error on file "/home/oracle/backup/arc_TEST_20180210_1isqsdtt_1_1.bak", block number 2049 (block size=512)
ORA-27072: File I/O error
Additional information: 4
Additional information: 2049
Additional information: 3584
RMAN>
查看错误号
[root@test ~]# su - oracle
[oracle@test ~]$ 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
刚开始以为是碰到坏块了。 后来发现是磁盘空间不足了。清理磁盘空间后,备份OK。
[oracle@test ~]$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg_test-lv_root
50G 29G 19G 62% /
tmpfs 1.5G 581M 887M 40% /dev/shm
/dev/sda1 477M 127M 322M 29% /boot
/dev/mapper/vg_test-lv_home
6.4G 6.1G 2.3M 100% /home
[oracle@test ~]$
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg_test-lv_root
50G 29G 19G 62% /
tmpfs 1.5G 581M 887M 40% /dev/shm
/dev/sda1 477M 127M 322M 29% /boot
/dev/mapper/vg_test-lv_home
6.4G 947M 5.2G 16% /home
[oracle@test backup]$
END 。