ORACLE 12C 三节点 RAC 无法找到候选磁盘


一、描述

测试安装三节点Oracle 12C RAC,笔记本配置双核i5 16g内存,每台虚机分配4G 内存。

在集群软件安装过程中,无法找到候选磁盘,如下图所示:


wKioL1mX5TLxobFJAAKDNGrderk630.png-wh_50


wKiom1mX5kaiOUtiAAIMCTMt2Ck362.png-wh_50


二、处理过程

观察磁盘头状态,发现问题的原因。因为是测试环境,共享磁盘使用的是openfiler,之前11g rac 使用了原有磁盘,这里需要dd一下,清理一下元数据,然后重新扫一下磁盘。命令如下:

[root@rac01 rules.d]# dd if=/dev/zero of=/dev/sde bs=4096 count=256
256+0 records in
256+0 records out
1048576 bytes (1.0 MB) copied,0.00297706 s,352 MB/s
[root@rac01 rules.d]# dd if=/dev/zero of=/dev/sdf bs=4096 count=256
256+0 records in
256+0 records out
1048576 bytes (1.0 MB) copied,0.00189521 s,553 MB/s


知识点连接:

http://docs.oracle.com/database/122/REFRN/V-ASM_DISK.htm#REFRN30170

V$ASM_disK

了解header_status 的含义

V$ASM_disK displays one row for every disk discovered by the Oracle Automatic Storage Management (Oracle ASM) instance,including disks that are not part of any disk group.

HEADER_STATUS

VARCHAR2(12)

Per-instance status of the disk as seen by discovery:

  • UNKNowN - Oracle ASM disk header has not been read

  • CANDIDATE - disk is not part of a disk group and may be added to a disk group with the ALTER disKGROUP statement

  • INCOMPATIBLE - Version number in the disk header is not compatible with the Oracle ASM software version

  • PROVISIONED - disk is not part of a disk group and may be added to a disk group with the ALTER disKGROUP statement. The PROVISIONED header status is different from the CANDIDATE header status in that PROVISIONED implies that an additional platform-specific action has been taken by an administrator to make the disk available for Oracle ASM.

  • MEMBER - disk is a member of an existing disk group. No attempt should be made to add the disk to a different disk group. The ALTER disKGROUP statement will reject such an addition unless overridden with the FORCE option.

  • FORMER - disk was once part of a disk group but has been dropped cleanly from the group. It may be added to a new disk group with the ALTER disKGROUP statement.

  • CONFLICT - Oracle ASM disk was not mounted due to a conflict

  • FOREIGN - disk contains data created by an Oracle product other than Oracle ASM. This includes data files,logfiles,and OCR disks.

相关文章

Java Oracle 结果集是Java语言中处理数据库查询结果的一种方...
Java AES和Oracle AES是现代加密技术中最常使用的两种AES加密...
Java是一种广泛应用的编程语言,具备可靠性、安全性、跨平台...
随着移动互联网的发展,抽奖活动成为了营销活动中不可或缺的...
Java和Oracle都是在计算机领域应用非常广泛的技术,他们经常...
Java 是一门非常流行的编程语言,它可以运行于各种操作系统上...