Oracleasm cannot find asm disks on boot

Hello!
RAC 11.2.0.2 on SLES10.
I have configured asmlib on a RAC system (multipath configured) and everything worked as a charm before booting node 2 in the cluster. Problem is that after reboot of node 2 i cannot see my asm disks anymore on that node. This only happens on node 2. I dont have this issue after rebooting node 1. However, if i do a manually "scandisks" on node 2 it sees the disks again and the cluster starts successfully..
I cannot see any difference between the two nodes.. the asmlib rpm's matches the kernel version.
oracle@prod2:~> uname -a
Linux prod2 2.6.16.60-0.54.5-smp #1 SMP Fri Sep 4 01:28:03 UTC 2009 x86_64 x86_64 x86_64 GNU/Linux
oracle@prod2:~> rpm -qa |grep oracleasm
oracleasm-support-2.1.4-1.SLE10
oracleasm-2.6.16.60-0.54.5-smp-2.0.5-1.SLE10
oracleasmlib-2.0.4-1.SLE10/etc/sysconfig/oracleasm looks like this:
# This is a configuration file for automatic loading of the Oracle
# Automatic Storage Management library kernel driver.  It is generated
# By running /etc/init.d/oracleasm configure.  Please use that method
# to modify this file
# ORACLEASM_ENABELED: 'true' means to load the driver on boot.
ORACLEASM_ENABLED=true
# ORACLEASM_UID: Default user owning the /dev/oracleasm mount point.
ORACLEASM_UID=oracle
# ORACLEASM_GID: Default group owning the /dev/oracleasm mount point.
ORACLEASM_GID=dba
# ORACLEASM_SCANBOOT: 'true' means scan for ASM disks on boot.
ORACLEASM_SCANBOOT=true
# ORACLEASM_SCANORDER: Matching patterns to order disk scanning
ORACLEASM_SCANORDER="dm"
# ORACLEASM_SCANEXCLUDE: Matching patterns to exclude disks from scan
ORACLEASM_SCANEXCLUDE="sd"I would be grateful if anyone out there can shed some light on this issue..
Thanks a bunch!

Hi,
I think you need to upgrade your powerpath version. If you are using clariion for your storage.

