<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="MSHTML 6.00.2800.1505" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><!--StartFragment --><FONT face="Times New Roman"
size=3><SPAN class=314100902-29062005><FONT face=Arial size=2>We're trying
something similar. We have IBM x335's connected to an ESS (Shark) 750. We're
running Red Hat ES 3.0 Update 4 and IBM's SDD. We were getting the same "Device
<blah> is not a partition" when trying to run oracleasm createdisk. We
found a way past that. It's kludgy, but seems to work. We ran the createdisk
command using the underlying sd (ie. /dev/sdd1) instead of the vpath (ie.
/dev/vpatha1). That created the asm VOL# successfully. We then set the
ORACLEASM_SCANORDER parameter in /etc/sysconfig/oracleasm to "vpath sd" so the
vpath would be picked up and used upon reboot. After rebooting,
an oracleasm querydisk of that disk shows it using the major/minor #'s
for the vpath instead of the sd.</FONT></SPAN></FONT></FONT></DIV>
<DIV><FONT face=Arial size=2><FONT face=Arial size=2><SPAN
class=314100902-29062005></SPAN></FONT></FONT> </DIV>
<DIV><FONT><FONT><SPAN class=314100902-29062005></SPAN></FONT></FONT><FONT
face=Arial><SPAN class=314100902-29062005><FONT size=2>BUT, when we then try to
create a diskgroup in our ASM instance using that disk (ORCL:VOL1 and another
one VOL2), we get:</FONT></SPAN></FONT></DIV>
<DIV><FONT face=Arial><SPAN class=314100902-29062005><FONT
size=2></FONT></SPAN></FONT> </DIV>
<DIV><FONT face=Arial><SPAN class=314100902-29062005><FONT size=2>SQL> create
diskgroup dgroup1 external redundancy disk 'ORCL:VOL*';<BR>create diskgroup
dgroup1 external redundancy disk 'ORCL:VOL*'<BR>*<BR>ERROR at line
1:<BR>ORA-15018: diskgroup cannot be created<BR>ORA-15186: ASMLIB error function
= [asm_io], error = [3], mesg = [I/O Error]<BR>ORA-15186: ASMLIB
error function = [asm_io], error = [3], mesg = [I/O
Error]<BR></FONT></SPAN></FONT></DIV>
<DIV><FONT face=Arial><SPAN class=314100902-29062005><FONT size=2>Could we be
hitting another GETGEO issue, just in a different section of the code? Any way
to strace the sqlplus command to verify this? (Joel/Heath: did you ever find a
fix for your error?)</FONT></SPAN></FONT></DIV>
<DIV><FONT face=Arial><SPAN class=314100902-29062005><FONT
size=2></FONT></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=314100902-29062005>P.S. If it helps, we
get a slightly different error if we try the above "create diskgroup" command a
second time:</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=314100902-29062005></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=314100902-29062005>SQL> create
diskgroup dgroup1 external redundancy disk 'ORCL:VOL*';<BR>create diskgroup
dgroup1 external redundancy disk 'ORCL:VOL*'<BR>*<BR>ERROR at line
1:<BR>ORA-15018: diskgroup cannot be created<BR><STRONG>ORA-00600: internal
error code, arguments: [kfgrpJoin2], [5], [], [], [], [], [],
[]<BR></STRONG>ORA-15186: ASMLIB error function = [asm_io], error =
[3], mesg = [I/O Error]<BR>ORA-15186: ASMLIB error function =
[asm_io], error = [3], mesg = [I/O Error]</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=314100902-29062005></SPAN></FONT> </DIV>
<DIV><FONT face=Arial><SPAN class=314100902-29062005><FONT
size=2>Matt</DIV></FONT></SPAN><PRE><FONT size=2>On Fri, Jun 03, 2005 at 07:43:42PM -0500, heath seals wrote:
></FONT><FONT size=2><I> I'm seeing these calls to ioctl :
</I>></FONT><FONT size=2><I>
</I>></FONT><FONT size=2><I> 28040 ioctl(4, 0x4c05, 0xfeff9130) = -1 EINVAL (Invalid argument)
</I>></FONT><FONT size=2><I> 28040 ioctl(4, 0x4c03, 0xfeff9130) = -1 EINVAL (Invalid argument)
</I>></FONT><FONT size=2><I> 28040 ioctl(4, 0x301, 0xfeff9530) = -1 EINVAL (Invalid argument)
</I>
        Tada. 0x4c05 = LOOP_GET_STATUS64, 0x4c03 = LOOP_GET_STATUS, and
0x301 is HDIO_GETGEO. Since the IBM driver does not support GETGEO,
ASMLib cannot determine whether it is a partition or not. IBM needs to
fix that.
Joel</FONT></PRE></FONT>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><SPAN class=314100902-29062005><FONT face=Arial
size=2>Matt</FONT></SPAN></DIV></BODY></HTML>