Thomas Vogt’s IT Blog

knowledge is power …

ASM Disk not shown in Oracle Universal Installer (OUI) or DBCA

Terms:

Operating System: Enterprise Linux 4 U5 (RHEL4 U5)

Oracle: 10.2.0.1

Problem:

While installing the ASM Instance with Oracle Universal Installer the ASM Disk, created with oracleasm createdisk, is not shown.

Solution:

Define the Scanorder in /etc/sysconfig/oracleasm config file. For example, if the used multipathing device is /dev/md1, you have to force the ASMlib to scan the /dev/md* paths before the /dev/sd* paths.

# vim /etc/sysconfig/oracleasm
# ORACLEASM_SCANORDER: Matching patterns to order disk scanning
ORACLEASM_SCANORDER="md sd"

Also make sure that the needed packages are installed for using ASM with ASMlib.

Make sure that the needed packages are installed.

  • oracleasmlib-2.0 – the ASM libraries
  • oracleasm-support-2.0 – utilities needed to administer ASMLib
  • oracleasm – a kernel module for the ASM library

More Inofs:

Metalink Note:394956.1

November 28, 2007 - Posted by thomasvogt | Linux, Oracle, RedHat | | 3 Comments

3 Comments »

  1. very interesting, but I don’t agree with you
    Idetrorce

    Comment by Idetrorce | December 15, 2007 | Reply

  2. PERFECT! SCANORDER FIXED IT.
    I had this problem on one node of a RAC.
    I discovered watching the IDs of devices(/etc/init.d/oracleams querydisk DATA1 and ls -al /dev/*) that oracleasm mounted the device on /dev/sdd1 instead of /dev/dm-2,
    I was looking for a way to force the asm driver to use the multipathed device instead of one of the phisical channels, and ORACLEASM_SCANORDER did the job.
    Thanks

    BEFORE:
    [root@prod-giboracle-002/alm-117 bin]# /etc/init.d/oracleasm querydisk DATA1
    Disk “DATA1″ is a valid ASM disk on device [8, 49]

    AFTER:
    [root@prod-giboracle-002/alm-117 bin]# /etc/init.d/oracleasm querydisk DATA1
    Disk “DATA1″ is a valid ASM disk on device [253, 6]

    DEVICES IDS:
    /dev/mapper: (the multipathed one, the good one!)
    total 0
    brw-rw—- 1 root oinstall 253, 2 Sep 27 23:59 data_1

    (the phisical one, the bad one!)
    brw-r—– 1 root disk 8, 49 Sep 29 16:22 /dev/sdd1

    Comment by Claudio | September 29, 2008 | Reply

  3. Hi,

    Very interesting. Thanks for such great article.

    Thanks and regards,
    Gitesh
    http://www.dbametrix.com

    Comment by dbametrix | October 8, 2009 | Reply


Leave a comment