ITPub博客

首页 > 数据库 > Oracle > oracle 11gr2 asm配置异常Instantiating disk: failed

oracle 11gr2 asm配置异常Instantiating disk: failed

Oracle 作者:bit61786 时间:2012-08-08 17:06:17 0 删除 编辑
oracle 11gr2 asm配置异常Instantiating disk: failed 


 

因为oracle 11gr2 asm要求安装grid infra,就下载了asm包http://www.oracle.com/technetwork/topics/linux/downloads/rhel5-084877.html
rpm -Uvh oracleasm*之后,创建asm磁盘时报如下错误:
[root@ora11g soft]# oracleasm createdisk data1 /dev/sdc1
Writing disk header: done
Instantiating disk: failed
Clearing disk header: done

原因:oracleasm configure不正确的造成的,除了/etc/init.d/oracleasm之外,还有一个在/usr/sbin/目录下,默认就调用了这个oracleasm,所以执行oracleasm configure没有任何输出反馈。

所以只要调用/etc/init.d/oracleasm就可以了。

[root@ora11g sbin]# /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 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]: y
Scan for Oracle ASM disks on boot (y/n) [y]: y
Writing Oracle ASM library driver configuration: done
Initializing the Oracle ASMLib driver: [  OK  ]
Scanning the system for Oracle ASMLib disks: [  OK  ]
[root@ora11g sbin]# oracleasm createdisk DATADISK1 /dev/sdc1
Writing disk header: done
Instantiating disk: done

<!-- 正文结束 -->

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/7540436/viewspace-1115134/,如需转载,请注明出处,否则将追究法律责任。

上一篇: 没有了~
下一篇: 没有了~
请登录后发表评论 登录
全部评论