oracle nfsの使用
最近expdp、プラットフォームaix 6.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:3559515.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
結果はやはりだめで、引き続き調べて、惨烈で、バグで、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 11.1.0.7 11.1.0.6 10.2.0.4
Platforms affected
Generic (all/most platforms affected)
Fixed:
This issue is fixed in 12.1 (Future Release) 11.2.0.2 (Server Patch Set)
Description
報告した
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:3559515.1)を調べました.10.1.0.2以上のバージョンに適用されます.参考にしてください.
RAC
In the table below
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
結果はやはりだめで、引き続き調べて、惨烈で、バグで、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 attributes, or is a local file system
OR
Use event 10298 level 32 to disable the noac check
(but take care as this avoid all NFS checks for all file
types which can lead to corruption scenarios if disks
are not mounted with the correct options)