Oracle執行expdp寫入NFS檔案系統提示ORA-39001 ORA-39000 ORA-31641 ORA-27054錯誤
1.執行expdp命令提示ORA-27054錯誤
oracle@cwgsdb1:~$ expdp \'/ as sysdba\' directory=dir_dp schemas=hr dumpfile=hr.dmp logfile=hr.log parallel=2 Export: Release 11.2.0.4.0 - Production on Thu Oct 25 16:55:06 2018 Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved. Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP, Data Mining and Real Application Testing options ORA-39001: invalid argument value ORA-39000: bad dump file specification ORA-31641: unable to create dump file "/backup/hr.dmp" ORA-27054: NFS file system where the file is created or resides is not mounted with correct options Additional information: 3 Additional information: 18
2.檢視alert日誌資訊
Thu Oct 25 16:55:08 2018 ALTER SYSTEM SET service_names='SYS$SYS.KUPC$C_1_20181025165507.CAMS' SCOPE=MEMORY SID='cams1'; ALTER SYSTEM SET service_names='SYS$SYS.KUPC$C_1_20181025165507.CAMS','SYS$SYS.KUPC$S_1_20181025165507.CAMS' SCOPE=MEMORY SID='cams1'; Thu Oct 25 16:55:08 2018 DM00 started with pid=55, OS id=17279, job SYS.SYS_EXPORT_SCHEMA_01 WARNING:NFS mount of file /backup/hr.dmp on filesystem /backup done with incorrect options:rw,xattr,dev=9640001 WARNING:Expected NFS mount options: rsize>=32768,wsize>=32768,hard, Thu Oct 25 16:55:10 2018 ALTER SYSTEM SET service_names='SYS$SYS.KUPC$S_1_20181025165507.CAMS' SCOPE=MEMORY SID='cams1'; ALTER SYSTEM SET service_names='cams' SCOPE=MEMORY SID='cams1';
3.在MOS上查詢解決方案
使用“expdp ORA-27054”關鍵字查詢,找到MOS文件:
ORA-27054: NFS File System Where the File is Created or Resides is Not Mounted With Correct Options (文件 ID 781349.1)
SYMPTOMS
You are transferring your database/installation to a NetApps NFS mount point.
The following error occurs on database startup:
ORA-01503: CREATE CONTROLFILE failed
ORA-01565: error in identifying file '/nfs_d04/oasisxx/data/oasis_system.dbf'
ORA-27054: NFS file system where the file is created or resides is not mounted with correct options
The current mount point is mounted as:
rw,bg,rsize=32768,wsize=32768,hard,vers=3,nointr,timeo=600,proto=tcp,suid 0 0
CAUSE
The correct mount point options are being used but they are not in the correct order per oracle docs on correctly mounting NFS mounts for oracle software.
The correct setting should be:
rw,bg,hard,rsize=32768,wsize=32768,vers=3,nointr,timeo=600,proto=tcp,suid
NOTE: the location of the parameter 'hard'
NOTE: As per
, the 'intr' & 'nointr' are deprecated in UEK kernels, as well as Oracle Linux 6. It is harmless to still include it, you will get a notice..
NFS: ignoring mount option: nointr.
SOLUTION
Mount the NFS mount point with the recommended options in the exact order specified in oracle documentation.
For example:
# mount -F nfs -o rw,bg,hard,rsize=32768,wsize=32768,vers=3,forcedirectio,nointr,proto=tcp,suid host:/folder1/to1 /folder2/to2
NOTE: if settings revert back to original settings after remount, check auto-mounter options/settings. For more info on auto-mounter, please contact the OS vendor.
4.重新掛載NFS檔案
root@cwgsdb1:~# umount /backup root@cwgsdb1:~# mount -F nfs -o rw,bg,hard,rsize=32768,wsize=32768,vers=3 100.100.100.54:/impbackup /backup
5.結果驗證
oracle@cwgsdb1:/backup$ expdp directory=dir_dp schemas=hr dumpfile=hr.dmp logfile=hr.log parallel=2 Export: Release 11.2.0.4.0 - Production on Thu Oct 25 17:14:26 2018 Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved. Username: system Password: Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP, Data Mining and Real Application Testing options Starting "SYSTEM"."SYS_EXPORT_SCHEMA_01": system/******** directory=dir_dp schemas=hr dumpfile=hr.dmp logfile=hr.log parallel=2 Estimate in progress using BLOCKS method... Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA Total estimation using BLOCKS method: 448 KB
顯然該問題是由NFS檔案系統未正確掛載引起的,透過新增關鍵引數,重新掛載NFS系統,順利解決Oracle執行expdp寫入NFS檔案系統提示ORA-39001 ORA-39000 ORA-31641 ORA-27054錯誤的問題。
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/31394774/viewspace-2217562/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- impdp/expdp報錯: ORA-39064: 無法寫入日誌檔案 ORA-29285: 檔案寫入錯誤
- Oracle RAC NFS掛載檔案系統OracleNFS
- win7系統無法在AE渲染寫入檔案提示錯誤-1610153459的解決方法Win7
- NFS網路檔案系統NFS
- 執行指令碼寫入中間表錯誤返回錯誤資訊指令碼
- 檔案格式引起的指令碼執行錯誤指令碼
- PbootCMS錯誤提示:執行SQL發生錯誤!錯誤:no such column: def1bootSQL
- win10系統安裝ps提示無法寫入登錄檔值錯誤160解決方法Win10
- Python檔案讀寫--錯誤一Python
- win10系統執行GTA5提示Unrecoverable Fault錯誤如何解決Win10
- macOS 下NFS 檔案系統掛載MacNFS
- NFS網路檔案系統詳解NFS
- PbootCMS錯誤提示:檔案上傳失敗boot
- PbootCMS錯誤提示:模板檔案不存在boot
- 升級提示 執行SQL發生錯誤!錯誤:duplicate column name: picstitleSQL
- RAC單個節點執行expdp提示ORA-31693 ORA-31617 ORA-19505 ORA-27037錯誤
- yml 配置檔案提示錯誤mapping values are not allowed in this contextAPPContext
- Linux系統配置NFS檔案共享服務LinuxNFS
- oracle 報大小寫錯誤Oracle
- win10執行jade提示399錯誤怎麼辦_win10執行jade提示399錯誤的解決方法Win10
- IntelliJ IDEA 執行專案的時候提示 Command line is too long 錯誤IntelliJIdea
- pbootcms升級提示 執行SQL發生錯誤!錯誤:duplicate column name: picstitlebootSQL
- win10系統無法執行掃描程式提示scanner錯誤怎麼解決Win10
- win10系統下執行windows defender提示載入DLL錯誤0x80029c4a怎麼辦Win10Windows
- [20230508]crack oracle執行檔案.txtOracle
- NfS網路共享檔案系統環境搭建NFS
- Win10系統檔案開啟方式錯誤提示“Windows無法開啟此型別檔案”怎麼辦Win10Windows型別
- PBOOTCMS網站程式提示“執行SQL發生錯誤!錯誤:DISK I/O ERROR”boot網站SQLError
- win10系統執行庫提示rundll32.exe應用程式錯誤如何解決Win10
- win10系統複製檔案提示0x80004005錯誤程式碼如何修復Win10
- vs中的專案載入不出來,提示錯誤
- sqlplus執行sql檔案報錯SQL
- FAQ docker執行tomcat提示找不到檔案DockerTomcat
- linux-掛載NFS網路檔案系統教程LinuxNFS
- win10系統執行wps提示錯誤qtcore4.dll丟失找不到如何解決Win10QT
- PbootCMS登入請求發生錯誤,檢查系統會話檔案儲存目錄是否具有寫入許可權boot會話
- Win10系統開啟檔案時提示“啟動更新引數錯誤”怎麼解決Win10
- Win10系統開啟PDF提示錯誤檔案損害無法閱讀怎麼辦Win10