[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 ~]#
Search This Blog
Total Pageviews
Friday, 22 November 2024
oracleasm module not loaded
in CentOS oracleasm >= 1.0.4 is needed by oracleasmlib-2.0.12-1.el7.x86_64
in CentOS oracleasm >= 1.0.4 is needed by oracleasmlib-2.0.12-1.el7.x86_64
=======================================
download link
https://www.oracle.com/linux/downloads/linux-asmlib-v8-downloads.html
https://public-yum.oracle.com/repo/OracleLinux/OL8/addons/x86_64/index.html
Oracle ASMLib Software Update and Support Policy (Doc ID 1089399.1)
https://public-yum.oracle.com/repo/OracleLinux/OL8/5/baseos/base/x86_64/index.html kmod
Oracle ASMLib 3.0 oracleasmlib-3.0.0.-13.el8.x86_64.rpm Installing and Configuring Oracle ASMLib v3
Oracle ASMLib 2.0 oracleasmlib-2.0.17-1.el8.x86_64.rpm Customers should upgrade to ASMLib v3
=======================================================================================================================================
[root@oraafd ~]# cat /etc/redhat-release
CentOS Linux release 8.5.2111
[root@oraafd ~]#
[root@oraafd ~]# ls -ltr
total 188
-rw-r--r-- 1 root root 27092 Jun 1 2020 oracleasmlib-2.0.17-1.el8.x86_64.rpm
-rw-r--r-- 1 root root 18204 Nov 21 13:54 oracle-database-preinstall-19c-1.0-1.el7.x86_64.rpm
-rw-r--r-- 1 root root 31828 Nov 21 14:01 oracle-database-preinstall-19c-1.0-2.el8.x86_64.rpm
-rw-r--r-- 1 root root 99852 Nov 22 12:06 oracleasm-support-2.1.12-1.el8.x86_64.rpm
[root@oraafd ~]# yum localinstall ./oracleasm-support-2.1.12-1.el8.x86_64.rpm ./oracleasmlib-2.0.17-1.el8.x86_64.rpm
Last metadata expiration check: 20:41:08 ago on Thu 21 Nov 2024 15:27:04 GMT.
Error:
Problem: conflicting requests
- nothing provides oracleasm >= 1.0.4 needed by oracleasmlib-2.0.17-1.el8.x86_64
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
[root@oraafd ~]# yum localinstall oracleasmlib-2.0.17-1.el8.x86_64.rpm
Last metadata expiration check: 20:41:34 ago on Thu 21 Nov 2024 15:27:04 GMT.
Error:
Problem: conflicting requests
- nothing provides oracleasm >= 1.0.4 needed by oracleasmlib-2.0.17-1.el8.x86_64
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
use below command
###################################################################################################################################
[root@oraafd ~]# rpm -Uvh --nodeps --force oracleasmlib-2.0.17-1.el8.x86_64.rpm
warning: oracleasmlib-2.0.17-1.el8.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID ad986da3: NOKEY
Verifying... ################################# [100%]
Preparing... ################################# [100%]
Updating / installing...
1:oracleasmlib-2.0.17-1.el8 ################################# [100%]
########################################################################################################################################################
[root@oraafd ~]# yum localinstall oracleasm-support-2.1.12-1.el8.x86_64.rpm
Last metadata expiration check: 20:43:51 ago on Thu 21 Nov 2024 15:27:04 GMT.
Dependencies resolved.
==============================================================================================================================================================================================================
Package Architecture Version Repository Size
==============================================================================================================================================================================================================
Installing:
oracleasm-support x86_64 2.1.12-1.el8 @commandline 98 k
Transaction Summary
==============================================================================================================================================================================================================
Install 1 Package
Total size: 98 k
Installed size: 349 k
Is this ok [y/N]: y
Downloading Packages:
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Installing : oracleasm-support-2.1.12-1.el8.x86_64 1/1
Running scriptlet: oracleasm-support-2.1.12-1.el8.x86_64 1/1
Note: Forwarding request to 'systemctl enable oracleasm.service'.
Synchronizing state of oracleasm.service with SysV service script with /usr/lib/systemd/systemd-sysv-install.
Executing: /usr/lib/systemd/systemd-sysv-install enable oracleasm
Created symlink /etc/systemd/system/multi-user.target.wants/oracleasm.service → /usr/lib/systemd/system/oracleasm.service.
Verifying : oracleasm-support-2.1.12-1.el8.x86_64 1/1
Installed:
oracleasm-support-2.1.12-1.el8.x86_64
Complete!
[root@oraafd ~]# yum localinstall ./kmod-redhat-oracleasm-2.0.8-12.0.1.el8.x86_64.rpm
Last metadata expiration check: 0:12:17 ago on Fri 22 Nov 2024 12:11:05 GMT.
Dependencies resolved.
==============================================================================================================================================================================================================
Package Architecture Version Repository Size
==============================================================================================================================================================================================================
Installing:
kmod-redhat-oracleasm x86_64 8:2.0.8-12.0.1.el8 @commandline 44 k
Transaction Summary
==============================================================================================================================================================================================================
Install 1 Package
Total size: 44 k
Installed size: 138 k
Is this ok [y/N]: y
Downloading Packages:
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Installing : kmod-redhat-oracleasm-8:2.0.8-12.0.1.el8.x86_64 1/1
Running scriptlet: kmod-redhat-oracleasm-8:2.0.8-12.0.1.el8.x86_64 1/1
Verifying : kmod-redhat-oracleasm-8:2.0.8-12.0.1.el8.x86_64 1/1
Installed:
kmod-redhat-oracleasm-8:2.0.8-12.0.1.el8.x86_64
Complete!
==========
[root@oraafd ~]# rpm -qa | grep oracleasm
kmod-redhat-oracleasm-2.0.8-12.0.1.el8.x86_64
oracleasmlib-2.0.17-1.el8.x86_64
oracleasm-support-2.1.12-1.el8.x86_64
[root@oraafd ~]#
Oracle public repositories | Oracle public yum
https://public-yum.oracle.com/index.html https://public-yum.oracle.com/oracle-linux-8.html
Subscribe to:
Posts (Atom)
Oracle DBA
anuj blog Archive
- ► 2011 (362)