昨天。使用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. 从svn下载项目后build path为灰色

    今天从svn上下载项目后,想加入下面jar包.可是build path为灰色. 解决的方法是:1.在项目上右键properties---project facts 如图所看到的: 点击右側conver ...

  2. 【环境配置】配置sdk

    1. 安装和配置 (1) 下载sdk 官方下载地址http://developer.android.com/sdk/index.html 这里以android-sdk_r12-linux_x86.tg ...

  3. shell oracle

    #!/bin/sh traffic= rm -rf test.txt data=`sqlplus -S anoscfg/anoscfg <<EOF spool test.txt set f ...

  4. 【ASP.NET Web API教程】1 ASP.NET Web API入门

    原文 [ASP.NET Web API教程]1 ASP.NET Web API入门 Getting Started with ASP.NET Web API第1章 ASP.NET Web API入门 ...

  5. linux:sed高级命令之n、N(转)

    sed的语法格式: sed [option] {sed-command} {input-file} sed在正常情况下,将处理的行读入模式空间(pattern space),脚本中的“sed-comm ...

  6. 了解sota字符界面(章节4.1)

    4 SOTA操作 4.1 SOTA字符界面 sotaCC是字符界面管理sota系统程序 . 在/.../sota/bin/目录下,启动sotaCC.在终端的该目录下输入指令“./sotaCC”,启动s ...

  7. OpenLayers学习笔记5——使用jQuery UI实现查询并标注(UI篇)

    近期事情非常多,老板给的压力也非常大.经常出差,另外项目和个人研究还都要跟上,本月要交论文,还要写专利,仅仅能抽时间来学习其它的东西了. 关于OpenLayers的在博客中不会写太多详细的实现(网上有 ...

  8. Cookie不能保存中文解决方式

     在用cookie保存username的时候,发现cookie值不能存中文,报例如以下错: Control character in cookie value, consider BASE64 e ...

  9. JS - 点击 “+” 、“-” 改变数字

    效果: 代码: <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Test.a ...

  10. [iOS]简单的APP引导页的实现 (Swift)

    在第一次打开APP或者APP更新后通常用引导页来展示产品特性 我们用NSUserDefaults类来判断程序是不是第一次启动或是否更新,在AppDelegate.swift中加入以下代码: func ...