Drop an ASM disk thats contains a Voting Disk

Drop an ASM disk thats contains a Voting Disk

1.  check the location of voting disk

crsctl query css votedisk
##  STATE    File Universal Id                File Name Disk group
—  —–    —————–                ——— ———
 1. ONLINE   48d3710843274f88bf1eb9b3b5129a7d (ORCL:ASMDISK01) [DATA]
 2. ONLINE   354cfa8376364fd2bfaa1921534fe23b (ORCL:ASMDISK02) [DATA]
3. ONLINE   762ad94a98554fdcbf4ba5130ac0384c (ORCL:ASMDISK03) [DATA]

 
2. Connect with asm instance

sqlplus / as sysdba

select name,group_number from v$asm_diskgroup;
select name from v$asm_disk where group_number=1;

 
3. Drop the disk allocated to voting disk

alter diskgroup data drop disk ‘ASMDISK01’;
alter diskgroup data drop disk ‘ASMDISK02’;

 
4. Check again only one disk left

select name from v$asm_disk where group_number=1;

 
5. Create new disk group by external redundancy

CREATE DISKGROUP FRA External REDUNDANCY DISK ‘/devices/diska1’ NAME ASMDISK01;

 

6. Replace votedisk to +FRA

crsctl replace votedisk +FRA;

 

7. check the status of votedisk

crsctl query css votedisk

 

8. Either drop the last asmdisk03 left or add asmdisk02 into data group.

alter diskgroup data drop disk ‘ASMDISK03’;
alter diskgroup data add disk ‘aSmdisk02’;

 
9. use this diskgroup as data diskgroup
 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.