to view Votedisk storage information:
Erpdb1$[/home/oracle]crsctl Query CSS Votedisk
0.0/dev/jcerp_vote_disk3
1.0/dev/jcerp_vote_disk1
2.0/dev/jcerp_vote_disk2
Located 3 Votedisk (s).
backup votedisk: DD if=/dev/raw/votediskcopied OF=/DEV/RAW/RAW1
restore Votedisk: dd if=/dev/raw/raw1 of=/dev/raw/votediskcopied
to view OCRs information:
Erpdb1$[/home/oracle]ocrcheck
Status of Oracle Cluster Registry is as follows:
Version:2
Total Space (Kbytes): 261916
Used Space (Kbytes): 4368
Available Space (Kbytes): 257548
id:1501608293
Device/file Name:/dev/jcerp_ocr_disk1
Device/file Integrity Check Succeeded
Device/file Name:/dev/jcerp_ocr_disk2
Device/file Integrity Check Succeeded
Cluster Registry Integrity Check succeeded
Export Import
You can use raw commands to back up and restore, but Ocrconfig provides a special command to export and import also provides a way to mirror
OCR Manual export:ocrconfig-export/tmp/ocr_bak
OCR manual import:Ocrconfig-import/tmp/ocr_bak
Restore OCR OCRCONFIG-RESTORE/OPT/PRODUCT/10.2.0.1/CRS/CDATA/CRS/BACKUP01.OCR
To add an OCR mirror disk:
Create a raw device for mirroring OCR , for example:/dev/raw/ocrcopied
Using Ocrconfig–export to export OCR information
edit/etc/oracle/ocr.loc file , add Ocrmirrorconfig_loc Line
$ cat Ocr.loc
Ocrconfig_loc=/dev/raw/raw2
Ocrmirrorconfig_loc=/dev/raw/ocrcopied
Local_only=false
To import OCR information with Ocrconfig–import