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

创建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@]
请使用浏览器的分享功能分享到微信等