RE: fdisk, device mapper and asmlib

From: D'Hooge Freek <Freek.DHooge_at_uptime.be>
Date: Fri, 17 Feb 2012 22:05:26 +0100
Message-ID: <4814386347E41145AAE79139EAA398981CBE308FED_at_ws03-exch07.iconos.be>



Dimitre,
You probably need to rescan the partition table from the second node. You can do this by using blockdev --rereadpt <single path device> Once you have done this, it could be you still need to reread the partition table on the multipath device, which can be done using partprobe. After that it could be necessary to use kpartx to create the new partition.

I never found why sometimes the multipath and / or the multipath partition steps needed to be done and why the sometimes where directly correct after using the blockdev command on one of the single path devices. I can only guess it has something to do with caching.

Regards,  

Freek D'Hooge
Uptime
Oracle Database Administrator
email: freek.dhooge_at_uptime.be
tel +32(0)3 451 23 82
http://www.uptime.be
disclaimer: www.uptime.be/disclaimer

-----Original Message-----
From: oracle-l-bounce_at_freelists.org [mailto:oracle-l-bounce_at_freelists.org] On Behalf Of Radoulov, Dimitre Sent: vrijdag 17 februari 2012 21:42
To: ORACLE-L
Subject: Re: fdisk, device mapper and asmlib

Just to add that kpartx and partprobe were executed on the second node after the partition was recreated.

Dimitre

On 17/02/2012 21:34, Radoulov, Dimitre wrote:
>
> Hi all,
> again a 2 node RAC 11.2.0.3.1 setup on RHEL 5.7
> asmlib oracleasm-2.6.18-274.17.1.el5-2.0.5-1.el5
> (kernel in use oracleasm-2.6.18-274.17.1.el5)
> Linux native multipath - device mapper
> asm scan order: "mpath_string dm"
> asm exclude: "sd"
>
> We're facing the following issue:

[...]

--
http://www.freelists.org/webpage/oracle-l


--
http://www.freelists.org/webpage/oracle-l
Received on Fri Feb 17 2012 - 15:05:26 CST

Original text of this message