ASMInstallation and Upgrade

How to Resolve Grid Installation OUI Discovers No Disk

Requirements for Disk Discovery

There’re several requirements for disks to be discovered:

1. Right Device Type

Only block devices leading by letter b in permission notation are acceptable, any others device types, such as character devices or pseudo devices are not ASM candidates. Neither are symbolic links (leading by letter l).

Please see an example of block device in the following content.

2. Proper Permission

If you plan to use grid to install grid infrastructure, then the owner of disks should be grid:asmadmin, not root:root.

[root@primary01 ~]# ll /dev/sdb1
brw-rw---- 1 grid asmadmin 8, 17 Oct 10 12:58 /dev/sdb1

Either using persistent rule of udev or ASMLib can set the permission properly.

3. Compatible sector size

Since release 12.2, ASM disks have to be compatible with the possible combination of physical and logical sector size of disks. In summary, either 512 or 4K is acceptable.

That is to say, ASM does not accept physical sector sizes larger than 4K. But we can work around the restriction by using the logical sector size instead of physical sector size if you’re using ASMLib.

4. Correct discovery path

The default path of disks for ASM to discover is /dev/sd*. You can change the discovery path by clicking on Change Discovery Path in grid infrastructure OUI.

For ASMLib, there’re two possible paths where ASM can find disk candidates.

  1. /dev/oracleasm/disks
  2. ORCL:*

You can try above paths one by one.

Leave a Reply

Your email address will not be published. Required fields are marked *