[Oracleasm-users] RHAT 4 update 2 multipath

Rodionov, Sergey SRodionov at ert.com
Fri Oct 21 16:51:05 CDT 2005


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 [mailto:Joel.Becker at oracle.com]
Sent: Friday, October 21, 2005 5:27 PM
To: Rodionov, Sergey
Cc: 'oracleasm-users at oss.oracle.com'
Subject: Re: [Oracleasm-users] RHAT 4 update 2 multipath


On Fri, Oct 21, 2005 at 05:07:37PM -0400, Rodionov, Sergey wrote:
> [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

	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 http://otn.oracle.com/tech/linux/asmlib/multipath.html
for tips on making sure ASMLib sees your multipath device first.

Joel

-- 

"For every complex problem there exists a solution that is brief,
     concise, and totally wrong."
                                        -Unknown

Joel Becker
Principal Software Developer
Oracle
E-mail: joel.becker at oracle.com
Phone: (650) 506-8127
_______________________________________________
Oracleasm-users mailing list
Oracleasm-users at oss.oracle.com
http://oss.oracle.com/mailman/listinfo/oracleasm-users



More information about the Oracleasm-users mailing list