ITPub博客

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

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

原创 Oracle 作者:dbaspace 时间:2011-07-17 16:03:19 0 删除 编辑

创建asm磁盘时报如下错误:

[root@rac2 ~]# /usr/sbin/oracleasm createdisk CRSVOL1 /dev/iscsi/crs1/part1

Writing disk header: done

Instantiating disk: failed

Clearing disk header: done

原因:oracleasm configure不正确的造成的。改为调用/etc/init.d/oracleasm,执行oracleasm configure没有任何输出反馈。

在默认情况下,是调用/usr/sbin/oracleasm

# /etc/init.d/oracleasm configure -i

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 []: grid

Default group to own the driver interface []: asmadmin

Start Oracle ASM library driver on boot (y/n) [y]: 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@rac1 ~]#

输入以下命令以加载 oracleasm 内核模块:

[root@rac1 ~]# /usr/sbin/oracleasm init

Creating /dev/oracleasm mount point: /dev/oracleasm

Loading module "oracleasm": oracleasm

Mounting ASMlib driver filesystem: /dev/oracleasm

[root@rac1 ~]# /usr/sbin/oracleasm createdisk CRSVOL1 /dev/iscsi/crs1/part1

Writing disk header: done

Instantiating disk: done

[root@rac1 ~]#

[@more@]

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

上一篇: Statspack 安装初步
下一篇: 没有了~
请登录后发表评论 登录
全部评论
  • 博文量
    8
  • 访问量
    40525