ASM 模組安裝與作業系統核心版本問題
配置ASM 出錯:
[root@standby tmp]# /etc/init.d/oracleasm config
Usage: /etc/init.d/oracleasm {start|stop|restart|enable|disable|configure|createdisk|deletedisk|querydisk|listdisks|scandisks|status}
[root@standby tmp]# /etc/init.d/oracleasm configure
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
answer will keep that current value. Ctrl-C will abort.
Default user to own the driver interface [oracle]:
Default group to own the driver interface [oinstall]:
Start Oracle ASM library driver on boot (y/n) [y]:
Fix permissions of Oracle ASM disks on boot (y/n) [y]:
Writing Oracle ASM library driver configuration: [ OK ]
Loading module "oracleasm": Unable to load module "oracleasm"
[FAILED]
因為 核心版本是2.6.9-42.0.0.0.1.ELsmp, 而當前的ASM 版本是oracleasm-2.6.9-42.0.0.0.1.EL,不匹配。
[root@standby 2.6.9-42.0.0.0.1.EL]# rpm -qa | grep -i asm
ibmasm-3.0-7
oracleasm-2.6.9-42.0.0.0.1.EL-2.0.3-2
oracleasmlib-2.0.2-1
oracleasm-support-2.0.3-2
[root@standby 2.6.9-42.0.0.0.1.EL]# uname -a
Linux standby 2.6.9-42.0.0.0.1.ELsmp #1 SMP Sun Oct 15 14:02:40 PDT 2006 i686 i686 i386 GNU/Linux
然後安裝oracleasm-2.6.9-42.0.2.ELsmp-2.0.3-1.i686.rpm 也不成功,因為核心版本是2.6.9-42.0.0.0.1.ELsmp 而非oracleasm-2.6.9-42.0.2.ELsmp 所以也安裝不上。
[root@standby 2.6.9-42.0.0.0.1.EL]# rpm -ivh /tmp/oracleasm-2.6.9-42.0.2.ELsmp-2.0.3-1.i686.rpm
error: Failed dependencies:
kernel-smp = 2.6.9-42.0.2.EL is needed by oracleasm-2.6.9-42.0.2.ELsmp-2.0.3-1.i6
--既然oracle linux, 會提供ASM的支援,那麼一定會有對應該作業系統的ASM 模組。在安裝光碟第三章盤上找到對應核心版本的ASM模組:
[root@standby RPMS]# rpm -ivh oracleasm-2.6.9-42.0.0.0.1.ELsmp-2.0.3-2.i686.rpm
warning: oracleasm-2.6.9-42.0.0.0.1.ELsmp-2.0.3-2.i686.rpm: V3 DSA signature: NOKEY, key ID b38a8516
Preparing... ########################################### [100%]
1:oracleasm-2.6.9-42.0.0.########################################### [100%]
重新配置ASM 模組: 就能配置成功了。
[root@standby RPMS]# rpm -ivh oracleasm-2.6.9-42.0.0.0.1.ELsmp-2.0.3-2.i686.rpm
warning: oracleasm-2.6.9-42.0.0.0.1.ELsmp-2.0.3-2.i686.rpm: V3 DSA signature: NOKEY, key ID b38a8516
Preparing... ########################################### [100%]
1:oracleasm-2.6.9-42.0.0.########################################### [100%]
[root@standby RPMS]# /etc/init.d/oracleasm configure
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
answer will keep that current value. Ctrl-C will abort.
Default user to own the driver interface [oracle]:
Default group to own the driver interface [oinstall]:
Start Oracle ASM library driver on boot (y/n) [y]:
Fix permissions of Oracle ASM disks on boot (y/n) [y]:
Writing Oracle ASM library driver configuration: [ OK ]
Loading module "oracleasm": [ OK ]
Mounting ASMlib driver filesystem: [ OK ]
Scanning system for ASM disks:
[ OK ]
可以檢視模組:
[root@standby RPMS]# lsmod | grep -i asm
oracleasm 48020 1
或者:
[root@standby oracleasm]# pwd
/lib/modules/2.6.9-42.0.0.0.1.ELsmp/kernel/drivers/addon/oracleasm
[root@standby oracleasm]# ls -l
total 352
-rw-r--r-- 1 root root 349666 Oct 25 2006 oracleasm.ko
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/674865/viewspace-704301/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 硬碟工作原理與XP作業系統安裝硬碟作業系統
- 【Oracle安裝與作業系統使用者組】Oracle作業系統
- RedHat 7.6作業系統安裝Redhat作業系統
- DELL伺服器作業系統安裝及常見問題快速入口伺服器作業系統
- ORACLE11.2.0.4 RAC+ ASM安裝方法 (作業系統CENTOS7.6)OracleASM作業系統CentOS
- oam系統安裝,windows作業系統註冊列表影響系統安裝Windows作業系統
- 一個作業系統下安裝多個版本DB的Listener配置作業系統
- UNIX作業系統的版本與標準(轉)作業系統
- 作業系統核心簡介作業系統
- 作業系統核心之辯作業系統
- 作業系統核心結構作業系統
- 作業-安裝虛擬機器以及CentOS作業系統虛擬機CentOS作業系統
- 麒麟作業系統核心同其他作業系統核心的相似性分析(轉)作業系統
- 實戰-使用 Cobbler 安裝作業系統作業系統
- Powershell 命令列安裝 Windows 作業系統命令列Windows作業系統
- 在Ubuntu作業系統裡安裝DockerUbuntu作業系統Docker
- 多種方式批量安裝作業系統作業系統
- VMWare安裝蘋果作業系統OS X蘋果作業系統
- Solaris8作業系統安裝(轉)作業系統
- 硬碟中安裝Linux作業系統硬碟Linux作業系統
- Linux系統可解除安裝核心模組完全指南(中)(轉)Linux
- Linux系統可解除安裝核心模組完全指南(下)(轉)Linux
- Linux系統可解除安裝核心模組完全指南(1)(轉)Linux
- Linux系統可解除安裝核心模組完全指南(2)(轉)Linux
- Linux系統可解除安裝核心模組完全指南(3)(轉)Linux
- 國產作業系統deepin安裝與配置Node-RED環境作業系統
- Linux作業系統中安裝VMware ToolsLinux作業系統
- Windows作業系統安裝MySQL解壓版Windows作業系統MySql
- window 作業系統,安裝 mongodb.zip 包作業系統MongoDB
- Solaris 8 for Intel 作業系統的安裝(轉)Intel作業系統
- 快速安裝Windows作業系統獨家秘籍(轉)Windows作業系統
- slot號造成的作業系統不能安裝作業系統
- 紅旗Linux作業系統安裝(轉)Linux作業系統
- 國產處理器伺服器作業系統安裝(海之舟伺服器作業系統安裝說明)伺服器作業系統
- Git版本控制系統安裝Git
- XP和WIN7雙系統作業系統安裝教程Win7作業系統
- Linux作業系統網路模組Linux作業系統
- 作業系統面試題作業系統面試題