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

Recent Posts

Start typing and press Enter to search