expdp出dmp檔案到NFS NAS報錯ora-39001 ora-39000 ora-31641 ora-27054

531968912發表於2016-07-27
透過查詢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需要重啟資料庫生效 。
 
檢查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 ;
 

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/25462274/viewspace-2122642/,如需轉載,請註明出處,否則將追究法律責任。

相關文章