oracleasm enable顯示失敗

we6100發表於2015-12-02
安裝完ASM相應元件後,執行/etc/Init.d/oracleasm enable後顯示失敗。檢視日誌

[root@oracle log]# more /var/log/oracleasm   
Disk "VOL1" does not exist or is not instantiated
Writing disk header: done
Instantiating disk: oracleasm-instantiate-disk: Unable to open manager: No such file or directory
failed
Clearing disk header: done
Disk "VOL1" does not exist or is not instantiated
Writing disk header: done
Instantiating disk: oracleasm-instantiate-disk: Unable to open manager: No such file or directory
failed
Clearing disk header: done
Creating /dev/oracleasm mount point: /dev/oracleasm
Loading module "oracleasm": failed
Unable to load module "oracleasm"
Loading module "oracleasm": failed
Unable to load module "oracleasm"
Mounting ASMlib driver filesystem: /dev/oracleasm
Reloading disk partitions: done
Cleaning any stale ASM disks...
Scanning system for ASM disks...
Disk "VOL1" does not exist or is not instantiated

原來是找不到ASM元件oracleasm.ko
在檔案系統中查詢

[root@oracle log]# find / -name oracleasm.ko  
/lib/modules/2.6.18-53.1.21.el5/kernel/drivers/addon/oracleasm/oracleasm.ko  

手工安裝ASM元件

[root@oracle log]# /sbin/insmod /lib/modules/2.6.18-53.1.21.el5/kernel/drivers/addon/oracleasm/oracleasm.ko  
重新執行 
/etc/init.d/oracleasm enable執行成功。

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/27500440/viewspace-1851520/,如需轉載,請註明出處,否則將追究法律責任。

相關文章