Default user to own the driver interface [grid]: grid
Default group to own the driver interface [asmadmin]: asmadmin
Start Oracle ASM library driver on boot (y/n) [y]: y
Scan for Oracle ASM disks on boot (y/n) [y]: y
Writing Oracle ASM library driver configuration: done
[root@localhost init.d]# /etc/init.d/oracleasm createdisk DISK1 /dev/sdb1
Marking disk "DISK1" as an ASM disk: [FAILED]
[root@localhost init.d]# more /var/log/oracleasm
Creating /dev/oracleasm mount point: /dev/oracleasm
Loading module "oracleasm": failed
Unable to load module "oracleasm"
Disk "DISK1" does not exist or is not instantiated
Writing disk header: done
Instantiating disk: oracleasm-instantiate-disk: Unable to open manager: No such device or address
在網上查了很多資料,最后個人總結是因為我的oracleasmlib-2.0.4-1.el6.x86_64 oracleasm-support-2.1.8-1.el6.x86_64版本不對,我安裝的系統是OracleLinux-R7-U0-Server-x86_64-dvd
[root@localhost init.d]# uname -r
3.10.0-123.el7.x86_64
請問各位大神有什么解決方案嗎?
uj5u.com熱心網友回復:
如果你是oracle linux 7 有asm相關包如果你是非oracle linux 7 目前還沒有包,你可以考慮使用udev的方式來實作http://www.xifenfei.com/2016/08/linux-7-udev.html
uj5u.com熱心網友回復:
十分感謝!雖然我還沒有在VM搭建環境中解決轉載請註明出處,本文鏈接:https://www.uj5u.com/shujuku/106200.html
標籤:基礎和管理
