重庆思庄Oracle、、PostgreSQL、Redhat认证学习论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 723|回复: 0
打印 上一主题 下一主题

[参考文档] ODA: Multipath Disk Partition Was Added with an Incorrect Logical Disk Name a...

[复制链接]
跳转到指定楼层
楼主
发表于 2025-2-9 11:02:34 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
现象:
1) Multipath disk partition (e.g. "/dev/mapper/HDD_E0_S14_3xxxxxxx6p1") was added to an ODA diskgroup (e.g. +DATA) as follows:

SQL> alter diskgroup DATA add disk '/dev/mapper/HDD_E0_S14_3xxxxxxx6p1';


2) But it was added with a non-standard failgroup name (e.g. "DATA_0014" instead of "HDD_E0_S14_3xxxxxxx6P1") and logical disk name (e.g. "DATA_0014" instead of "HDD_E0_S14_3xxxxxxx6P1"):

Group# Disk# MNT_STA HDR_STAT MODE_ST STATE Total (GB) Free (GB) FAILGROUP NAME PATH
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 14 CACHED MEMBER ONLINE NORMAL 360 359.1 DATA_0014 DATA_0014 /dev/mapper/HDD_E0_S14_3xxxxxxx6p1


原因:
Disk was added with non-standard failgroup name and logical name (the names were not explicitly defined in the "ALTER DISKGROUP … ADD FAILGROUP …DISK" statement).


处理方法:
We can correct this situation as follows:



1) Drop the associated logical ASM disk (e.g. “DATA_0014” ):

SQL> alter diskgroup data drop disks in failgroup DATA_0014 rebalance power 11;


2) Wait until rebalance operation completes:

SQL> select * from gv$asm_operation;


3) Then add the multipath disk partition back as follows:

SQL> alter diskgroup DATA add failgroup HDD_E0_S14_3xxxxxxx6p1 disk '/dev/mapper/HDD_E0_S14_3xxxxxxx6p1' name HDD_E0_S14_3xxxxxxx6p1 rebalance power 11;


4) Wait until rebalance operation completes:

SQL> select * from gv$asm_operation;


5) Check the new failgroup name and logical disk name:

Group# Disk# MNT_STA HDR_STAT MODE_ST STATE Total (GB) Free (GB) FAILGROUP NAME PATH
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 14 CACHED MEMBER ONLINE NORMAL 360 359.1 HDD_E0_S14_3xxxxxxx6P1 HDD_E0_S14_3xxxxxxx6P1 /dev/mapper/HDD_E0_S14_3xxxxxxx6p1

分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 支持支持 反对反对
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|手机版|小黑屋|重庆思庄Oracle、Redhat认证学习论坛 ( 渝ICP备12004239号-4 )

GMT+8, 2025-4-26 21:33 , Processed in 0.105019 second(s), 21 queries .

重庆思庄学习中心论坛-重庆思庄科技有限公司论坛

© 2001-2020

快速回复 返回顶部 返回列表