ASMlib configure - denis-kol4ev/OraDBA GitHub Wiki

# rpm -qa | grep oracleasm*

# yum install oracleasm-support

# oracleasm configure -i 

Default user to own the driver interface []: oracle
Default group to own the driver interface []: dba
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

# oracleasm init

# oracleasm status

Single command:

echo -e "oracle\ndba\ny\ny" | oracleasm configure -i && oracleasm init && oracleasm status