
ASM Library (ASMLib) is a support library for the Oracle Automatic Storage Management (ASM) feature. It simplifies storage management and enhances Oracle ASM functionality.
Prerequisites
- Operating System: Oracle Linux 8.3 or later (compatible Red Hat variants also work).
- Oracle Grid Infrastructure/Database: Oracle 19c.
Required Packages
- oracleasm-support
- oracleasmlib V3.1
- oracleasm kernel driver (Not Required in the ASMLIB V3)
In this demonstration, I installed the ASMlib V3 package on Oracle Linux 8.9 with the aarch64 architecture. Therefore, you need to download the package that matches your Linux system’s architecture.
Step1: Install ASMLib Packages
- Download the package from below information:
https://edelivery.oracle.com
[root@node tmp]# rpm -ivh oracleasmlib-3.1.0-6.el8.aarch64.rpm
Verifying... ################################# [100%]
Preparing... ################################# [100%]
Updating / installing...
1:oracleasmlib-3.1.0-6.el8 ################################# [100%]
[root@node tmp]#
Step2: Install ASMLib Packages
root@node tmp]# dnf --enablerepo=ol8_addons install oracleasm-support
Oracle Linux 8 Addons (aarch64) 13 MB/s | 32 MB 00:02
Last metadata expiration check: 0:00:06 ago on Thu 08 May 2025 08:37:54 PM CDT.
Dependencies resolved.
====================================================================================================================================================
Package Architecture Version Repository Size
====================================================================================================================================================
Installing:
oracleasm-support aarch64 3.1.0-10.el8 ol8_addons 91 k
Transaction Summary
====================================================================================================================================================
Install 1 Package
Total download size: 91 k
Installed size: 787 k
Is this ok [y/N]: y
Downloading Packages:
oracleasm-support-3.1.0-10.el8.aarch64.rpm 578 kB/s | 91 kB 00:00
----------------------------------------------------------------------------------------------------------------------------------------------------
Total 571 kB/s | 91 kB 00:00
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Installing : oracleasm-support-3.1.0-10.el8.aarch64 1/1
Running scriptlet: oracleasm-support-3.1.0-10.el8.aarch64 1/1
Created symlink /etc/systemd/system/multi-user.target.wants/oracleasm.service → /usr/lib/systemd/system/oracleasm.service.
Verifying : oracleasm-support-3.1.0-10.el8.aarch64 1/1
Installed:
oracleasm-support-3.1.0-10.el8.aarch64
Complete!
Step 3: Configure the ASM Library
It will prompt you for:
- Default user to own the driver interface [default:
oracle] - Default group to own the driver interface [default:
dba] - Start Oracle ASM library driver on boot (y/n) [y]
- Scan for Oracle ASM disks on boot (y/n) [y]
Example:
[root@node ~]# oracleasm configure -i
Configuring the Oracle ASM system service.
This will configure the on-boot properties of the Oracle ASM system
service. The following questions will determine whether the service
is started 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 ASM disk devices []: oracle
Default group to own the ASM disk devices []: oinstall
Start Oracle ASM system service on boot (y/n) [y]: y
Scan for Oracle ASM disks when starting the oracleasm service (y/n) [y]: y
Maximum number of ASM disks that can be used on system [2048]:
Enable iofilter if kernel supports it (y/n) [y]: y
Writing Oracle ASM system service configuration: done
Configuration changes only come into effect after the Oracle ASM
system service is restarted. Please run 'systemctl restart oracleasm'
after making changes.
WARNING: All of your Oracle and ASM instances must be stopped prior
to restarting the oracleasm service.
[root@node ~]# systemctl restart oracleasm
[root@node ~]#
Step 4: Load and Enable the Driver
oracleasm init
oracleasm status
[root@node ~]# oracleasm status
Checking if the oracleasm kernel module is loaded: no (Not required with kernel 5.15.0)
Checking if /dev/oracleasm is mounted: no (Not required with kernel 5.15.0)
Checking which I/O Interface is in use: io_uring (KABI_V3)
Checking if ASMLIB can be loaded: yes
Checking if io_uring is enabled: yes
Checking if io_uring is accessible to the configured DB user: yes
Checking if io_uring supports integrity passthrough: no
Checking if ASM disks have the correct ownership and permissions: yes
Checking if ASM I/O filter is set up: yes
[root@node ~]#
Troubleshooting Tips
- Use
dmesg | grep oracleasmto check kernel messages. - Ensure disks are partitioned (
fdisk,parted) and have appropriate permissions. - ASMLib is optional with Oracle ASM—it’s an alternative to using
udevrules.

Leave a comment