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

About these ads

November 28, 2007 - Posted by | Linux, Oracle, RedHat

7 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

  4. Yes! Finally someone writes about service �a personne.

    Comment by Ulysses | November 6, 2012 | Reply

  5. I think this is among the most significant information
    for me. And i’m glad reading your article. But want to remark on some general things, The web site style is great, the articles is really excellent : D. Good job, cheers

    Comment by Shayne | February 23, 2013 | Reply

  6. Hi there, just wanted to tell you, I enjoyed this blog post.
    It was funny. Keep on posting!

    Comment by Best online backup | May 2, 2013 | Reply

  7. I read this paragraph completely about the resemblance of latest and
    preceding technologies, it’s amazing article.

    Comment by Stephen D.Pizzuti | May 10, 2013 | Reply


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: