首頁 資料庫 mysql教程 Oracle数据库使用NFS存储,启动报错提示无法锁定文件

Oracle数据库使用NFS存储,启动报错提示无法锁定文件

Jun 07, 2016 pm 05:29 PM
oracle資料庫

Oracle报错信息: SQLgt; startup gt; ORA-10997: another startup/shutdown operation of this instance inprogress gt; ORA

Oracle报错信息:

SQL> startup

> ORA-10997: another startup/shutdown operation of this instance inprogress

> ORA-09968: unable to lock file

> Linux-x86_64 Error: 37: No locks available

> Additional information: 64

message文件报错信息:(192.168.0.200为netapp存储地址)

> Jun 6 18:21:19 eccdemo sm-notify[3707]: Unable to notify bogon, giving up

> Jun 6 18:39:18 eccdemo rpc.statd[3705]: No canonical hostname found for 192.168.0.200

> Jun 6 18:39:18 eccdemo rpc.statd[3705]: STAT_FAIL to eccdemo for SM_MON of 192.168.0.200

> Jun 6 18:39:18 eccdemo kernel: lockd: cannot monitor 192.168.0.200

> Jun 6 18:39:33 eccdemo rpc.statd[3705]: No canonical hostname found for 192.168.0.200

> Jun 6 18:39:33 eccdemo rpc.statd[3705]: STAT_FAIL to eccdemo for SM_MON of 192.168.0.200

> Jun 6 18:39:33 eccdemo kernel: lo

> ckd: cannot monitor 192.168.0.200

解决办法:

按照oracle官方文档,需要增加挂载参数

mount -t nfs -o rw,bg,hard,rsize=32768,wsize=32768,vers=3,nointr,timeo=600,tcp,actimeo=0 192.168.0.200:/vol/oraclenfs /oracle

具体挂载参数需要参考官方文档,每个版本是不一样的。

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

  • nfsvers and vers are identical on those OS platforms that has nfsvers. The ver option is an alternative to the nfsvers option. It is included for compatibility with other operating systems

  • Please note that the mount options on each of the following cells are applicable only to those type of files listed in the column heading.

  • For RMAN backup sets, image copies, and Data Pump dump files, the "NOAC" mount option should not be specified - that is because RMAN and Data Pump do not check this option and specifying this can adversely affect performance.

  •  

    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

    Windows Not Supported Not Supported Not Supported

    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,actimeo=0,
    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,noac,vers=3,
    timeo=600,actimeo=0

    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,actimeo=0

    * 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
    **** As per BUG 11812928, the 'intr' & 'nointr' are deprecated in OEL 5.6 kernels and up including Oracle Linux 6. It is harmless to still include it, but the "NFS: ignoring mount option: nointr" will appears. This message can be ingnored.


    # 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, forcedirectio

    Windows Not Supported Not Supported

    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,actimeo=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,actimeo=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

    linux

    本網站聲明
    本文內容由網友自願投稿,版權歸原作者所有。本站不承擔相應的法律責任。如發現涉嫌抄襲或侵權的內容,請聯絡admin@php.cn

    熱AI工具

    Undresser.AI Undress

    Undresser.AI Undress

    人工智慧驅動的應用程序,用於創建逼真的裸體照片

    AI Clothes Remover

    AI Clothes Remover

    用於從照片中去除衣服的線上人工智慧工具。

    Undress AI Tool

    Undress AI Tool

    免費脫衣圖片

    Clothoff.io

    Clothoff.io

    AI脫衣器

    AI Hentai Generator

    AI Hentai Generator

    免費產生 AI 無盡。

    熱門文章

    R.E.P.O.能量晶體解釋及其做什麼(黃色晶體)
    2 週前 By 尊渡假赌尊渡假赌尊渡假赌
    倉庫:如何復興隊友
    4 週前 By 尊渡假赌尊渡假赌尊渡假赌
    Hello Kitty Island冒險:如何獲得巨型種子
    3 週前 By 尊渡假赌尊渡假赌尊渡假赌

    熱工具

    記事本++7.3.1

    記事本++7.3.1

    好用且免費的程式碼編輯器

    SublimeText3漢化版

    SublimeText3漢化版

    中文版,非常好用

    禪工作室 13.0.1

    禪工作室 13.0.1

    強大的PHP整合開發環境

    Dreamweaver CS6

    Dreamweaver CS6

    視覺化網頁開發工具

    SublimeText3 Mac版

    SublimeText3 Mac版

    神級程式碼編輯軟體(SublimeText3)

    oracle怎麼查看表屬於哪個表空間 oracle怎麼查看表屬於哪個表空間 Jul 06, 2023 pm 01:31 PM

    oracle怎麼查看表屬於哪個表空間

    如何使用PDO連線到Oracle資料庫 如何使用PDO連線到Oracle資料庫 Jul 28, 2023 pm 12:48 PM

    如何使用PDO連線到Oracle資料庫

    oracle如何只取一條重複的數據 oracle如何只取一條重複的數據 Jul 06, 2023 am 11:45 AM

    oracle如何只取一條重複的數據

    實現PHP和Oracle資料庫的資料導入 實現PHP和Oracle資料庫的資料導入 Jul 12, 2023 pm 06:46 PM

    實現PHP和Oracle資料庫的資料導入

    如何有效率地使用PHP和Oracle資料庫的連線池 如何有效率地使用PHP和Oracle資料庫的連線池 Jul 12, 2023 am 10:07 AM

    如何有效率地使用PHP和Oracle資料庫的連線池

    oracle如何在預存程序中判斷表是否存在 oracle如何在預存程序中判斷表是否存在 Jul 06, 2023 pm 01:20 PM

    oracle如何在預存程序中判斷表是否存在

    oracle資料庫需要jdk嗎 oracle資料庫需要jdk嗎 Jun 05, 2023 pm 05:06 PM

    oracle資料庫需要jdk嗎

    如何使用php擴充PDO連接Oracle資料庫 如何使用php擴充PDO連接Oracle資料庫 Jul 29, 2023 pm 07:21 PM

    如何使用php擴充PDO連接Oracle資料庫

    See all articles