Testing the Oracle Automatic Storage Management Installation
After installing Oracle Grid Infrastructure for a single instance, use the ASMCMD command-line utility to test the Oracle ASM installation.
PDF for offline and print
After installing Oracle Grid Infrastructure for a single instance, use the ASMCMD command-line utility to test the Oracle ASM installation.
For example, if the Oracle ASM SID is named +ASM and the Oracle home is located in the grid subdirectory of the ORACLE_BASE directory, then enter the following commands to create the required settings:
Bourne, Bash or Korn shell:
$ ORACLE_SID=+ASM
$ export ORACLE_SID
$ ORACLE_HOME=/u01/app/oracle/product/19.0.0/grid
$ export ORACLE_HOME
C shell:
% setenv ORACLE_SID +ASM
% setenv ORACLE_HOME /u01/app/oracle/product/19.0.0/grid
$ORACLE_HOME/bin/asmcmd lsdg
$ORACLE_HOME/bin/srvctl start asm