|
In this Document
APPLIES TO: Oracle Database – Enterprise Edition – Version 10.2.0.1 and later SYMPTOMS
Note About Platform Specific: Although ‘/etc/sysconfig/oracleasm’ is only applicable to Linux environments, similar errors could occur and affect non-Linux environments that employ multipath devices.
Mount ASM disk group fails with: ORA-15186, ORA-15025, ORA-15063 alert_+ASM.log:
~~~~~~~~~~~~~~~~~~ … NOTE: Loaded library: /opt/oracle/extapi/64/asm/orcl/1/libasm.so ORA-15186: ASMLIB error function = [asm_open(global)], error = [1], mesg = [Operation not permitted] ORA-15025: could not open disk "ORCL:DISCO01BKP" ORA-15186: ASMLIB error function = [asm_open(global)], error = [1], mesg = [Operation not permitted] ORA-15025: could not open disk "ORCL:DISCO02BKP" ORA-15186: ASMLIB error function = [asm_open(global)], error = [1], mesg = [Operation not permitted] ORA-15025: could not open disk "ORCL:DISCO03BKP" ORA-15186: ASMLIB error function = [asm_open(global)], error = [1], mesg = [Operation not permitted] ORA-15025: could not open disk "ORCL:DISCO04BKP" ORA-15186: ASMLIB error function = [asm_open(global)], error = [1], mesg = [Operation not permitted] ORA-15025: could not open disk "ORCL:DISCO05BKP" ERROR: no PST quorum in group: required 2, found 0 … ERROR: diskgroup DATA2 was not mounted ORA-15032: not all alterations performed ORA-15017: diskgroup "DATA2" cannot be mounted ORA-15063: ASM discovered an insufficient number of disks for diskgroup "DATA2" CAUSEAll the asmlib disks appear in ASM’s v$asm_disk view, however their HEADER_STATUS=UNKNOWN However, ASMLIB sees the disks: $ /etc/init.d/oracleasm listdisks
DISCO01BKP DISCO02BKP DISCO03BKP DISCO04BKP DISCO05BKP A list of the asmlib disks, show their major and minor numbers (first set of numbers from the left): $ ls -l /dev/oracleasm/disks
brw-rw—- 1 oracle oinstall 8, 1 Dec 8 10:31 DISCO01BKP brw-rw—- 1 oracle oinstall 8, 17 Dec 8 10:31 DISCO02BKP brw-rw—- 1 oracle oinstall 8, 33 Dec 8 10:31 DISCO03BKP brw-rw—- 1 oracle oinstall 8, 49 Dec 8 10:31 DISCO04BKP brw-rw—- 1 oracle oinstall 8, 65 Dec 8 10:31 DISCO05BKP A ‘cat /proc/partitions’, show the asmlib devices are linked to the ‘sd’ devices instead the ‘multipath (dm)’ devices. These asmlib devices used to be linked to the multipath devices before the problem: major minor #blocks name
8 1 209712478 sda1 8 17 209712478 sdb1 8 33 209712478 sdc1 8 49 209712478 sdd1 8 65 209712478 sde1 … 253 0 209715200 dm-0 253 1 209715200 dm-1 253 2 209715200 dm-2 253 3 209715200 dm-3 253 4 209715200 dm-4 SOLUTIONThe asmlib file (/etc/sysconfig/oracleasm) to do with mapping asmlib devices to multipath devices, seems is not configure for multipathing: ORACLEASM_ENABLED=true
ORACLEASM_UID=oracle ORACLEASM_GID=oinstall ORACLEASM_SCANBOOT=true ORACLEASM_SCANORDER="" ORACLEASM_SCANEXCLUDE="" After ORACLEASM_SCANORDER and ORACLEASM_EXCLUDE were updated in /etc/sysconfig/oracleasm, ASM was able to display the asmlib disks with v$asm_disk.header_status=MEMBER. Thereafter, ASM was able to mount the diskgroup. ORACLEASM_SCANORDER="mpath dm"
ORACLEASM_SCANEXCLUDE="sd"
|
打赏支持
支付宝打赏
微信打赏扫描二维码,打赏一下作者吧~
归档
- 2025 年 12 月 (1)
- 2025 年 10 月 (3)
- 2025 年 9 月 (11)
- 2025 年 8 月 (23)
- 2025 年 7 月 (17)
- 2025 年 6 月 (30)
- 2024 年 6 月 (1)
- 2023 年 6 月 (1)
- 2022 年 7 月 (1)
- 2022 年 6 月 (1)
- 2018 年 8 月 (1)
- 2018 年 6 月 (1)
- 2016 年 6 月 (1)
- 2015 年 4 月 (3)
- 2015 年 3 月 (8)
- 2015 年 2 月 (6)
- 2015 年 1 月 (2)
- 2014 年 12 月 (3)
- 2014 年 11 月 (14)
- 2014 年 10 月 (25)
- 2014 年 9 月 (21)
- 2014 年 8 月 (21)
- 2014 年 7 月 (22)
- 2014 年 6 月 (35)
- 2014 年 5 月 (23)
- 2014 年 4 月 (7)
- 2013 年 10 月 (1)
- 2013 年 9 月 (14)
- 2013 年 8 月 (2)
- 2013 年 7 月 (1)
- 2013 年 6 月 (12)
- 2013 年 5 月 (7)
- 2013 年 4 月 (11)
- 最新日志
- 热评日志
- 随机日志
- 故障处理:Oracle ADG 主库想备库传输日志的归档路径禁用的报错
- 运维工具:支持win、linux、macos的平台的免密一键配置工
- SQL优化实战:标量子查询改写外连接的真实案例
- SQL优化:标量子查询的介绍和改写基础内容
- DBA必备工具:Oracle环境中表空间全自动扩容V0.2版本更新
- DBA必备脚本:比SQLHC好用100倍的SQL性能优化脚本版本迭代v1.0版本
- DBA必备脚本:一键掌握数据库实时运行状态的脚本
- DBA必备脚本:比SQLHC好用100倍的SQL性能优化脚本版本迭代
- 招聘信息:重庆甲方招聘数据库工程师
- 故障处理:Win平台无法特定机器之前无法PING通案例处理
- 案例分享:医院行业数据泵迁移案例
- Oracle DBA必备脚本:傻子都可以一眼就定位SQL慢在什么地方
- Oracle数据库XTTS迁移踩坑记:一次因TDE和位图块导致的灾难性回滚
- Oracle搭建备库时duplicate触发诡异的ORA-01031报错
- 话题讨论:Oracle版本升级到底需要多少时间
- 特殊恢复:通过Trace文件,定位触发报错的sql语句的执行计划、访问的数据库及等待事件
- 案例分享:医院行业数据泵迁移最佳实践案例分享
- 案例分享:医院行业数据泵迁移最佳实践案例分享
- 故障处理:Oracle一体机更换磁盘控制器后部分磁盘状态异常的案例处理
- PG系列:在 `psql` 客户端中定义参数与动态赋值
- ORACLE动态采样导致数据库性能下降dynamic sampling
- DBA必备脚本:一键掌握数据库实时运行状态的脚本
- ORACLE监听限制IP地址登陆数据库TCP.VALIDNODE_CHECKING
- IMP-00013: only a DBA can import a file exported by another DBA
- 数据库不能open下查看undo段的名字
- 11G INSERT语句出现latch:cache buffer chain等待事件
- PRKS-1000 : ASM instance "+ASM1" already exists on node "sol1"
- SQL优化必备脚本:Oracle获取绑定变量的字面SQL文本
- ORACLE 分布式事务处理(一般情况)
- 10G RAC修改VIP地址与手动启动/关闭VIP资源
最活跃的读者
最新评论
数据库爱好者
厉害厉害hi
掐指一算,这个客户在重庆csdw
是 1031csdw
哈哈,,黄大师,总结得好huangtingzhong
Loading Hinted Executionhuangtingzhong
下面是ASM磁盘头的部分ASM DATA DIhuangtingzhong
RMAN backup to Flash Rechuangtingzhong
Database Crashed With ORhuangtingzhong
How to Resolve ORA-00257123
How To Find The Process
ORA-15186: ASMLIB error function:等您坐沙发呢!