当前位置: 首页 > 数据库 > Oracle教程 > 正文

Oracle 11g RAC安装时的INS-30507错误:Empty ASM disk group

时间:2014-09-02

最近的Oracle 11g RAC安装碰到了INS-30507错误,也就是在grid安装到创建ASM磁盘组的时候找不到任何候选磁盘,google了N多安装指导也没有找到蛛丝马迹。如果你碰到这个问题,不妨往下瞧。

1、错误信息与解释

SEVERE: [FATAL] [INS-30507] Empty ASM disk group.

CAUSE: No disks were selected from a managed ASM disk group.

ACTION: Select appropriate number of disks from a managed ASM disk group.

Oracle官方给出的这个解释也太揪心了,舍此之外,着实没有给出任何有用的信息

2、安装时的环境

操作系统(Oracle linux 5.5 32bit)

[root@node1 ~]# cat /etc/issue

Enterprise Linux Enterprise Linux Server release 5.5 (Carthage)

Kernel \r on an \m

Oracle版本

Oracle 11g RAC R2(32bit)

宿主机系统

Win7 64bit + vmware server 2.0.2

3、asm磁盘信息及权限

[grid@node1 ~]$ oracleasm listdisks

ASM_DATA

ASM_FRA

OCR_VOTE

[grid@node2 ~]$ oracleasm listdisks

ASM_DATA

ASM_FRA

OCR_VOTE

#从下面可以看出磁盘的属主,属组及权限都是ok的

[grid@node1 disks]$ ls -hltr

total 0

brw-rw---- 1 grid asmadmin 8, 17 Dec 11 11:49 OCR_VOTE

brw-rw---- 1 grid asmadmin 8, 33 Dec 11 11:49 ASM_DATA

brw-rw---- 1 grid asmadmin 8, 49 Dec 11 11:49 ASM_FRA

#两节点都安装了cvuqdisk包

[grid@node1 ~]$ CVUQDISK_GRP=oinstall; export CVUQDISK_GRP

[grid@node1 ~]$ rpm -qa | grep cvuqdisk

cvuqdisk-1.0.7-1

[grid@node2 ~]$ CVUQDISK_GRP=oinstall; export CVUQDISK_GRP

[grid@node2 ~]$  rpm -qa | grep cvuqdisk

cvuqdisk-1.0.7-1

4、CVU校验结果

#安装前的校验

[grid@node1 grid]$ ./runcluvfy.sh stage -pre crsinst -fixup -n node1,node2 -verbose

Performing pre-checks for cluster services setup

Checking node reachability...

Check: Node reachability from node "node1"

Destination Node                      Reachable?

------------------------------------  ------------------------

node1                                 yes

node2                                 yes

Result: Node reachability check passed from node "node1"

Checking user equivalence...

Check: User equivalence for user "grid"

Node Name                             Comment

------------------------------------  ------------------------