This content has been marked as final. Show 7 replies
You are most likely missing the oracleasmlib software package. If I remember correctly, the installer tries to use the /usr/sbin/oracleasm-discover utility, which is part of the oracleasmlib installation, which is not provided by the public yum repository or OS installation DVD.
The following should fix your problem. Then try again and the OUI installer should see the candidate disks.
su - root
yum install oracleasmlib-2.0.4-1.el5.x86_64.rpm
Thread: Oracle UEK and ASMLIB not seeing volumes in OUI - missing utilities?
Oracle UEK and ASMLIB not seeing volumes in OUI - missing utilities?
When candidate disks are not detected by the installer it is often due to the ownership and permissions of the devices in /dev. They should be owned by "oracle" (as the software owner which you may have as "grid" instead) but in some circumstances can reset to root upon reboot.
Check on the ownership in /dev. Should be simple enough on sata disks. When using a SAN and multipathing technologies you sometimes need to adjust on the multipath pseudo-device instead.
Edited by: user509013 on Jan 23, 2013 5:22 PM
He may also need to change the diskstring path to point to the correct location/devices.
The OP is using oracleasm, which among other things, takes care of correct device ownership and scans the disk headers for oracleasm metadata.
Thank you Dude. I'm fairly certain this is the right solution. When I finished downloading and installing it however, I ran out of room in /tmp/ and was given an error that I have 0MB of space available. I looked about and made a new temp directory, and as a result I messed something up and was unable to re-log back in as oracle or grid.
Luckily I'm using VMware and I am creating backups before any major moves. So I'm finishing staging my computer again, and I will reply once succeeded.
With oracleasmlib installed, there is no need for the user to change the diskstring init parameter of the ASM instance since ASMLib scans for oracleasm devices using disk metadata and provides them all in a central location. All oracleasm initialized devices are stored in /dev/oracleasm and can be found using the default ORCL:* diskstring.
Thank you Dude. You were correct, that was my issue. I made the same mistake as the other user in the forum you listed. I didn't realize the asmlib wasn't included.
I ran runInstaller and it worked like a charm, however now it told me I didn't have enough space. So I have to extend my disk volume.
To the other posters- I thought the same as yourselves, and thought that I had the wrong user assigned to the directories of the drives. I checked and it stated "oinstall dba". I believe, at this point I don't recall. So I tried playing with the owners and I kept getting the same result.
I just didn't install asmlib, because I assumed it was part of the rpm found on the install disk image.
Thank you to all.