RMAN备份数据到NFS提示ORA-27054
2012-01-16 09:32
337 查看
今天在备份数据到NFS目录时,提示ORA-27054
在备份中发现以下错误:
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.
备份成功.
在备份中发现以下错误:
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.
备份成功.
相关文章推荐
- 备份数据到 NFS 磁盘的时候提示ORA-27054错误
- 使用rman备份到挂载的NFS目录,提示ORA-19504-27054报错
- 使用rman备份到挂载的NFS目录,提示ORA-19504-27054报错
- AIX平台下Oracle数据备份过程中遇BUG_ORA-27054 NFS file system
- Oracle数据备份过程中遇BUG_ORA-27054 NFS file system
- RAC 环境rman备份 ORA-27054
- oracle之 数据泵dump文件存放nfs报ORA-27054
- oracle之 数据泵dump文件存放nfs报ORA-27054
- 利用NFS远程备份报 ORA-27054 错误解决办法
- 18.3.2 在不同主机上使用 RMAN 备份建立物理备用数据库
- 使用rman对oralce数据进行全备份
- 用RMAN 备份异机恢复 迁移数据(一)dave
- RMAN备份与恢复之可脱机数据文件丢失
- rman恢复未备份的数据文件
- 如何查rman每个数据文件的备份开始及结束时间
- Oracle 11G Rman备份ASM数据恢复到本地磁盘
- RMAN备份时遇到要求重建standard包的错误 ORA-06554 RMAN-04015
- rman实验之归档模式无备份,正常关机丢失数据文件的恢复
- 18.3.2 在不同主机上使用 RMAN 备份建立物理备用数据库
- 使用rman对oralce数据进行全备份