1. 程式人生 > >ASM之ARCH磁碟組掛了學習筆記

ASM之ARCH磁碟組掛了學習筆記

alter diskgroup arch mount
*
ERROR at line 1:
ORA-15032: not all alterations performed
ORA-15130: diskgroup "ARCH" is being dismounted
ORA-15066: offlining disk "ARCH_0001" in group "ARCH" may result in a data loss
ORA-15196: invalid ASM block header [kfr.c:8522] [endian_kfbh] [3] [10805] [0!= 1]

重啟時磁碟頭有問題,粗暴地解決的這個問題 。前提是磁碟組ARCH 內容可棄


ALTER DISKGROUP ARCH DROP DISK '/dev/asm-diskg' force;

DROP DISKGROUP ARCH FORCE

清一下磁碟頭資訊:

dd if=/dev/zero of=/dev/asm-diskg  bs=8192 count=128000

su - grid

asmca  重新建立diskgorup  ARCH

 

 

以下是學習筆記:

清除ASM磁碟資訊:
dd if=/dev/zero of=/dev/sdxx bs=8192 count=128000

 alter diskgroup DATA dismount;
 drop diskgroup DATA force including contents;
 srvctl remove diskgroup -g DATA -f


 create diskgroup data2 external redundancy disk '/dev/asm-diskd';