当前位置:首页 > 开发 > 数据库 > 正文

ASM创建失败分析

发表于: 2014-05-01   作者:czmmiao   来源:转载   浏览:
ASM
摘要: 1、asmlib创建ASM磁盘错误# /etc/init.d/oracleasm createdisk VOL1 /dev/sdc3 Marking disk "VOL1" as an ASM disk: [FAILED]2、查看错误日志# less /var/log/oracleasmDisk "VOL1" does not exist or is not

1、asmlib创建ASM磁盘错误
# /etc/init.d/oracleasm createdisk VOL1 /dev/sdc3
Marking disk "VOL1" as an ASM disk: [FAILED]
2、查看错误日志
# less /var/log/oracleasm
Disk "VOL1" does not exist or is not instantiated
Writing disk header: done
Instantiating disk: oracleasm-instantiate-disk: Unable to open manager: No such file or directory
failed
Clearing disk header: done
怀疑没有configure和enable
# /etc/init.d/oracleasm configure

Configuring the Oracle ASM library driver.
This will configure the on-boot properties of the Oracle ASM library
driver. The following questions will determine whether the driver is
loaded on boot and what permissions it will have. The current values
will be shown in brackets ('[]'). Hitting <ENTER> without typing an
answer will keep that current value. Ctrl-C will abort.
Default user to own the driver interface [oracle]:
Default group to own the driver interface [dba]:
Start Oracle ASM library driver on boot (y/n) [n]:
Scan for Oracle ASM disks on boot (y/n) [y]:
Writing Oracle ASM library driver configuration: done
Dropping Oracle ASMLib disks: [ OK ]
Shutting down the Oracle ASMLib driver: [ OK ]
# /etc/init.d/oracleasm enable
Writing Oracle ASM library driver configuration: done
Initializing the Oracle ASMLib driver: [ OK ]
Scanning the system for Oracle ASMLib disks: [ OK ]
可以正常创建asm磁盘了
# /etc/init.d/oracleasm createdisk VOL1 /dev/sdc3
Marking disk "VOL1" as an ASM disk: [ OK ]
[root@rac2 local]# /etc/init.d/oracleasm enable
Writing Oracle ASM library driver configuration: done
Initializing the Oracle ASMLib driver: [FAILED]
查看/var/log/oracleasm信息
Loading module "oracleasm": failed
Unable to load module "oracleasm"
发现是Oracleasm和操作系统版本不一致导致,重装asm rpm包可解决。

参考至:http://blog.csdn.net/linghao00/article/details/6676945

如有错误,欢迎指正

邮箱:czmcj@163.com

ASM创建失败分析

  • 0

    开心

    开心

  • 0

    板砖

    板砖

  • 0

    感动

    感动

  • 0

    有用

    有用

  • 0

    疑问

    疑问

  • 0

    难过

    难过

  • 0

    无聊

    无聊

  • 0

    震惊

    震惊

版权所有 IT知识库 CopyRight © 2009-2015 IT知识库 IT610.com , All Rights Reserved. 京ICP备09083238号