昨天。使用openfiler创建nas存储系统,安装oracle软件,在所有正面最好,要创建一个数据库时报ora错,原来使用nfs安装oracle数据库,mount选项有特殊要求,如以下。以备查:

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

依照上面所看到的,设置參数。结果仍然报错ora-27086,错误信息例如以下:

[oraten@yue ~]$ oerr ora 27086
27086, 00000, "unable to lock file - already in use"
// *Cause: the file is locked by another process, indicating that it is
// currently in use by a database instance.
// *Action: determine which database instance legitimately owns this file.

重新启动openfiler。成功解决这个问题,看来是之前mount不当导致在openfiler端有锁一直没有释放。

尽管oracle支持nfs,但使用nfs现场少。大多数使用nfs要备份数据库或存储归档

版权声明:本文博客原创文章,博客,未经同意,不得转载。

使用NFS安装oracle软件的更多相关文章

  1. Linux下搭建Oracle11g RAC(7)----安装Oracle 软件

    从此步骤开始,我们正式安装oracle软件: ① 以oracle用户登录图形界面,执行/home/oracle/database/runInstaller,进入OUI的图形安装界面: ② 进入OUI安 ...

  2. OCA读书笔记(2) - 安装Oracle软件

    Objectives: •Describe your role as a database administrator (DBA) and explain typical tasks and tool ...

  3. Linux下Oracle11G RAC报错:在安装oracle软件时报file not found一例

    Linux下Oracle11G RAC报错:在安装oracle软件时报file notfound一例 1.现象 之前安装一切都比較顺利,安装oracle软件时,进度到30%时报错:file not f ...

  4. Oracle 之 Cloning $oracle_home (克隆安装oracle软件)

    用途:Cloning an Oracle Home , 可以免去多台机器重复安装oracle软件 1.停止相关进程[root@node1 bin]# ./crsctl stop cluster -al ...

  5. 安装Oracle软件

    1.安装linux操作系统和VMware Tools 2.创建组和用户,以root用户运行以下命令: groupadd -g 1000 oinstall groupadd -g 1001 dba us ...

  6. 在 Oracle Linux 6.5 上安装 Oracle 11g 单实例数据库

    Checking the Hardware Requirements 系统必须满足下面最小的硬件要求 Memory Requirements Minimum: 1 GB of RAMRecommend ...

  7. linux 之静默安装oracle

    Web服务器上面的Linux一般是不会有图形界面的,所有通过图形界面来安装Linux的方式在没有图形界面的Linux上面是行不通的,我们要使用的安装方式叫做Linux的静默安装.即在没有图形界面的Li ...

  8. Windows Azure功能更新:Oracle软件正式登陆Azure了

    今天,Windows Azure国际版发布了新的功能:全面支持Oracle软件,包括Oracle Linux, Oracle 12c数据库,Weblogic 11g和12c,Oracle JDK 6和 ...

  9. CentOS5.6下安装Oracle10G软件 【保留报错经验】

    CentOS5.6下安装Oracle10G ****************************************************************************** ...

随机推荐

  1. hdu 2871 Memory Control(伸展树splay tree)

    hdu 2871 Memory Control 题意:就是对一个区间的四种操作,NEW x,占据最左边的连续的x个单元,Free x 把x单元所占的连续区间清空 , Get x 把第x次占据的区间输出 ...

  2. android launcher开发之图标背景以及默认配置

    1:然后我自己看了一下桌面图标的载入过程: 桌面第一次载入时是默认读取一个xml配置文件,完毕配置工作.这个配置文件在Launcher文件夹下, 路径是:\Launcher\res\xml\defau ...

  3. 使用SetLocaleInfo设置时间后必须调用广播WM_SETTINGCHANGE,通知其他程序格式已经更改

    uses messages; Procedure SetDateFormat; //设置系统日期格式var buf:pchar; i:integer; p:DWORD;begin getmem(buf ...

  4. haproxy redirect location和redirect prefix

    <pre name="code" class="html">redirect location <loc> [code <code ...

  5. IOT和HEAP表区别

    Index Organized table by itself is a B-tree index. Index key is the primary key and the rest of colu ...

  6. 文件比较,文件夹比较-- vimdiff,beyond compare, compare suite, WinMerge,Kdiff3

    文件比较,文件夹比较-- vimdiff,beyond compare, compare suite, WinMerge,Kdiff3  有一个项目的源码包需要比较,400M以上,这就要找个好的工具了 ...

  7. Linux 双网卡绑定技术

    bond技术是在linux2.4以后加入内核. 一般步骤是1.把bonding模块加入内核, 2 编辑要绑定的网卡设置,去除地址设定 3 添加bond设备,设置地址等配置 4  重启网络 5 在交换机 ...

  8. hprose rpc使用实例(同时有Java和Delphi客户端的例子)

    php server <?php require_once('src/Hprose.php'); function hello($name) { echo "Hello $name!& ...

  9. Free Mind » Blog Archive » Yakuake + dtach vs Screen + urxvt

    Free Mind » Blog Archive » Yakuake + dtach vs Screen + urxvt Yakuake + dtach vs Screen + urxvt

  10. JAVA WEB开发环境搭建教程

    一.下载安装JDK,配置好环境变量.(例如我JDK安装的目录为:C:\Program Files (x86)\Java\jdk1.6.0_10     ) 点击我的电脑-属性-系统设置(高级系统设置) ...