`

ORA-27054故障排除

 
阅读更多

在数据备份过程中,由于目标是使用NFS文件系统,因此在导入的时候遇到了BUG,报错如下
ORA-39001: invalid argument value
ORA-39000: bad dump file specification
ORA-31641: unable to create dump file "/exp/bak/expdp_01.dmp"
ORA-27054: NFS file system where the file is created or resides is not mounted with correct options
Additional information: 6
通过查询metalink id :387700.1
文档上说可能的问题有以下几种:
a) The mount table (eg; /etc/mnttab) can be read to check the mount options
b) The NFS mount is mounted with the "hard" option
c) The mount options include rsize>=32768 and wsize>=32768
d) For RAC environments, where NFS disks are supported, the "noac" mount option is used.
文档上指出通过设置event 10298事件可以避免,不过设置event 10298需要重启数据库生效,目前为生产环境,这方法不能用。
通过调整上述的参数,hard,rsize,wsize都不能解决。
最后检查NFS的配置,发现客户端的/etc/filesystems中未加入mount nfs文件系统的条目
增加以下条目后,重新mount,解决。
#vi /etc/filesystems
/exp:
        dev             = /exp
        vfs             = nfs
        nodename        = 192.168.1.20
        mount           = true
        options         = rw,bg,hard,intr,proto=tcp,vers=3,rsize=65536,wsize=65536,timeo=600
        account         = false
#umount /oraexp
#mount /oraexp
建议大家以后遇到类似问题,先检查/etc/filesystems文件,这个问题都是由于大家都喜欢使用以下方式mount nfs导致。
mount -o rw,bg,hard,intr,proto=tcp,vers=3,rsize=65536,wsize=65536,timeo=600 192.168.1.20:/exp /exp
//相关metalink 文档如下:
ORA-19504 ORA-27054 Errors mounting NFS file system [ID 370513.1]
RMAN Backup Fails With RMAN-03009 ORA-19504 ORA-27054 NFS file system where the file is created or resides is not mounted with correct options [ID 1472448.1]
ORA-27054: NFS file system where the file is created or resides is not mounted with correct options [ID 781349.1]
//另外设置10298的过程如下:
1) set the Event 10298 in the init file
event="10298 trace name context forever, level 32"
if you are using the spfile then the following can be done
SQL> alter system set event='10298 trace name context forever, level 32'scope= spfile ;
Once you set the above parameter restart the instance check as follows
SQL> select name, value from v$parameter where name = 'event';
NAME VALUE
---------- ------------------------------------------------------------
Event 10298 trace name context forever, level 32
1 row selected.
---------------------------------------------
---------------------------------------------
另转:

最近使用expdp,平台aix6.1,库10.2.0.4,rac报了个

ORA-39001: invalid argument value
ORA-39000: bad dump file specification
ORA-31641: unable to create dump file "/orabak/xxx.dmp"
ORA-27054: NFS file system where the file is created or resides is not mounted with correct options
Additional information: 6

 

查了Metalink(Doc ID:359515.1),适用于10.1.0.2以上版本,供参考:

RAC 

In the table below
  • Binaries is the shared mount points where the Oracle Home and CRS_HOME is installed.
  • Datafiles includes Online Logs, Controlfile and Datafiles

Operating System

Mount options for Binaries Mount options for Oracle Datafiles Mount options for CRS Voting Disk and OCR
Sun Solaris *

rw,bg,hard,nointr,rsize=32768,
wsize=32768,proto=tcp,
noac,vers=3,suid

rw,bg,hard,nointr,rsize=32768,
wsize=32768,proto=tcp,noac,
forcedirectio, vers=3,suid
rw,bg,hard,nointr,rsize=32768,
wsize=32768,proto=tcp,vers=3,
noac,forcedirectio
AIX (5L) **

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

cio,rw,bg,hard,nointr,rsize=32768,
wsize=32768,proto=tcp,noac,
vers=3,timeo=600

cio,rw,bg,hard,intr,rsize=32768,
wsize=32768,tcp,noac,
vers=3,timeo=600

HPUX 11.23 ****  – rw,bg,vers=3,proto=tcp,noac,
hard,nointr,timeo=600,
rsize=32768,wsize=32768,suid
rw,bg,vers=3,proto=tcp,noac,
forcedirectio,hard,nointr,timeo=600,
rsize=32768,wsize=32768,suid
rw,bg,vers=3,proto=tcp,noac,
forcedirectio,hard,nointr,timeo=600
,rsize=32768,wsize=32768,suid
Linux x86
#

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

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

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

Linux x86-64 # rw,bg,hard,nointr,rsize=32768,
 wsize=32768,tcp,vers=3,
timeo=600, actimeo=0
rw,bg,hard,nointr,rsize=32768,
wsize=32768,tcp,actimeo=0,
vers=3,timeo=600
rw,bg,hard,nointr,rsize=32768,
wsize=32768,tcp,vers=3,
timeo=600,noac
Linux – Itanium rw,bg,hard,nointr,rsize=32768,
wsize=32768,tcp,vers=3,
timeo=600, actimeo=0
rw,bg,hard,nointr,rsize=32768,
wsize=32768,tcp,actimeo=0,
vers=3,timeo=600
rw,bg,hard,nointr,rsize=32768,
wsize=32768,tcp,noac,vers=3,
timeo=600

 

* NFS mount option “forcedirectio” is required on Solaris platforms when mounting the OCR/CRS files when using Oracle 10.1.0.4 or 10.2.0.2 or later (Oracle unpublished bug 4466428)
** AIX is only supported with NAS on AIX 5.3 TL04 and higher with Oracle 10.2.0.1 and later (NetApp)
*** NAS devices are only supported with HPUX 11.23 or higher ONLY 

# These mount options are for Linux kernels 2.6 and above for older kernels please check Note 279393.1

Due to Unpublished bug 5856342, it is necessary to use the following init.ora parameter when using NAS
with all versions of RAC on Linux (x86 & X86-64 platforms) until 10.2.0.4. This bug is fixed and included in 10.2.0.4 patchset.
filesystemio_options = DIRECTIO

 Single Instance

Operating System

Mount options for Binaries Mount options for Oracle Datafiles
Sun Solaris *
(8, 9, 10)

rw,bg,hard,rsize=32768,
wsize=32768,vers=3,nointr,
proto=tcp,suid

rw,bg,hard,rsize=32768,
wsize=32768,vers=3,[forcedirectio or llock],
nointr,proto=tcp,suid
AIX (5L) **

rw,bg,hard,rsize=32768,
wsize=32768,vers=3,intr,
timeo=600,proto=tcp

rw,bg,hard,rsize=32768,
wsize=32768,vers=3,cio,intr,
timeo=600,proto=tcp

HPUX 11.23 **** rw,bg,hard,rsize=32768,
wsize=32768,vers=3,nointr,
timeo=600,proto=tcp,suid
rw,bg,hard,rsize=32768,
wsize=32768,vers=3,nointr,
timeo=600,proto=tcp,suid
Linux x86
#
rw,bg,hard,rsize=32768,
wsize=32768,vers=3,nointr,
timeo=600,tcp
rw,bg,hard,rsize=32768,
wsize=32768,vers=3,nointr,
timeo=600,tcp,actime=0*
Linux x86-64 # rw,bg,hard,rsize=32768,
wsize=32768,vers=3,nointr,
timeo=600,tcp
rw,bg,hard,rsize=32768,
wsize=32768,vers=3,nointr,
timeo=600,tcp,actime=0*
Linux – Itanium rw,bg,hard,rsize=32768,
wsize=32768,vers=3,nointr,
timeo=600,tcp
rw,bg,hard,rsize=32768,
wsize=32768,vers=3,nointr,
timeo=600,tcp

 

* actime=0 or noac can be used

 

结果还是不行,继续查,惨烈,是个bug,ID 9115046.8

Bug 9115046  ORA-27054 from EXPDP to NFS disk which does not have "noac" set

Affects:

Product (Component) Oracle Server (Rdbms)
Range of versions believed to be affected Versions BELOW 12.1
Versions confirmed as being affected
Platforms affected Generic (all / most platforms affected)

 

Fixed:

 

This issue is fixed in

Description

ORA-027054 error is reported by expdp when run against a  RAC enabled database if the target location for the data pump  data file is an NFS disk which does not have the "noac" property set against it. "noac" is required for datafiles and many other database file types but should not be needed for expdp output files.   
Workaround   Use a different destination for the datapump export file   which does have relevant attribut

 

参考至:http://tradow.blog.163.com/blog/static/16188114201292893444108/
如有错误,欢迎指正
邮箱:czmcj@163.com

分享到:
评论

相关推荐

    Oracle_ORA-12518故障_处理

    本文旨在探讨如何接近并解决ORA-12518/TNS-12518错误,并提供详细的故障排除指南。 #### 最后审核日期 本指南最后审核于2008年1月29日,确保了内容的时效性和准确性。 #### 故障排查细节 ##### 第一部分:处理...

    使用工具IMPDP导入数据时ORA-39002、ORA-39070错误排查

    在使用Oracle Data Pump工具IMPDP(Import Data Pump)进行数据导入的过程中,可能会遇到ORA-39002和ORA-39070等错误。...在处理过程中,还可以参考Oracle官方文档获取更多关于Data Pump工具的使用技巧和故障排除指南。

    ora-dba.rar

    DBA的工作涵盖了数据库的设计、安装、配置、性能监控、故障排除和安全性管理等多个方面。 ora-dba工具集的核心功能包括: 1. **AWR(Automatic Workload Repository)**:这是一个内置的性能分析工具,自动收集...

    《转载》ora-00020超出最大进程数

    在Oracle数据库系统中,"ORA-00020 超出最大进程数"是一个常见的错误,通常出现在用户尝试创建新的会话或进程时,但数据库...对于IT专业人士来说,了解并掌握这些知识对于提升故障排除能力和系统性能调优能力至关重要。

    ora-227101错误解决办法

    在Oracle数据库管理与维护的...- 培训数据库管理员团队,提升其对Oracle数据库管理和故障排除的能力。 通过以上分析和解决方案,可以有效地应对和解决Oracle数据库中ORA-27101及相关错误,确保数据库服务的稳定运行。

    oracle ora-03113错误

    - 数据库服务突然崩溃、操作系统故障或者进程被意外终止,都可能触发此错误。 5. **Oracle内部错误**: - Oracle软件本身存在的bug或者设计缺陷也可能导致此类错误。 6. **特定SQL、PL/SQL引起的错误**: - ...

    Oracle报ORA-12737问题解决方法

    8. **联系技术支持**:如果以上步骤都无法解决问题,建议联系Oracle官方技术支持寻求专业帮助,他们可能有更详尽的故障排除方案。 总之,解决ORA-12737错误需要对Oracle数据库的运作机制有一定理解,并结合日志信息...

    oracle ORA-01033报错分析和解决方案跟踪文档

    Oracle数据库系统是世界上最广泛使用的数据库...务必遵循正确的故障排除步骤,并保持对数据库状态的监控,避免在修复过程中引入新的问题。同时,定期备份和维护数据库,可以减少此类错误的发生,并确保数据的安全性。

    ORA-01033ORACLE错误解决

    下面将详细介绍ORA-01033错误的原因、解决步骤以及如何通过命令行工具和PL/SQL Developer进行故障排除。 #### 错误原因分析 ORA-01033错误的出现,主要与以下几种情况有关: 1. **数据库实例正在初始化或关闭过程...

    Oracel 错误码查询

    理解这些错误码及其含义对于排除故障、确保数据库的稳定运行至关重要。本文将详细介绍一系列Oracle错误码,并对每个错误码背后的原因及可能的解决方案进行深入探讨。 #### 二、错误码详解 ##### ORA-02249: 缺少或...

    p8922013_10204_Linux-x86-64.zipORA-00600: INTERNAL ERROR CODE, ARGUMENTS: [17059

    标题 "p8922013_10204_Linux-x86-64.zip" 提供的关键信息是这是一个与Oracle数据库相关的...在处理这类问题时,保持冷静,遵循标准的故障排除流程,以及充分利用Oracle提供的资源和支持,对于IT专业人员来说至关重要。

    无法启动ASM实例1

    在Oracle数据库环境中,ASM(Automatic Storage Management)是一个集成的存储管理解决方案,用于简化...在整个过程中,细心和耐心是解决问题的关键,同时,保持良好的日志管理和故障排除习惯也有助于快速定位问题。

    Oracle官方文档CHM合集-Oracle9i错误代码

    学习和理解Oracle9i错误代码,可以提升数据库管理员的故障排除能力。错误代码可能涉及的方面包括但不限于: 1. **数据完整性**:如违反主键、唯一键或外键约束,这可能导致"ORA-00001"或"ORA-02290"等错误。 2. **...

    Oracle数据库常见问题诊断方法

    在Oracle并行服务(OPS)或实时应用集群(RAC)环境下,文章提供了全面的故障排除指南,涵盖了从紧急情况下的状态备份到OPS设计、配置准则,以及常见的OPS问题分析步骤。这对于在复杂集群环境中运行Oracle数据库的组织尤...

    ORACLE-ERRORS.zip_oracle

    这份文档对于Oracle数据库的日常维护和故障排除至关重要,是数据库管理员和开发者的必备参考资料。在遇到Oracle错误时,首先确定错误代码,然后查阅此错误一览表,能有效提高问题解决的速度,保证系统的稳定运行。

    OGG-01433故障解决方法

    此错误的出现往往伴随着日志文件中的详细信息,例如:“ORA-1433: error occurred at row number...”。 #### 解决方案一:禁用表压缩 **步骤1:** 在源数据库中,找到引起问题的表,并执行命令以禁用其压缩功能。...

    wxh \OracleDBA新手经常碰到的10个Oracle错

    根据提供的文件信息,本文将对Oracle DBA新手在日常工作中经常遇到的10个常见错误进行详细介绍,并提供相应的解决办法。 ...此外,对于更复杂的故障排除情况,建议深入研究Oracle文档及社区资源。

    ORACLE 错误一览表part6

    在“ORACLEpart6”中,可能包含对这些和其他更多错误的详细解释、可能的原因和解决方法,这对于日常数据库维护和故障排除是非常宝贵的资源。确保理解和应用这些知识,可以提升你的Oracle数据库管理技能,降低系统的...

    Oracle-01033系列错误的排除及分析.pdf

    文章引用了几本关于Oracle数据库的专著和期刊文章,这些资源提供了更深入的理论知识和技术指导,有助于读者理解数据库管理和故障排除。 总之,面对Oracle-01033系列错误,关键在于理解错误原因,采取适当的恢复步骤...

    7445-oracle 经典错误

    总的来说,解决Oracle的“7445”错误需要对数据库系统有深入的理解,并具备一定的故障排除能力。通过细致的分析和适当的调整,大部分情况下都能找到问题的根源并予以修复。在实际工作中,保持数据库的良好维护和定期...

Global site tag (gtag.js) - Google Analytics