My Oracle Support Banner

Oracle Linux: Script to Wait for ASMLIB Disks to Appear (Doc ID 1201344.1)

Last updated on OCTOBER 25, 2023

Applies to:

Linux OS - Version Oracle Linux 4.4 and later
Oracle Cloud Infrastructure - Version N/A and later
Linux x86
Linux x86-64


When a server using external SAN storage is rebooted, all system services must be started afresh. While the initialization scripts in /etc/init.d have been carefully ordered, each service is expected to be usable when its initialization script finishes. External SAN connections such as on a Fiber Channel network may take a significant amount of time to stabilize and actually become useful. A classic example of this is when SAN storage fails to be detected at boot-time, but works flawlessly when manually discovered some time later.

There is generally no established mechanism to ascertain when the SAN storage is presentable to the server nodes. Lacking that, the best-effort solution is to poll the available ASM disks until the required inventory has been discovered. The script described in this document can be used to stall until the set of ASM disks is complete.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document
 Sample Output

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.