|
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"
|
打赏支持
支付宝打赏
微信打赏扫描二维码,打赏一下作者吧~
归档
- 2026 年 9 月 (1)
- 2026 年 8 月 (10)
- 2026 年 4 月 (1)
- 2026 年 3 月 (3)
- 2026 年 2 月 (2)
- 2026 年 1 月 (3)
- 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)
- 最新日志
- 热评日志
- 随机日志
- SQL优化多层OR相关子查询改UNION性能提升7倍
- 一个DBA,把用了16年的两款软件换了
- 招聘岗位:YashanDB上海、深圳、成都招聘中级交付工程师
- ytop 系列:认识 ytop——终端里的多库运维工具箱
- ytop 系列:YashanDB 200+ 脚本场景地图(值班一张表)
- 性能实测:YashanDB _CACHE_VARIABLE 开关前后性能相差N倍
- SQL优化改IN躲开全表扫描性能提升53倍
- 相关MAX子查询改写EXISTS
- blogpub XML-RPC 回退发布验证
- blogpub auth probe publish
- 案例分享:医院行业数据泵迁移案例
- Oracle DBA必备脚本:傻子都可以一眼就定位SQL慢在什么地方
- SQL优化多层OR相关子查询改UNION性能提升7倍
- Oracle数据库XTTS迁移踩坑记:一次因TDE和位图块导致的灾难性回滚
- Oracle搭建备库时duplicate触发诡异的ORA-01031报错
- 话题讨论:Oracle版本升级到底需要多少时间
- 特殊恢复:通过Trace文件,定位触发报错的sql语句的执行计划、访问的数据库及等待事件
- 案例分享:医院行业数据泵迁移最佳实践案例分享
- 案例分享:医院行业数据泵迁移最佳实践案例分享
- 故障处理:Oracle一体机更换磁盘控制器后部分磁盘状态异常的案例处理
- How to import disk images into VERITAS NetBackup ™ 6.0
- 数据文件OS块的大小
- inventory目录手动创建
- sfrac环境安装11.2.0.3.7(gi)
- ORA-15186: ASMLIB error function
- 特殊恢复:ORA-00704、ORA-00604、ORA-01555故障时快速定位触发报错的数据块
- TAR备份ORACLE安装目录,排除指定文件
- Migrating Stored Outlines to SQL Plan Baselines
- WIN ORACLE _MINIMUM_GIGA_SCN推进SCN
- 10.2.0.4 RAC启动时OCSSD日志报Category: 1234
最活跃的读者
最新评论

数据库爱好者
厉害厉害
hi
掐指一算,这个客户在重庆
csdw
是 1031
csdw
哈哈,,黄大师,总结得好
huangtingzhong
Loading Hinted Execution
huangtingzhong
下面是ASM磁盘头的部分ASM DATA DI
huangtingzhong
RMAN backup to Flash Rec
huangtingzhong
Database Crashed With OR
huangtingzhong
How to Resolve ORA-00257
123
How To Find The Process
ORA-15186: ASMLIB error function:等您坐沙发呢!