磁碟組不能自動掛載
磁碟組不能自動掛載的原因有2:
1 、asm_diskgroups 不能為空,需要配置所有的磁碟組
2、磁碟組的屬性AUTO_START應該設定為always,該問題是bug 8663101 : 修改用 crsctl modify resource ora.DATA.dg -attr AUTO_START=always,查詢用:crsctl stat res ora.OCR.dg -p
[grid@node1 ~]$ sqlplus / as sysdba
SQL*Plus: Release 11.2.0.1.0 Production on Sat Feb 25 06:32:37 2017
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Real Application Clusters and Automatic Storage Management options
SQL> show parameter disk
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
asm_diskgroups string ARCH, TEST, DATA, OCR
asm_diskstring string /dev/asm*, ORCL:ARCHDISK, ORCL
:DATADISK, ORCL:OVDISK
SQL> create pfile='/tmp/a.txt' from spfile;
File created.
SQL> exit
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Real Application Clusters and Automatic Storage Management options
[grid@node1 ~]$ more /tmp/a.txt
+ASM2.__oracle_base='/u01/app'#ORACLE_BASE set from in memory value
+ASM1.__oracle_base='/u01/app/'#ORACLE_BASE set from in memory value
+ASM1.asm_diskgroups='ARCH','TEST','DATA','OCR'#Manual Mount
+ASM2.asm_diskgroups='ARCH','DATA','TEST','OCR'#Manual Mount
*.asm_diskstring='/dev/asm*','ORCL:ARCHDISK','ORCL:DATADISK','ORCL:OVDISK'
*.asm_power_limit=1
*.diagnostic_dest='/u01/app'
*.instance_type='asm'
*.large_pool_size=12M
*.remote_login_passwordfile='EXCLUSIVE'
[grid@node1 ~]$
[root@rac1 ~]# srvctl start diskgroup -g data -n "rac2"
[root@rac1 ~]# srvctl start diskgroup -g oradata -n "rac2"
[root@rac1 ~]# srvctl start diskgroup -g oradata -n "rac1"
[root@rac1 ~]# su - grid
[grid@rac1:/home/grid]$crsctl modify resource ora.DATA.dg -attr AUTO_START=always
[grid@rac1:/home/grid]$crsctl modify resource ora.ORADATA.dg -attr AUTO_START=always
[grid@rac1:/home/grid]$crsctl modify resource ora.ARCH.dg -attr AUTO_START=always
[grid@rac1:/home/grid]$crsctl modify resource ora.OCR.dg -attr AUTO_START=always
多次測試 所有磁碟均能正常掛載
該解決辦法出自 ID:1065158.1 問題原因可能涉及到11.2.0.1的一個BUG bug 8663101 該BUG 在12.2.0.2已經被修復
下一步 該升級資料庫了
1. Manually start the diskgroup: srvctl start diskgroup -g <dg_name> [-n "<node_list>"]
or
2. Modify the attribute AUTO_START to "always"
crsctl modify resource ora.<diskgroup>.dg -attr AUTO_START=always
Diskgroup resource shows status offline after restart even it is mounted in ASM instance (文件 ID 1065158.1) | 轉到底部 |
About Me
...............................................................................................................................
● 本文整理自網路
● QQ群:230161599 微信群:私聊
● 聯絡我請加QQ好友(642808185),註明新增緣由
● 文章內容來源於小麥苗的學習筆記,部分整理自網路,若有侵權或不當之處還請諒解
● 版權所有,歡迎分享本文,轉載請保留出處
...............................................................................................................................
拿起手機使用微信客戶端掃描下邊的左邊圖片來關注小麥苗的微信公眾號:xiaomaimiaolhr,掃描右邊的二維碼加入小麥苗的QQ群,學習最實用的資料庫技術。
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/26736162/viewspace-2134257/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- ASM磁碟組不能自動掛載ASM
- ora-15077,ASM磁碟組不能掛載ASM
- Linux(centos)手動掛載系統磁碟和自動掛載系統磁碟教程LinuxCentOS
- Linux磁碟分割槽及自動掛載Linux
- ASM無法自動載入磁碟組問題ASM
- 系統重啟後卷不能自動掛載
- CentOS7.X 掛載磁碟 與Mysql 自動備份CentOSMySql
- 【ASM】Oracle asm磁碟被格式化,如何掛載該磁碟組ASMOracle
- 自動掛載 fstab
- 新增磁碟並掛載磁碟
- nfs掛載及開啟自動掛載NFS
- ubuntu磁碟掛載Ubuntu
- Centos 磁碟掛載CentOS
- 解決ASM磁碟組無法掛載的問題ASM
- ASM無法自動載入磁碟組問題解決一例ASM
- N1盒子掛載磁碟-解決盒子重啟後無法自動掛載問題
- liunx磁碟掛載操作
- 磁碟掛載mount,umount
- Linux 掛載磁碟Linux
- 開機掛載磁碟
- ecs centos 掛載磁碟CentOS
- linux掛載新硬碟,開機自動掛載Linux硬碟
- linux 磁碟自動化分割槽掛載-LVM-物理卷PV,卷組VG,邏輯卷LV-shellLinuxLVM
- samba實現自動掛載Samba
- ORA-15110 ASM無法自動載入磁碟組問題ASM
- CentOS7.X磁碟掛載及取消掛載CentOS
- Linux磁碟掛載 轉Linux
- Linux下磁碟掛載Linux
- linux 自動掛載分割槽Linux
- 解決 OCFS2 不能自動掛載 提示 o2net_connect_expired
- 不能為 EXTERNAL REDUNDANCY的磁碟組新增failgroup diskAI
- centos7.x掛載磁碟CentOS
- centos上掛載新的磁碟CentOS
- LInux掛載windows共享磁碟LinuxWindows
- linux中磁碟的掛載Linux
- Linux掛載ISCSI TARGET磁碟Linux
- CentOS7 磁碟掛載操作CentOS
- Ubuntu-22.04 掛載磁碟Ubuntu