阿里云-云小站(无限量代金券发放中)
【腾讯云】云服务器、云数据库、COS、CDN、短信等热卖云产品特惠抢购

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

134次阅读
没有评论

共计 1859 个字符,预计需要花费 5 分钟才能阅读完成。

一、描述
测试安装三节点 Oracle 12C RAC,笔记本配置双核 i5 16g 内存,每台虚机分配 4G 内存。在集群软件安装过程中,无法找到候选磁盘,如下图所示:

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

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

二、处理过程

观察磁盘头状态,发现问题的原因。因为是测试环境,共享磁盘使用的是 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.

更多 Oracle 相关信息见Oracle 专题页面 http://www.linuxidc.com/topicnews.aspx?tid=12

本文永久更新链接地址:http://www.linuxidc.com/Linux/2017-08/146398.htm

正文完
星哥说事-微信公众号
post-qrcode
 0
星锅
版权声明:本站原创文章,由 星锅 于2022-01-22发表,共计1859字。
转载说明:除特殊说明外本站文章皆由CC-4.0协议发布,转载请注明出处。
【腾讯云】推广者专属福利,新客户无门槛领取总价值高达2860元代金券,每种代金券限量500张,先到先得。
阿里云-最新活动爆款每日限量供应
评论(没有评论)
验证码
【腾讯云】云服务器、云数据库、COS、CDN、短信等云产品特惠热卖中