Posted by Kamran Agayev A. on May 27th, 2014
It took me some time to investigate why CRSCTL REPLACE VOTEDISK command is not working.
[oracle@node1 ~]$ crsctl replace votedisk VDISK
CRS-4264: The operation could not be validated
CRS-4000: Command Replace failed, or completed with errors.
When you get an error during VOTEDISK replacement, make sure you check the following items:
- Make sure the disk group you’re moving the voting disk is mounted on all nodes.
- Make sure the compatibility parameter is set to the version of Grid software you’re using. You can change it using the following command:
alter diskgroup VDISK set attribute ‘compatible.asm’=’11.2′;
Query V$ASM_DISKGROUP view to make sure it’s the same with the rest disk groups and with the version of the Grid Software:
select group_number, name, compatibility, database_compatibility from v$asm_diskgroup;
- Check alert.log file of an ASM instance, any available trace file of the ASM instance. Check /var/log/messages file and trace the replace command usint strace file. See if you can catch any error from the log file:
[grid@node5 ~]strace crsctl replace votedisk VDISK
- Make sure you’ve an odd number of votedisk
- Make sure there’s enough space in the diskgroup
- Make sure disk permissions is correct
- Make sure you’re running the command using Grid Software owner
Today, all above mentioned checks are failed . In my case, the problem was using incorrect “crsctl” command. After upgrading the RAC environment from 11.2.0 to 11.2.3 I was still using old crsctl (by accident, forgot to set environment variables correctly). But no need to worries, it was a test database.
Let me know if you have any additional check to investigate voting disk replace failure