Tag Archives: Voting disk

Drop an ASM disk thats contains a Voting Disk

Drop an ASM disk that 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.