[Oracleasm-users] RHAT 4 update 2 multipath
Clemens Bleile
clemens.bleile at oracle.com
Sun Oct 23 06:04:59 CDT 2005
Hi,
one thing to keep in mind: When the ASMLIB scans for devices it checks
/proc/partitions
Usually multipath-device-partitions are named dm-<number>. I.e. you
usually have to configure in your oracleasm-file:
ORACLEASM_SCANORDER=dm
ORACLEASM_SCANEXCLUDE=sd
Ciao
Clemens
Rodionov, Sergey wrote:
>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
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://oss.oracle.com/pipermail/oracleasm-users/attachments/20051023/dd939fd8/attachment.html
More information about the Oracleasm-users
mailing list