Kamran Agayev's Oracle Blog

Oracle Certified Master

How to troubleshoot CRSCTL REPLACE VOTEDISK error?

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

Cheers

4 Responses to “How to troubleshoot CRSCTL REPLACE VOTEDISK error?”

  1. raj gupta Says:

    Thanks for sharing new info. But still did not get what is the new command to replace voting disk.

    Reg. Raj Gupta

  2. Kamran Agayev A. Says:

    Hi Raj, thank you for the comment
    In this article, I don’t share the new command, but share the possible errors that one can get while replacing voting disk

  3. raj gupta Says:

    Hello Sir.
    Thanks for quick response.

    I m your followrs.. in llinkedin nd ur blog.
    I need your help to get internal for RAC11GR2 including cluster nd asm.
    If you can help me pls do the needful. As of now i have good idea bt now i m intrested to know intrnall concept for all rac services
    Pls share if u have realeted docs for the same.
    Sir also i have more doubt on tew topics.. Is i can post here in this bolg to clear my doubt.

    Again thanks for reply and wonderful blog for all oracle learner.

    Thanks .. Raj Gupta

    Pls ignore typo

  4. Kamran Agayev A. Says:

    Hi Raj

    If you need to get more information about RAC internals, I would suggest you to visit Riyaj’s blog – orainternals.wordpress.com
    If you have any doubts related with Oracle, please read documentation and check metalink notes, or ask questions as forums.oracle.com

    Cheers,

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>