Similar Messages

  • Boot camp, "cannot find installation disk."

    What do I do? It's a Microsoft download from the MSDN Academic Alliance (Win 7 Prof. 64-bit) and I am getting this error.
    I downloaded the Win 7 Prof. from Microsoft's MSDN AA site on a PC.
    Opened boot campo and created the partition and the CD is visible in finder (.ISO) but boot camp says "cannot find installation disk."
    So I moved the .ISO to my desktop and burned a new CD using the iMac Superdrive and receive the samer error.
    Anyone have any ideas?

    Boot Camp will not install from an ISO file. You must have a bootable DVD. Whatever is on your disc image it apparently is not what is on a bootable DVD. You may simply have a .exe installer application that will only work on a Windows machine or on a pre-exisitng Windows system on a Boot Camp partition.

  • ASM: cannot create asm disks - permission denied

    We cannot create ASM disks using the command:
    # /etc/init.d/oracleasm creatdisk ASMDISK1 /dev/mapper/mpathdp1
    Marking disk "ASMDISK1" as an ASM disk: [FAILED]
    The log (/var/log/oracleasm) has the following:
    Clearing disk header: done
    Disk "ASMDISK1" does not exist or is not instantiated
    Writing disk header: done
    Instantiating disk: oracleasm-instantiate-disk: Unable to create ASM disk "ASMDISK1": Permission denied
    failed
    Clearing disk header: done
    The command is being executed by the root user. Our environment is OEL6:
    [oracle@uxdbidbd1 mapper]$ uname -rm
    2.6.32-100.28.11.el6.x86_64 x86_64
    To install ASMLib we did the following:
    Installed the three packages:
    1.oracleasm-support-2.1.4-1.el5.x86_64.rpm
    2.oracleasmlib-2.0.4-1.el5.x86_64.rpm
    3.oracleasm-2.6.18-238.9.1.el5-debuginfo-2.0.5-1.el5.x86_64.rpm
    [root@uxdbidbd1 ~]# modprobe oracleasm
    [root@uxdbidbd1 ~]# /etc/init.d/oracleasm configure
    Configuring the Oracle ASM library driver.
    This will configure the on-boot properties of the Oracle ASM library
    driver. The following questions will determine whether the driver is
    loaded on boot and what permissions it will have. The current values
    will be shown in brackets ('[]'). Hitting <ENTER> without typing an
    answer will keep that current value. Ctrl-C will abort.
    Default user to own the driver interface []: oracle
    Default group to own the driver interface []: oinstall
    Start Oracle ASM library driver on boot (y/n) [n]: y
    Scan for Oracle ASM disks on boot (y/n) [y]: y
    Writing Oracle ASM library driver configuration: done
    Initializing the Oracle ASMLib driver: [  OK  ]
    Scanning the system for Oracle ASMLib disks: [  OK  ]
    [root@uxdbidbd1 ~]#
    [root@uxdbidbd1 ~]# /etc/init.d/oracleasm status
    Checking if ASM is loaded: yes
    Checking if /dev/oracleasm is mounted: yes
    Our SA partitioned the disk using fdisk:
    [root@uxdbidbd1 ~]# fdisk -l /dev/mapper/mpathd
    Disk /dev/mapper/mpathd: 52.4 GB, 52428800000 bytes
    255 heads, 63 sectors/track, 6374 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x4849251a
    Device Boot Start End Blocks Id System
    /dev/mapper/mpathdp1 1 6374 51199123+ 83 Linux
    Here are the owner/permissions:
    [oracle@uxdbidbd1 mapper]$ ls -al /dev/mapper/
    lrwxrwxrwx. 1 root root 7 Apr 22 14:58 mpathd -> ../dm-5
    brw-rw-r--. 1 oracle oinstall 253, 6 Apr 25 10:56 mpathdp1
    [oracle@uxdbidbd1 dev]$ ls -al /dev
    brw-rw----. 1 root disk 253, 5 Apr 22 15:45 dm-5
    drwxr-xr-x. 4 root root 0 Apr 22 14:58 oracleasm
    [oracle@uxdbidbd1 oracleasm]$ ls -al /dev/oracleasm
    total 0
    drwxr-xr-x. 4 root root 0 Apr 22 14:58 .
    drwxr-xr-x. 23 root root 7200 Apr 24 03:41 ..
    -rw-rw----. 1 oracle oinstall 0 Apr 22 14:58 .check_iid
    drwxr-xr-x. 1 root root 0 Apr 22 14:58 disks
    -rw-rw----. 1 oracle oinstall 0 Apr 22 14:58 .get_iid
    drwxrwx---. 1 oracle oinstall 0 Apr 22 14:58 iid
    -rw-rw----. 1 oracle oinstall 0 Apr 22 14:58 .query_disk
    -rw-rw----. 1 oracle oinstall 0 Apr 22 14:58 .query_version
    We ran an strace on the createdisk command that is failing and I noticed this in the output file:
    28830 mknod("/dev/oracleasm/disks/ASMDISK1", S_IFBLK|0600, makedev(253, 6)) = -1 EACCES (Permission denied)
    28830 write(2, "oracleasm-instantiate-disk: ", 28) = 28
    28830 write(2, "Unable to create ASM disk \"ASMDI"..., 56) = 56
    We changed /dev/oracleasm/disks to 777 in order to test but we got the same result. Do we need to adjust the permissions to all of the parent directories in the path (/dev/oracleasm/disks)? I've been looking around for anything related to permissions on /dev/oracleasm but the docs don't mention anything. Any help would be greatly appreciated.

    From what I understand, you should not set device permissions of /dev/oracleasm since oracleasm takes care of it according to /etc/init.d/oracleasm configure.
    The problem in your case seems to be that ASM refuses to initialize and write metadata to your device. Was the device previously used by ASM? ASM will fail to initialize a device that contains previous ASM metadata. To erase the device you will need to use the dd command, e.g. dd if=/dev/zero of=/dev/sdb. Both ASMLib and raw devices require the candidate disks to be partitioned before they can be accessed. To create a partition on /dev/sdb, for instance, type fdisk /dev/sdb and create a standard partition using the defaults. This will create /dev/sdb1 and you can try oracleasm createdisk again.
    You may try the above, but anyway, I was not sure how much you can trust your installation. The problem could also be that you installed the oracleasm kernel driver and asmlib software for OEL 5. Oracle Linux 6 includes an oracleasm kernel driver and as far as I remember you must not install another oracleasm kernel driver. Using modprob oracleasm and installing oracleasm support package using yum should do the trick. You may also need to download and install the asmlib package for the Oracle ASM grid install to see the ASM disks.

  • Can we find ASM DISK on which a DB datablock exists ?

    Can we find ASM DISK on which a DB datablock exists ?

    Hi,
    Yes in some cases I think, its not easy though - it would also be dependent on how your disk group is configured, for instance if you have variable extent sizes then it will be much more difficult.
    Why do you need to do this?
    Thanks
    Paul

  • Time Machine cannot find Backup Disk

    Hey I just got Leopard and I have a backup disk connected to my router which is shown in finder on my shared list, however, when I try to set up Time Machine it cannot find the disk... any ideas?!
    Many thanks

    Only Time Capsules work wirelessly with Time Machine.

  • Syincing error message "Cannot find required disk" - Help!

    I have a third gen 4gig nano that I got at Christmas. I added two CD's onto it when I got it. Now, however, I'm having trouble syning anything else - that's all I've been able to put on it are the two CD's even though I've added more into my library. I keep getting the error message "Cannot find required disk". Can anyone help me or tell me what I need to do?
    Thanks in advance!

    Even though you're not getting a -50, I'd check on the following document. (Your message is one of the possible symptoms of the problem outlined in the document.)
    iTunes displays -50 error message when syncing iPod on Windows XP

  • Installation cannot find a disk to install on

    Hello,
    Very short version of the problem:
    *Tiger installation does not detect any harddrive to install to*
    Full story:
    Yesterday I bought my very first iMac. It's a 20" wirh 2Gb ram and 300Gb disk.
    It was preinstalled with Tiger. I did the updrade to Leopard mself. No problems there.
    Then I treid to install Windows using bootcamp.
    Since then, a lot of problems.
    The system will not start anymore.
    So, since this is a fresh system, I have no problem starting all over again.
    I can't directly start with Leopard since they are only upgrade disks, so have to install Tiger first.
    When I have the install-1 Tiger disk in the CD and start the system, the upgrade
    starts.
    *But at a certain point it shows the box with available Harddrives to install to.*
    *That box is empty on my screen !!!!*
    *This is the problem: The apple cannot find my harddrive anymore.*
    does anybody have a clue what to do now?
    Thanks in advance for your help.
    Bert Catsburg

    Thanks for the feedback. Yes, the menu bar is at the screen's top. Good computing.
    FWIW, these might be helpful:
    Switching from Windows to Mac OS X,
    Basic Tutorials on using a Mac,
    MacFixIt Tutorials, and
    MacTips Learning Centre.
    Additionally, *Texas Mac Man* recommends:
    Quick Assist.
    Welcome to the Switch To A Mac Guides, and
    A guide for switching to a Mac.

  • Random cannot find root device at boot

    Every so often when I boot my arch install I get the error saying that it cannot find my root device.  After a reboot sometimes everything is fine other times it will will repeat.  It seems to be about a 40-60 chance that the error will occur.  This same issue is also happening with a co-worker.  I began to notice this issue when I upgraded my laptop with an SSD which my co-worker also has.  I am beginning to wonder if it is related to the SSD because I have not had this issue until then.  Anyone have any ideas?

    Welcome to the Arch Linux forums.
    In order to get proper support for your issues, you need to be much more explicit about your problems.  An inability to find the root device can be caused by all kinds of things.  So simply saying that you switched to an SSD and started to experience these problems is really not anything to go on.  You need to also give a description of how your system is actually set up.  That is, how is it partitioned?  Is it the only OS on the machine?  Do you use LVM, mdadm, Luks/dm-crypt, btrfs, etc?
    These forums are quite active and there are all kinds of people here who are willing to help.  But you have to help us help you.  We cannot see your machine, and the very nature of Arch Linux brings about vast differences in how each individual machine is configured.

  • ASMCA cannot find candidate disks

    hi gurus
    I installed 11gR2 clusterware software on Redhat Linux 4.7 I cannot see any disks in the "Create Disk Group" window when I run ASMCA. I changed the "disk discovery path' to '/dev/raw/* from default,but still nothing was find.
    *[root@maoxl etc]# ls -l /dev/raw*
    *total 0*
    *crw-rw---- 1 oracle oinstall 162, 1 May 16 12:29 raw1*
    *crw-rw---- 1 oracle oinstall 162, 2 May 16 12:29 raw2*
    I have checked the read write permission on the disks(raw1,raw2 here),it's ok,why ASMCA cannot find them?
    Thanks very much!
    Edited by: KevinMao on May 16, 2011 12:30 AM

    RTFM:
    http://download.oracle.com/docs/cd/E11882_01/install.112/e17212/storage.htm
    If you read this you closely, you will find:
    a.) Using /dev/raw is not needed anymore, you can directly use the block devices (e.g. /dev/sd*).
    b.) Your user right should be grid:asmadmin (or at leas oracle:asmadmin) and not oracle:oinstall.
    Regards
    Sebastian

  • Replaced Drive and had 10.4 OS on it cannot find original disks

    I need to get an installation OS copy for and intel black macbook serial W8730496YA4. The disk went out and I just replaced it but I cannot find my original installation disks and the guy at the apple store said that they don't even have copies that old. I don't want to pay over 100 i just want the OS so my mac will work....  Help

    If you don't have your install disks you can get the 10.4 gray disks by calling Apple Store Customer Service at 1-800-676-2775 They can send them to you for about $16 per disk plus S & H. Just give them your serial number and they'll know which ones you need.
    Or you can get the Snow Leopard retail installation disk for $29 if you have at least 1gb of RAM and a working DVD drive. http://store.apple.com/us/product/MC573Z/A?mco=MTY3ODQ5OTY  You won't need the box set unless you want both the full iLife '11 and iWork '09. If you only want iPhoto or other single apps you can get them from the App Store after you've upgraded to 10.6.6. iPhoto, iMovie or Garage Band for $15 each and Pages, Keynote or Numbers for $20 each.

  • Cannot find install disk

    I just moved and cannot find my install disk. Got a "Volume needs to be repaired" message while doing some maintenance. Is there anyway to correct this without the install disk? If not, how do I get another one without coughing up the dough?

    Hi habsolutely, Welcome to Apple's Users Help Users Forums.
    Other threads say *call Apple w your serial number*. There is a charge, much less than new system.
    Good Luck, JP

  • Cannot find required disk

    When I try to sync my ipod it tells my cannot sync ipod because itunes cannot find the required disk. We get this error on my new 5th generation nano and my husband's 2nd generation nano, so I assume it is a computer problem. We have recently reinstalled itunes but that did not fix the problem.

    Post in iTunes forum for Windows.
    http://discussions.apple.com/category.jspa?categoryID=150
    - You'll feel right at home, with other users having the same and similar issue.

  • Cannot identify ASM disks

    Hi All,
    I am getting this error [FATAL] [INS-30508] Invalid ASM disks. The environment is as below
    HP-UX Itanium
    11.2.0.2
    Volume group ownership:
    drwxr-xr-x 2 root sys 8192 Apr 21 14:09 vg1_x_ks_r1_1
    logical volume Ownership:
    crw-rw---- 1 oracle dba 64 0x010001 Apr 21 14:09 rlv_x_kw_01
    crw-rw---- 1 oracle dba 64 0x010002 Apr 21 14:09 rlv_x_kw_02
    When i change the volume group owner to oracle, it works fine. I want to know why it should be oracle??
    Please let me know if you have any references on this as i am a beginer and i want to learn in depth
    Thanks,

    Just as a sidenode:
    for 11.2 you should set the ownerwship to be "installation user" of grid infrastructure and usergroup "ASM administrator", which you specify during GI installation.
    For this reason documentation states
    grid:asmadmin
    However if in your case you are using oracle as the installation owner and dba as the asm administrator group, than this is o.k.
    Sebastian

  • Yosemite cannot find startup disk

    Hi, I have a problem with Yosemite installed on my mid2007 iMac, which has me perplexed. After installing Yosemite I found that on booting, my iMac would not find the startup disk, and shows me a blinking question mark. The iMac might sometimes find the startup disk the first time after installation, but would fail to find the startup disk on subsequent startups. So to get the iMac to start I boot into my yosemite installer flash drive go to the start up disk section in the apple menu of the installer and select startup disk from there, and that gets me into the Yosemite session. Less than ideal.
    I have tried a number of things;
    A couple of clean installs of Yosemite 10.10.2.
    Checking the integrity of the Hard Disk with Disk utility. (it said it was OK in cheery green lettering) I have had an aftermarket Corsair Neutron SSD as the startup disk for 8 months or so, which has been running well.
    Checking the hardware with Apple Hardware Test which said no problems detected. I did this as I also had  other issues, like beachballs occurring, particularly on the login page delaying login, and a couple of instances of Yosemite telling me that it couldn't shut down immediately because I had a app open, when I had in fact quit the app earlier.
    A couple more clean installs, one next to last where even the Yosemite installer flash drive could not see the start up disk. With the last clean install I currently can start the iMac with the help of the installer flash drive.
    Googled around, but didn't find a lead.
    The only option I can think of to enable me to boot into Yosemite with less fuss is to install Refit, a program that helps people who want to dual boot linux on their mac. It may be able to present the startup disk.
    Any suggestions gratefully received.
    iMac 7,1(24-inch Mid 2007),2.8 GHz Intel Core 2 Duo,  4 GB memory, 256Gb Corsair Neutron SSD,  ATI Radeon HD 2600 Pro 256 MB

    The repairs were unrelated. I had a bad logic board and some bad RAM. The hard drive checked out fine.

  • Cannot create ASM disk groups in DBCA - Oracle 11gR1, Windows 32bit

    Good afternoon,
    Using 11gR1 on Windows XP, I need help installing a database (single instance) using ASM, I am not able to select disks to be stamped for use by ASM. I have done the following steps:
    1. Installed the Oracle 11gR1 software (no database created - just the software)
    2. Connected nine (9) SCSI hard drives to the system
    3. Created a primary partition on each hard drive, formatted the partition but did *not* assign a drive letter
    4. Created a listener service (working properly - checked with lsnrctl  status)
    5. Started DBCA to create a single database instance using ASMIn DBCA I performed the following:
    a. at the welcome screen, click Next
    b. at "Step 1 of 16", click Next (accepting the default "Create a Database")
    c. at "Step 2 of 16", click Next (accepting the default "General Purpose or Transaction Processing)
    d. at "Step 3 of 16", "Global Database Name" set to "dbca", "SID" set to "dbca", click Next
    e. at "Step 4 of 16", click Next (accepting the defaults)
    f. at "Step 5 of 16", click "Use same administrative passwords for all accounts" and entered password, click Next
    g. at "Step 6 of 16", click "Automatic Storage Management (ASM)", click Next
    Everything seems just fine until I reach the following step
    h. at "Step 7 of 16", click "Create New"
        - The Create Disk Group window pops up (there is nothing shown in the "Select Member Disk Area")
        - set the "Disk Group Name" to  "DATAGROUP"
        - click on "Show All" (no devices shown after clicking)
        - click on "Stamp Disks..."  this causes the "asmtool operation" window to pop up
          - click on "Add or change label", click on Next
          - the "Select Disks" step appears.   There are 11 hard drives listed but NONE of them
            can be selected - all I can do here is click on Cancel*The question:* Why aren't the drives selectable and what do I need to do to make them selectable ?
    Thank you very much for your help,
    John.

    >
    The question: Why aren't the drives selectable and what do I need to do to make them selectable ?
    >
    To answer my own question (now that I've figured it out), the reason is because the partition should not be formatted.
    When Windows displays the "New Partition Wizard", it is important to:
    1. not assign a drive letter
    2. and select "Do not format this partition"
    This will cause Windows to mount the volume thus making it accessible to Oracle.
    Hopefully this will help someone not fall in this trap as I did,
    John.

Maybe you are looking for