Deinstalling Oracle ASMLIB On Oracle Database

If Oracle ASM library driver (Oracle ASMLIB) is installed but you do not use it for device path persistence, then deinstall Oracle ASMLIB:

  1. Stop Oracle ASM and any running database instance:
    $ srvctl stop asm
    
    $ srvctl stop instance -d db_unique_name
    
  2. Log in as root.
  3. Stop the Oracle Restart stack:
    # cd Grid_home/bin
    
    # crsctl stop has
    
  4. Stop Oracle ASMLIB:
    # /etc/init.d/oracleasm disable
    
  5. Remove the oracleasm library and tools RPMs:
    # rpm -e oracleasm-support
    
    # rpm -e oracleasmlib
    
  6. Check if any oracleasm RPMs are remaining:
    # rpm -qa| grep oracleasm
    
  7. If any oracleasm configuration files are remaining, remove them:
    # rpm -qa| grep oracleasm | xargs rpm -e
    
    Oracle ASMLIB and associated RPMs are now removed.
    

Start the Oracle Restart stack. Optionally, you can install and configure Oracle ASM Filter Driver (Oracle ASMFD) before starting the Oracle Restart stack.