Ocrconfig Failed With Error PROT-30 PROC-50

Try to add OCR into  new diskgroup ‘+OCR_VOTE’, and get below errors:

# ./ocrconfig -add OCR_VOTE
PROT-30: The Oracle Cluster Registry location to be added is not usable
PROC-50: The Oracle Cluster Registry location to be added is inaccessible on nodes racnode1.

Check crsd.trc log, the error is very obvious that  “OCR file/disk OCR_VOTE  No such file or directory”.

2018-01-25 14:55:18.658112 : OCRSRV:3726690624: utstoragetypecommon:failed in stat OCR file/disk OCR_VOTE, errno=2, os 
err string=No such file or directory. Returns [8]
2018-01-25 14:55:18.658123 : OCRSRV:3726690624: proprstcheckstoarge: sproprutstoragetypecommon Return [8]. OS error [2]. 
Error detail [No such file or directory]
 OCRSRV:3726690624: proas_replace_dev: Failed to verify the OCR location [OCR_VOTE] on local node. Retval:[8]. Error: 
[No such file or directory]

Check ocrconfig log :

$/u01/app/grid/diag/crs/racnode1/crs/trace$ cat ocrconfig_83818.trc
Trace file /u01/app/grid/diag/crs/racnode1/crs/trace/ocrconfig_83818.trc
Oracle Database 12c Clusterware Release - Production Copyright 1996, 2014 Oracle. All rights reserved.
2018-01-25 15:56:13.188061 : OCRCONF: ocrconfig starts...
 default: prgdevid: Failed to open the OCR location to be added [OCR_VOTE]. Retval[2]
 OCRCONF: chkid: Failed to get the OCR id from the new device to be added/replaced[OCR_VOTE]. Retval[26]
2018-01-25 15:56:13.270558 : OCRCONF: Failed to compare the OCR id in the device to be added/replaced [OCR_VOTE] and OCR 
id in repository the context is pointing to. Skiping the check.
2018-01-25 15:56:13.271684 : OCRCLI: proac_replace_dev:[OCR_VOTE]: Failed. Retval [50]
2018-01-25 15:56:13.271745 : OCRAPI: procr_replace_dev: failed to replace device (50)
2018-01-25 15:56:13.271783 : OCRCONF: Failed to replace the OCR device. OCR error:[PROC-50: The Oracle Cluster Registry 
location to be added is inaccessible on nodes racnode1.]
2018-01-25 15:56:13.271815 : OCRCONF: The new OCR device [OCR_VOTE] cannot be opened
2018-01-25 15:56:13.271840 : OCRCONF: Exiting [status=failed]...

Checked physical disk and ASM disk are all good.

Finally check back the command and find ‘+’ is missing from diskgroup name.

# ./ocrconfig -add +OCR_VOTE