ITPub博客

首页 > 数据库 > Oracle > ORA-27054报错,NFS mount问题

ORA-27054报错,NFS mount问题

Oracle 作者:dbasdk 时间:2015-03-23 17:05:05 0 删除 编辑

 

当前环境:

数据库备份在磁带中,备份软件EMC NETWORKER,备份server端和client端均为Solaris

先使用如下RMAN脚本恢复控制文件到/oracle/X01/nfsdata/目录下,该目录为nfs,当前mount没有使用任何参数,查看状态如下:

root@r3mok01 # mount |grep nfsdata

/oracle/X01/nfsdata on 10.8.5.218:/oracle/X01/datafile20140930 remote/read/write/setuid/devices/rstchown/xattr/dev=5f4000d on Tue Oct 28 16:24:58 2014

现在,执行RMAN脚本进行恢复

run

{ALLOCATE CHANNEL t1 DEVICE TYPE sbt_tape

PARMS='ENV=(NSR_SERVER=BKSRV01,NSR_GROUP=SAP_ECC,

NSR_CLIENT=r3prddb01,NSR_DATA_VOLUME_POOL=ECCPRD)';

RESTORE CONTROLFILE TO '/oracle/X01/nfsdata/cntrlP011.dbf.20140929'

FROM 'P011_beovwuge.273781_1' ;

release channel t1;

}

using target database control file instead of recovery catalog

allocated channel: t1

channel t1: SID=267 device type=SBT_TAPE

channel t1: NMO v4.5.0.0

Starting restore at 29-OCT-14


出现如下错误。

channel t1: restoring control file

released channel: t1

RMAN-00571: ===========================================================

RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============

RMAN-00571: ===========================================================

RMAN-03002: failure of restore command at 10/29/2014 12:28:05

ORA-19870: error while restoring backup piece P011_beovwuge.273781_1

ORA-19504: failed to create file "/oracle/X01/nfsdata/cntrlP011.dbf.20140929"

ORA-27054: NFS file system where the file is created or resides is not mounted with correct options

Additional information: 3

Additional information: 1

 

解决方法:

使用如下参数进行mount

mount -F nfs -o rw,hard,nointr,noac,vers=4,rsize=32768,wsize=32768 10.8.5.218:/oracle/X01/datafile20140930 /oracle/X01/nfsdata

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

请登录后发表评论 登录
全部评论

注册时间:2014-07-02

  • 博文量
    490
  • 访问量
    1388156