Re: ASM and EMC PowerPath

  • From: goran bogdanovic <goran00@xxxxxxxxx>
  • To: "Radoulov, Dimitre" <cichomitiko@xxxxxxxxx>
  • Date: Wed, 20 Apr 2011 13:58:03 +0200

... as per note ;-)

-bash-3.2 $ cat /etc/sysconfig/oracleasm | egrep -i 'scano|exc'
# ORACLEASM_SCANORDER: Matching patterns to order disk scanning
ORACLEASM_SCANORDER="emcpower"
# ORACLEASM_SCANEXCLUDE: Matching patterns to exclude disks from scan
ORACLEASM_SCANEXCLUDE="sd dm"

regards,
goran


2011/4/20 Radoulov, Dimitre <cichomitiko@xxxxxxxxx>

>
> Thanks Goran,
> yes, in your case querydisk -d reports the pseudo-device (emcpowerXn).
>
> It seems that, at least with kernel 2.6, either path (emcpower or sd) could
> be used
> (see www.freelists.org/post/oracle-l/ASM-and-EMC-PowerPath,24).
>
> Just curious,
> did you configure ORACLEASM_SCANORDER in /etc/sysconfig/oracleasm?
>
>
>
> Best regards
> Dimitre
>
>
>
> On 20/04/2011 13:17, goran bogdanovic wrote:
>
>
>
>> querydisk -d returns the major/minor of one of the physical paths
>> to the disk, not the emcpower path (I checked /proc/partitions for that),
>> that's why I think it actually doesn't use the logical devices.
>> I say "I think", because I'm not finding this anywhere in the docs for
>> now.
>>
>
> in my case:
>
> oracle@momos@+ASM: ~
> -bash-3.2 $ oracleasm querydisk -p vol1
> Disk "VOL1" is a valid ASM disk
> /dev/emcpowera1: LABEL="VOL1" TYPE="oracleasm"
> /dev/sdx1: LABEL="VOL1" TYPE="oracleasm"
> /dev/sdm1: LABEL="VOL1" TYPE="oracleasm"
> /dev/sdb1: LABEL="VOL1" TYPE="oracleasm"
> /dev/sdai1: LABEL="VOL1" TYPE="oracleasm"
> /dev/sdat1: LABEL="VOL1" TYPE="oracleasm"
> /dev/sdbe1: LABEL="VOL1" TYPE="oracleasm"
> /dev/sdbp1: LABEL="VOL1" TYPE="oracleasm"
> /dev/sdca1: LABEL="VOL1" TYPE="oracleasm"
>
> oracle@momos@+ASM: ~
> -bash-3.2 $ oracleasm querydisk -d vol1
> Disk "VOL1" is a valid ASM disk on device [120, 1]
>
> -bash-3.2 $ cat /proc/partitions |grep '120'
>  120    48  281018368 emcpowerd
>  120    49  281016981 emcpowerd1
>  120    64   41943040 emcpowere
>  120    65   41943024 emcpowere1
>  120     0  281018368 emcpowera
>  120     1  281001984 emcpowera1   <==
>  120    16  281018368 emcpowerb
>  120    17  281001984 emcpowerb1
>  120    32  281018368 emcpowerc
>  120    33  281001984 emcpowerc1
>  120   144  281018368 emcpowerj
>  120   145  281001984 emcpowerj1
>  120   160  281018368 emcpowerk
>  120   161  281001984 emcpowerk1
>  120    80  281018368 emcpowerf
>  120    81  281001984 emcpowerf1
>  120   128  281018368 emcpoweri
>  120   129  281001984 emcpoweri1
>  120   112  281018368 emcpowerh
>  120   113  281001984 emcpowerh1
>  120    96  281018368 emcpowerg
>  120    97  281001984 emcpowerg1
>
> regards,
> goran
>
>
>
>

Other related posts: