oracleasm module not loaded or /dev/oracleasm not mounted

Tried to create disk using 



# oracleasm createdisk  DATA1 /dev/xvdc11
oracleasm module not loaded or /dev/oracleasm not mounted.

SOLUTION:

# oracleasm status
Checking if ASM is loaded: no
Checking if /dev/oracleasm is mounted: no



Load the oracleasm module

# oracleasm init
Creating /dev/oracleasm mount point: /dev/oracleasm
Loading module “oracleasm”: oracleasm
Configuring “oracleasm” to use device physical block size
Mounting ASMlib driver filesystem: /dev/oracleasm



Verify the oracleasm configuration

# df -ha |grep -i oracleasm
oracleasmfs                     0     0     0    – /dev/oracleasm

# lsmod | grep oracleasm
oracleasm              61440  1



Initialize the disks using oracleasm 

# oracleasm createdisk DATA1 /dev/xvdc11
Writing disk header: done

  • July 5, 2019 | 62 views
  • Comments