转:ORA-15186: ASMLIB error function = [asm_open], error = [1], 2009-05-24 13:57:38

http://space.itpub.net/471666/viewspace-406996

ORA-15186: ASMLIB error function = [asm_open], error = [1], mesg = [Operation not permitted]

参考 Metalink   Note:398622.1

Subject:    ORA-15186: ASMLIB error function = [asm_open], error = [1], mesg = [Operation not permitted]
     Doc ID:    Note:398622.1    Type:    PROBLEM
     Last Revision Date:    06-MAY-2008    Status:    PUBLISHED

In this Document
  Symptoms
  Cause
  Solution
  References

Applies to:
Oracle Server - Enterprise Edition - Version: 10.1.0
This problem can occur on any platform.
Oracle Database ASM (Automatic Storage Management) instance
Oracle ASMLib
Raw devices
Symptoms
The Oracle Database ASM instance reports ORA-15186 error in the alert.log, for example:

ORA-15186: ASMLIB error function = [asm_open], error = [1], mesg = [Operation not permitted].

The error occurs periodically, most notably during ASM instance startup and as a result of V$ASM_... view queries, as well as during RMAN backup.

Despite the error, however, no adverse affects are observed.

Cause
By default, Oracle Database ASM instance parameter 'ASM_DISKSTRING' is unset and therefore uses a default value of '*'. This means that the ASM instance scans both/dev/raw/and/dev/oracleasm/disks/directories when searching for oracle ASM disks.

When using a combination of oracleasm disks (/dev/oracleasm/disks/*) with raw devices (/dev/raw/*), in particular where some raw devices are not owned by or accessible to the oracle user) as well as ASM instance parameter 'ASM_DISKSTRING' with an unspecified value, error ORA-15186 is likely to occur.

Solution
The solution is to explictly set Oracle ASM instance parameter 'ASM_DISKSTRING' such that it only scans for  oracleasm disks (e.g. with label ORCL:*) or to set the value to scan only intended oracleasm devices known to be oracleasm disks.

Explicitly setting 'ASM_DISKSTRING' is recommended as it increases oracle ASM disk scan performance by restricting the number of devices scanned to only those marked with the default provisioned 'ORCL:' label prefix or scanning only a given subset of devices.

Examples of setting ASM_DISKSTRING parameter include:

SQL> alter system set asm_diskstring='ORCL:*' scope=both;
...

SQL> alter system set asm_diskstring='/dev/raw/raw6,/dev/raw/raw7,/dev/raw/raw8' scope=both;
...

SQL> alter system set asm_diskstring='/dev/mapper/mpath0,/dev/mapper/mpath1,/dev/mapper/mpath2' scope=both;
...

Note: whilst limiting the 'ASM_DISKSTRING' value to a specific list of disks ensures optimal ASM instance scan performance, the parameter value must be modified to include any new devices whenever oracleasm disks are added or removed.

References
Note 391136.1- New ASMLib / oracleasm Disk Gets "header_status=Unknown" - Cannot be Added to Diskgroup
Keywords
AUTOMATIC~STORAGE~MANAGEMENT; RAW~DEVICE; ORACLEASM; ASMLIB;

最新文章

  1. The Similarities and Differences Between C# and Java -- Part 1(译)
  2. SQL/LINQ/Lamda
  3. 基于SVG的JS地图插件
  4. pyCharm使用
  5. spoj 95
  6. filter过滤器执行顺序
  7. jquery easy ui 学习 (2) customtools window
  8. dsdfdsfd
  9. iOS学习之Runtime(二)
  10. MATLAB中的分类器
  11. FarPoint.Win.Spread 自定义表头
  12. 接口测试入门(3)--使用httpClient进行登录用例操作/set-cookies验证/ List<NameValuePair>设置post参数/json解析
  13. Spring的原理性总结
  14. [c/c++] programming之路(23)、字符串(四)——strncat,atoi,strcmp,strlen等,以及常用内存函数
  15. Squid.conf配置详情
  16. PICE(6):集群环境里多异类端点gRPC Streaming - Heterogeneous multi-endpoints gRPC streaming
  17. JDBC使用MYSQL的LOAD DATA LOACAL INFILE和LOAD DATA INFILE
  18. HashMap 的实现原理
  19. [转]OPENCV3.3+CUDA9.0 环境搭建若干错误总结
  20. easyui combobox 动态加载的两种方法

热门文章

  1. 【原】Android热更新开源项目Tinker源码解析系列之二:资源文件热更新
  2. CSS float 浮动属性
  3. OpenSceneGraph in ActiveX by ActiveQt
  4. javascript之Object.defineProperty的奥妙
  5. bzoj3037--贪心
  6. 移动应用App测试与质量管理一
  7. 看图理解JWT如何用于单点登录
  8. 微信小程序体验(1):携程酒店机票火车票
  9. Mysql - 触发器/视图
  10. Performance Tuning