[Oracleasm-users] RHAT 4 update 2 multipath

Rodionov, Sergey SRodionov at ert.com
Fri Oct 21 16:07:37 CDT 2005


Hi,
  I am trying to configure ASMLib with RHEL 4.0 update 2 with multipath
devices.
  I have 2 DELL Itanium 2 servers. 
  Each server has 2 QLogic cards. I configured multipath driver. This driver
created for me 3 devices in /dev/mapper:

[root at hacksaw mapper]# ls -l
total 0
brw-rw----  1 root disk 253,  0 Oct 21 13:53
360a9800056716a37473430716c465849
brw-rw----  1 root disk 253,  1 Oct 21 13:53
360a9800056716a37473430716c4b7065
brw-rw----  1 root disk 253,  2 Oct 21 13:53
360a9800056716a37473430716c4d4a46

Those devices represented disks:
[root at hacksaw mapper]# multipath -l
360a9800056716a37473430716c4b7065
[size=110 GB][features="0"][hwhandler="0"]
\_ round-robin 0 [active]
  \_ 3:0:0:9 sdc  8:32    [active]
  \_ 3:0:3:9 sdf  8:80    [active]
  \_ 4:0:0:9 sdi  8:128   [active]
  \_ 4:0:3:9 sdl  8:176   [active]

360a9800056716a37473430716c465849
[size=35 GB][features="0"][hwhandler="0"]
\_ round-robin 0 [active]
  \_ 3:0:0:8 sdb  8:16    [active]
  \_ 3:0:3:8 sde  8:64    [active]
  \_ 4:0:0:8 sdh  8:112   [active]
  \_ 4:0:3:8 sdk  8:160   [active]

360a9800056716a37473430716c4d4a46
[size=124 GB][features="0"][hwhandler="0"]
\_ round-robin 0 [active]
  \_ 3:0:0:10 sdd  8:48    [active]
  \_ 3:0:3:10 sdg  8:96    [active]
  \_ 4:0:0:10 sdj  8:144   [active]
  \_ 4:0:3:10 sdm  8:192   [active]


After that I created partitions for thise devices:
[root at hacksaw mapper]# kpartx -l
/dev/mapper/360a9800056716a37473430716c465849
360a9800056716a37473430716c465849p1 : 0 489440
/dev/mapper/360a9800056716a37473430716c465849 32
360a9800056716a37473430716c465849p2 : 0 149504
/dev/mapper/360a9800056716a37473430716c465849 489472
360a9800056716a37473430716c465849p3 : 0 72769536
/dev/mapper/360a9800056716a37473430716c465849 638976

I can see them from fdisk /dev/mapper/360a9800056716a37473430716c465849

When I am executing 
[root at 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

It generates me errors:
7345  ioctl(4, 0x4c05, 0x60000fffffffb230) = -1 ENOTTY (Inappropriate ioctl
for device)
7345  ioctl(4, 0x4c03, 0x60000fffffffb230) = -1 ENOTTY (Inappropriate ioctl
for device)
7345  ioctl(4, 0x301, 0x60000fffffffb620) = -1 ENOTTY (Inappropriate ioctl
for device)

Am I using wron partition names?

Thanks,
    Sergey Rodionov

    The impossible we do immediately. 
    Miracles require 24-hour notice.  
 




More information about the Oracleasm-users mailing list