OCFS2 mount notice

if you preprare the rac environment with OCFS2 storage,be ware of the mount option, otherwise you will meet the error information as below when execute the "root.sh":

————————————————————————–

PROT-1: Failed to initialize ocrconfig
Failed to upgrade Oracle Cluster Registry configuration

———————————————————————————————————————

there are error msg in ocr logs which indicate the wrong FS mount option as below:

———————————————————————————————————————

 

2012-09-24 16:55:56.298: [ OCRCONF][2538053312]ocrconfig starts…
2012-09-24 16:55:56.302: [ OCRCONF][2538053312]Upgrading OCR data
2012-09-24 16:55:56.304: [  OCROSD][2538053312]utstoragetype: /ocfs/share_config/ocr is on FS type 1952539
503. Not supported.
2012-09-24 16:55:56.304: [  OCROSD][2538053312]utopen:6'': OCR location /ocfs/share_config/ocr configured
is not valid storage type. Return code [37].
2012-09-24 16:55:56.304: [  OCRRAW][2538053312]proprinit: Could not open raw device
2012-09-24 16:55:56.305: [ default][2538053312]a_init:7!: Backend init unsuccessful : [37]
2012-09-24 16:55:56.305: [ OCRCONF][2538053312]Exporting OCR data to [OCRUPGRADEFILE]
2012-09-24 16:55:56.305: [  OCRAPI][2538053312]a_init:7!: Backend init unsuccessful : [33]
2012-09-24 16:55:56.306: [ OCRCONF][2538053312]There was no previous version of OCR. error:[PROC-33: Oracl
e Cluster Registry is not configured]
2012-09-24 16:55:56.306: [  OCROSD][2538053312]utstoragetype: /ocfs/share_config/ocr is on FS type 1952539
503. Not supported.
2012-09-24 16:55:56.306: [  OCROSD][2538053312]utopen:6'': OCR location /ocfs/share_config/ocr configured
is not valid storage type. Return code [37].
2012-09-24 16:55:56.306: [  OCRRAW][2538053312]proprinit: Could not open raw device
2012-09-24 16:55:56.306: [ default][2538053312]a_init:7!: Backend init unsuccessful : [37]
2012-09-24 16:55:56.306: [  OCROSD][2538053312]utstoragetype: /ocfs/share_config/ocr is on FS type 1952539
503. Not supported.
2012-09-24 16:55:56.306: [  OCROSD][2538053312]utopen:6'': OCR location /ocfs/share_config/ocr configured
is not valid storage type. Return code [37].
2012-09-24 16:55:56.307: [  OCRRAW][2538053312]proprinit: Could not open raw device
2012-09-24 16:55:56.307: [  OCRAPI][2538053312]a_init:6b!: Backend init unsuccessful : [37]
2012-09-24 16:55:56.307: [ OCRCONF][2538053312]Failed to initialized OCR context. error:[PROC-37: Oracle Cluster Registry does not support the storage type co
nfigured]
2012-09-24 16:55:56.307: [ OCRCONF][2538053312]Exiting [status=failed]…
 

———————————————————————————————————————————

the reason what there are so many error msg is that you did not follow the mount instruction as below:

———————————————————————————————————————————
Comannd line:
#mount   -o     datavolume,    nointr,    noatime       /dev/sda1     /u01
Fstab:
/dev/sda1         /u01        ocfs2        _netdev,datavolume,nointr,noatime 0 0
———————————————————————————————————————————
 
this is quite necessary!
 
you can find more information in MOS: Recommended Ocfs2 1.4.1 mount options with DB volumes [ID 835839.1]
 
—EOF—