RMAN备份数据到NFS提示ORA-27054

今天在备份数据到NFS目录时,提示ORA-27054[@more@]

在备份中发现以下错误:

Starting backup at 30-AUG-07
current log archived
using channel ORA_DISK_1
channel ORA_DISK_1: starting archive log backupset
channel ORA_DISK_1: specifying archive log(s) in backup set
input archive log thread=1 sequence=43 recid=46 stamp=631975231
input archive log thread=1 sequence=44 recid=45 stamp=631975223
channel ORA_DISK_1: starting piece 1 at 30-AUG-07
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of backup plus archivelog command at 08/30/2007 14:02:03
ORA-19504: failed to create file "/rman/ibudb/arch_IBUDB_31_631980121.rman"
ORA-27054: NFS file system where the file is created or resides is not mounted with correct options
Additional information: 3
在metalink上找到一个Doc,Note:424785.1。这个问题在10.2的版本中比较普遍。可通过以下三种方式进行解决:

1、设置事件10298 level 32

alter system set event='10298 trace name context forever,level 32' scope=spfile;

重新启动数据库后生效.


2、打补丁:5146667

3、mount NFS目录时加参数

rw,bg,hard,nointr,rsize=32768,wsize=32768,tcp,vers=3,timeo=600,actimeo=0

以上参数不是对每个系统都通用。

我使用的是red linux系统,通过修改mount参数后生效

[oracle@db2 dba]$ cat /etc/redhat-release
Red Hat Enterprise Linux AS release 3 (Taroon Update 5)

[root@db2 oracle]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/hdb1 7.7G 6.5G 817M 90% /
none 250M 0 250M 0% /dev/shm
/dev/hdb5 9.7G 6.9G 2.3G 76% /u01
/dev/hdb2 20G 5.0G 14G 27% /u02
192.168.203.199:/home/tang/ibudbbackup
49G 26G 21G 56% /rman
[root@db2 oracle]# umount -f /rman
[root@db2 oracle]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/hdb1 7.7G 6.5G 817M 90% /
none 250M 0 250M 0% /dev/shm
/dev/hdb5 9.7G 6.9G 2.3G 76% /u01
/dev/hdb2 20G 5.0G 14G 27% /u02
[root@db2 oracle]# mount -t nfs -o rw,bg,hard,nointr,rsize=32768,wsize=32768,tcp,vers=3,timeo=600,actimeo=0 192.168.203.199:/home/tang/ibudbbackup /rman
[root@db2 oracle]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/hdb1 7.7G 6.5G 817M 90% /
none 250M 0 250M 0% /dev/shm
/dev/hdb5 9.7G 6.9G 2.3G 76% /u01
/dev/hdb2 20G 5.0G 14G 27% /u02
192.168.203.199:/home/tang/ibudbbackup
49G 26G 21G 56% /rman
启动rman测试

[oracle@db2 dba]$ sh db_full_database.sh

..............

channel ORA_DISK_1: starting piece 1 at 30-AUG-07
channel ORA_DISK_1: finished piece 1 at 30-AUG-07
piece handle=/rman/ibudb/full_IBUDB_34_631981475.rman tag=TAG20070830T142435 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:19:38
channel ORA_DISK_1: starting full datafile backupset
channel ORA_DISK_1: specifying datafile(s) in backupset
including current control file in backupset
including current SPFILE in backupset
channel ORA_DISK_1: starting piece 1 at 30-AUG-07
channel ORA_DISK_1: finished piece 1 at 30-AUG-07
piece handle=/rman/ibudb/full_IBUDB_35_631982654.rman tag=TAG20070830T142435 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:16
Finished backup at 30-AUG-07

Starting backup at 30-AUG-07
current log archived
using channel ORA_DISK_1
channel ORA_DISK_1: starting archive log backupset
channel ORA_DISK_1: specifying archive log(s) in backup set
input archive log thread=1 sequence=4 recid=50 stamp=631982672
channel ORA_DISK_1: starting piece 1 at 30-AUG-07
channel ORA_DISK_1: finished piece 1 at 30-AUG-07
piece handle=/rman/ibudb/arch_IBUDB_36_631982674.rman tag=TAG20070830T144433 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:02
channel ORA_DISK_1: deleting archive log(s)
archive log filename=/u02/oradata/IBUDB/archivelogIBUDB_1_4_631976236.arc recid=50 stamp=631982672
Finished backup at 30-AUG-07
RMAN> exit

Recovery Manager complete.

备份成功.

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/129805/viewspace-967057/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/129805/viewspace-967057/

你可能感兴趣的:(RMAN备份数据到NFS提示ORA-27054)