RE: fdisk, device mapper and asmlib
Date: Fri, 17 Feb 2012 22:05:26 +0100
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.
Oracle Database Administrator
tel +32(0)3 451 23 82
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
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.
On 17/02/2012 21:34, Radoulov, Dimitre wrote:
> Hi all,
> again a 2 node RAC 22.214.171.124.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: