<HTML dir=ltr><HEAD><TITLE></TITLE>
<META http-equiv=Content-Type content="text/html; charset=unicode">
<META content="MSHTML 6.00.6000.16414" name=GENERATOR></HEAD>
<BODY text=#000066 bgColor=#ffffcc>
<DIV id=idOWAReplyText87978 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>Quick turnaround!&nbsp; I was too deep in the details and didn't slow down enough to read it would seem, it didn't even occur to me that it wanted a specific file (since everyone always names them the same when not using raw).</FONT></DIV>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>As for the label= mounting - I can't mount with labels because powerpath presents each device multiple times, so multiple devices always have that label.&nbsp; I've not seen anyone present a solution for this, but admittedly I didn't dig long.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>Thanks very much for your response!</FONT></DIV></DIV>
<DIV id=idSignature86141 dir=ltr>
<DIV><FONT face=Arial color=#000000 size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial color=#000000 size=2>cheers.</FONT></DIV>
<DIV><FONT face=Arial color=#000000 size=2>-M</FONT></DIV></DIV>
<DIV dir=ltr><BR>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Marcos E. Matsunaga [mailto:Marcos.Matsunaga@oracle.com]<BR><B>Sent:</B> Tue 3/6/2007 6:30 PM<BR><B>To:</B> Martin Norland<BR><B>Cc:</B> ocfs2-users@oss.oracle.com<BR><B>Subject:</B> Re: [Ocfs2-users] Problem installing CRS<BR></FONT><BR></DIV>
<DIV><TT>Martin,<BR><BR>See my answers below:<BR></TT><BR>Martin Norland wrote: 
<BLOCKQUOTE cite="" type="cite"><PRE>I'm trying to install 10.2.0.1 (and then patch up to 10.2.0.3).  The
first step, of course , is to install CRS - but I'm getting the
following error when trying to specify the OCR location:

"The location /u02/ocr, entered for the Oracle Cluster Registry (OCR) is
a directory.  Specify a shared raw partition or cluster file system file
that is visible by the same name on all the nodes in the cluster."

  </PRE></BLOCKQUOTE>The message here is clear. You are specifying a directory and not a file. Best thing to do would be to create a subdirectory under the mount point (/u02) and then the OCR file. I may be wrong, but I think there is a but that prevents the CRS to create file directly on the mount point.<BR>
<BLOCKQUOTE cite="" type="cite"><PRE>The intention is to have 3 small partitions for the {2} OCR and {3} CSS
mirror(s), but I can't seem to get Oracle to acknowledge they're
clustered.  The clustered filesystems work fine, and cluvfy recognizes
them as shared.

=========
=== relevant lines from /etc/fstab:
/dev/sdc1           /u02                  ocfs2
_netdev,datavolume,nointr 0 0
/dev/sdc2           /u03                  ocfs2
_netdev,datavolume,nointr 0 0
/dev/sdc3           /u04                  ocfs2
_netdev,datavolume,nointr 0 0

  </PRE></BLOCKQUOTE>Make sure the device are mounted on the same mount point on both nodes. Better use LABEL=&lt;volume label&gt; instead of the device. That will prevent problems in case of device name changing.<BR>Also, make sure you can create a file on one node and see the same file on the other node. The CRS install script will do the same and compare them to make sure the devices are shared.<BR>
<BLOCKQUOTE cite="" type="cite"><PRE>=== Excerpt from `./runcluvfy.sh stage -post hwos -n rac01,rac02
-verbose`
Checking shared storage accessibility...

WARNING:
Unable to determine the sharedness of /dev/sda on nodes:
        rac02,rac01

  Disk                                  Sharing Nodes (2 in count)
  ------------------------------------  ------------------------
  /dev/sdb                              rac02 rac01
  /dev/sdc                              rac02 rac01

=== Permissions
# ls -ald /u02 /u02/ocr/ /u02/css/
drwxrwx---  6 oracle dba 4096 Mar  6 17:47 /u02
drwxrwx---  2 oracle dba 4096 Mar  5 20:09 /u02/css/
drwxrwx---  2 root   dba 4096 Mar  5 20:08 /u02/ocr/
=========

It's worth noting that I was mounting these through powerpath, but
backed off to /dev/sd identifiers in an attempt to get Oracle to
recognize them (since cluvfy wasn't acknowledging /dev/emcpower's).  I'd
originally intended to mount these off /u0#/cd#/, but also backed down
in attempt to get Oracle to spot them.

Any thoughts or any glaring holes in my setup that this noob is missing?
I didn't find anything on metalink related to this error, other than
recommendations to use raw devices (recommendations for a different
configuration).

Thanks,
-M
  </PRE></BLOCKQUOTE><BR><PRE class=moz-signature cols="72">-- 

Regards,

Marcos Eduardo Matsunaga

Oracle USA
Linux Engineering

7453 TG Lee Blvd     | Email     : <A class=moz-txt-link-abbreviated href="mailto:Marcos.Matsunaga@oracle.com">Marcos.Matsunaga@oracle.com</A>
Orlando, FL 32822    | Phone/Fax : (407)458-1710

A crisis is when you can't say "Let's forget the whole thing."
---------------------------------------------------------------------------------------
The statements and opinions expressed here are my own
and do not necessarily represent those of Oracle Corporation.

</PRE></DIV></BODY></HTML>