Oracle資料備份過程中遇BUG_ORA-27054 NFS file system

來源:互聯網
上載者:User

【Oracle故障】ORA-27054 NFS file system where the file is created or resides is not mounted with correct options
 
在資料備份過程中,由於目標是使用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.

更多Oracle相關資訊見Oracle 專題頁面 http://www.bkjia.com/topicnews.aspx?tid=12

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.