[Ocfs2-users] Problems building ocfs2 rpm on Fedora 9

Luis Freitas lfreitas34 at yahoo.com
Tue Jul 1 07:42:56 PDT 2008


Tina,
 
   I believe Sunil already answered this before but...
 
  Since there is no datavolume option on the version you are using the application needs to use "directio" to guarantee the changes are flushed immediatelly to disk. 
 
   You force this for the database using some parameters (filesystemio_options). But there is no such parameter for the OCR and voting disk. 
 
   So you will need to partition your disk to create some raw devices for those, to keep them out of OCFS2. You could do with one OCR and one voting disk, but the minimum recommended is to have two OCRs and three voting disks on different physical devices. Even with a single disk the multiple copies of the OCR may be usefull if one of them becomes corrupted. 
 
  On 10g, when using ASM instead of OCFS2, I usually create two 170Mb partitions for the OCR and three 20Mb partitions for the voting disk, I dont have the recommended sizes for 11g here. You will need to map those to raw devices, there is usually a "/etc/raw" configuration file where you can do the mappings and you will need to add the oracle user to the "disk" group to give write access to the partitions. 
 
Regards,
Luis

--- On Tue, 7/1/08, Tina Soles <tina.soles at strsoftware.com> wrote:

From: Tina Soles <tina.soles at strsoftware.com>
Subject: Re: [Ocfs2-users] Problems building ocfs2 rpm on Fedora 9
To: SUNIL.MUSHRAN at ORACLE.COM, "Tao Ma" <tao.ma at ORACLE.COM>
Cc: ocfs2-users at oss.oracle.com
Date: Tuesday, July 1, 2008, 10:20 AM

Sunil,

I am setting up an Oracle RAC using these instructions
http://www.oracle.com/technology/pub/articles/hunter_rac10gr2_2.html#16

which states the following:

"Note: You are using the datavolume option to mount the new filesystem
here. Oracle database users must mount any volume that will contain the
Voting Disk file, Cluster Registry (OCR), Data files, Redo logs, Archive
logs, and Control files with the datavolume mount option so as to ensure
that the Oracle processes open the files with the o_direct flag. The
nointr option ensures that the I/O's are not interrupted by signals."

It is my understanding that the Voting Disk and OCR files must reside on
shared storage. I'm using a firewire drive for my shared storage. Is
there anywhere else I can place the voting disk and OCR files other than
my firewire drive? It is the only "shared storage" device that I have
setup.

Sorry about the confusion. Any help you can give me would be most
appreciated.

Thanks.  



-----Original Message-----
From: SUNIL.MUSHRAN at ORACLE.COM [mailto:SUNIL.MUSHRAN at ORACLE.COM] 
Sent: Sunday, June 29, 2008 11:20 PM
To: Tao Ma; Tina Soles
Cc: ocfs2-users at oss.oracle.com
Subject: Re: [Ocfs2-users] Problems building ocfs2 rpm on Fedora 9

datavolume mount option is only on ocfs2 for enterprise kernels.

For most part, you shouldn't require it for using it as a datastore.
Instead set init.ora param filesystemio_options to directio (or is it
odirect).

The only bit that won't work here is using ocfs2 for the voting disk and
ocr... as datavolume is necessary to force enable odirect.
But you can always use raw for that.

Sunil

_______________________________________________
Ocfs2-users mailing list
Ocfs2-users at oss.oracle.com
http://oss.oracle.com/mailman/listinfo/ocfs2-users


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://oss.oracle.com/pipermail/ocfs2-users/attachments/20080701/56ccbcfe/attachment-0001.html 


More information about the Ocfs2-users mailing list