Search This Blog

Total Pageviews

Friday, 22 November 2024

oracleasm module not loaded



[root@oraafd ~]# oracleasm createdisk DATA1 /dev/sdb1
oracleasm module not loaded or /dev/oracleasm not mounted.


oracleasm init   <<<< run this command 

[root@oraafd ~]# df -ha |grep -i oracleasm
oracleasmfs                    0     0     0    - /dev/oracleasm
[root@oraafd ~]#


[root@oraafd ~]# oracleasm createdisk DATA1 /dev/sdb1
Writing disk header: done
Instantiating disk: done
[root@oraafd ~]#



*********************************************************************************

[root@localhost rpm]# oracleasm configure -i
Configuring the Oracle ASM library driver.

This will configure the on-boot properties of the Oracle ASM library
driver.  The following questions will determine whether the driver is
loaded on boot and what permissions it will have.  The current values
will be shown in brackets ('[]').  Hitting  without typing an
answer will keep that current value.  Ctrl-C will abort.

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

[root@localhost rpm]# /usr/sbin/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

[root@localhost rpm]#


dmesg | grep Linux

oracleasm configure -i


[root@localhost rpm]# oracleasm configure
ORACLEASM_ENABLED=true
ORACLEASM_UID=grid
ORACLEASM_GID=oinstall
ORACLEASM_SCANBOOT=true
ORACLEASM_SCANORDER=""
ORACLEASM_SCANEXCLUDE=""
ORACLEASM_SCAN_DIRECTORIES=""
ORACLEASM_USE_LOGICAL_BLOCK_SIZE="false"

[root@localhost rpm]#



/usr/sbin/oracleasm init
systemctl enable oracleasm
systemctl start oracleasm




No comments:

Oracle DBA

anuj blog Archive