<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
  <title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
<br>
Hi,<br>
<br>
one thing to keep in mind: When the ASMLIB scans for devices it checks<br>
<br>
/proc/partitions<br>
<br>
Usually multipath-device-partitions are named dm-&lt;number&gt;. I.e.
you usually have to configure in your oracleasm-file:<br>
<br>
<span class="bodycopy">
<pre style="font-size: smaller;">ORACLEASM_SCANORDER=dm
<span class="bodycopy"><pre style="font-size: smaller;">ORACLEASM_SCANEXCLUDE=sd</pre></span>
</pre>
</span>Ciao<br>
<br>
Clemens<br>
<br>
Rodionov, Sergey wrote:<br>
<blockquote type="cite"
 cite="midD5C28D79EFAC40479EADED7E4D218D530B8B31@krusty.bw.ert.com">
  <pre wrap="">Thanks for prompt response,

How to label member disk? Is it the same like create link on device (like ln
-s).

I can create ASM disk with /dev/sdb3 but in this case multipath does not
work.

  Sergey Rodionov

-----Original Message-----
From: Joel Becker [<a class="moz-txt-link-freetext" href="mailto:Joel.Becker@oracle.com">mailto:Joel.Becker@oracle.com</a>]
Sent: Friday, October 21, 2005 5:27 PM
To: Rodionov, Sergey
Cc: '<a class="moz-txt-link-abbreviated" href="mailto:oracleasm-users@oss.oracle.com">oracleasm-users@oss.oracle.com</a>'
Subject: Re: [Oracleasm-users] RHAT 4 update 2 multipath


On Fri, Oct 21, 2005 at 05:07:37PM -0400, Rodionov, Sergey wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">[root@hacksaw mapper]# asmtool -l /dev/oracleasm -C -n REP1 -s
/dev/mapper/360a9800056716a37473430716c465849p3
asmtool: Device "/dev/mapper/360a9800056716a37473430716c465849p3" is not a
partition
 I have created trace file :
 strace -f -o /tmp/log asmtool -l /dev/oracleasm -C -n REP1 -s
/dev/mapper/360a9800056716a37473430716c465849p
    </pre>
  </blockquote>
  <pre wrap=""><!---->
        Yes, dm does not provide HDIO_GETGEO, so I cannot determine that
the device is, indeed, a partition.  I'm working on a solution.
        The workaround is to label the member disk (/dev/sdXN) and then
restart ASMLib.  ASMLib will happily discover existing devices, it only
errors when trying to _create_ an unpartitioned device.
        See also <a class="moz-txt-link-freetext" href="http://otn.oracle.com/tech/linux/asmlib/multipath.html">http://otn.oracle.com/tech/linux/asmlib/multipath.html</a>
for tips on making sure ASMLib sees your multipath device first.

Joel

  </pre>
</blockquote>
</body>
</html>