11.2.0.1.0 ASM 不能resize 檔案
Oracle RDBMS 版本已經升級11.2.0.1.1的PSU, 但是Grid infrastructure 沒有此對應的PSU,還是11.2.0.1.0版本。
如此在resize 檔案時候報錯:
SQL> alter database datafile 37 resize 110M;
alter database datafile 37 resize 110M
*
ERROR at line 1:
ORA-01237: cannot extend datafile 37
ORA-01110: data file 37: '+DATADG1/cddwh01/datafile/vip_stage.326.747253621'
ORA-17505: ksfdrsz:1 Failed to resize file to size 14080 blocks
ORA-15061: ASM operation not supported [41]
檢視官方資料如下:
The reason for ORA-15061 is that fix for 8898852 is included in PSU which is installed in RDBMS home. However, ASM home (11.2) is unpatched.
The fix for 8898852 is important as it avoids a potential database corruption when ASM/RDBMS compatible parameters are advanced to >=11.1.
The Grid Infrastructure PSU for Solaris Sparc is not available. Patch.8898852 must be applied to the Grid Infrastructure home separately for this platform. Patch.8898852 is included in the merge patch. 9355126 for Grid home.
決定給GI home打補丁8898852 :
chndsora9:/ora/u01/oracle/product/11.2/grid/OPatch\> ./opatch lsinventory
Invoking OPatch 11.2.0.1.5
Oracle Interim Patch Installer version 11.2.0.1.5
Copyright (c) 2010, Oracle Corporation. All rights reserved.
Oracle Home : /ora/u01/oracle/product/11.2/grid
Central Inventory : /ora/u01/oracle/oraInventory
from : /var/opt/oracle/oraInst.loc
OPatch version : 11.2.0.1.5
OUI version : 11.2.0.1.0
OUI location : /ora/u01/oracle/product/11.2/grid/oui
Log file location : /ora/u01/oracle/product/11.2/grid/cfgtoollogs/opatch/opatch2011-09-13_16-52-49PM.log
Patch history file: /ora/u01/oracle/product/11.2/grid/cfgtoollogs/opatch/opatch_history.txt
Lsinventory Output file location : /ora/u01/oracle/product/11.2/grid/cfgtoollogs/opatch/lsinv/lsinventory2011-09-13_16-52-49PM.txt
--------------------------------------------------------------------------------
Installed Top-level Products (1):
Oracle Grid Infrastructure 11.2.0.1.0
There are 1 products installed in this Oracle Home.
There are no Interim patches installed in this Oracle Home.
--------------------------------------------------------------------------------
OPatch succeeded.
chndsora9:/ora/u01/oracle/product/11.2/grid/OPatch\> cd /ora/u01/Oracle11gR2/8898852
chndsora9:/ora/u01/Oracle11gR2/8898852\> /ora/u01/oracle/product/11.2/grid/OPatch/opatch apply
Invoking OPatch 11.2.0.1.5
Oracle Interim Patch Installer version 11.2.0.1.5
Copyright (c) 2010, Oracle Corporation. All rights reserved.
Oracle Home : /ora/u01/oracle/product/11.2/grid
Central Inventory : /ora/u01/oracle/oraInventory
from : /var/opt/oracle/oraInst.loc
OPatch version : 11.2.0.1.5
OUI version : 11.2.0.1.0
OUI location : /ora/u01/oracle/product/11.2/grid/oui
Log file location : /ora/u01/oracle/product/11.2/grid/cfgtoollogs/opatch/opatch2011-09-13_16-53-48PM.log
Patch history file: /ora/u01/oracle/product/11.2/grid/cfgtoollogs/opatch/opatch_history.txt
ApplySession applying interim patch '8898852' to OH '/ora/u01/oracle/product/11.2/grid'
Running prerequisite checks...
Provide your email address to be informed of security issues, install and
initiate Oracle Configuration Manager. Easier for you if you use your My
Oracle Support Email address/User Name.
Visit for details.
Email address/User Name:
You have not provided an email address for notification of security issues.
Do you wish to remain uninformed of security issues ([Y]es, [N]o) [N]:
Email address/User Name:
You have not provided an email address for notification of security issues.
Do you wish to remain uninformed of security issues ([Y]es, [N]o) [N]: Y
OPatch detected non-cluster Oracle Home from the inventory and will patch the local system only.
Please shutdown Oracle instances running out of this ORACLE_HOME on the local system.
(Oracle Home = '/ora/u01/oracle/product/11.2/grid')
Is the local system ready for patching? [y|n]
y
User Responded with: Y
Backing up files and inventory (not for auto-rollback) for the Oracle Home
Backing up files affected by the patch '8898852' for restore. This might take a while...
Backing up files affected by the patch '8898852' for rollback. This might take a while...
Patching component oracle.rdbms, 11.2.0.1.0...
Updating archive file "/ora/u01/oracle/product/11.2/grid/lib/libserver11.a" with "lib/libserver11.a/kfds.o"
Updating archive file "/ora/u01/oracle/product/11.2/grid/lib/libserver11.a" with "lib/libserver11.a/kff.o"
Updating archive file "/ora/u01/oracle/product/11.2/grid/lib/libserver11.a" with "lib/libserver11.a/kfio.o"
Updating archive file "/ora/u01/oracle/product/11.2/grid/lib/libserver11.a" with "lib/libserver11.a/kfio0.o"
Updating archive file "/ora/u01/oracle/product/11.2/grid/lib/libserver11.a" with "lib/libserver11.a/kfn.o"
Updating archive file "/ora/u01/oracle/product/11.2/grid/lib/libserver11.a" with "lib/libserver11.a/kfnc.o"
Updating archive file "/ora/u01/oracle/product/11.2/grid/lib/libserver11.a" with "lib/libserver11.a/kfns.o"
Updating archive file "/ora/u01/oracle/product/11.2/grid/lib/libserver11.a" with "lib/libserver11.a/ksfd.o"
Running make for target ioracle
ApplySession adding interim patch '8898852' to inventory
Verifying the update...
Inventory check OK: Patch ID 8898852 is registered in Oracle Home inventory with proper meta-data.
Files check OK: Files from Patch ID 8898852 are present in Oracle Home.
The local system has been patched and can be restarted.
OPatch succeeded.
chndsora9:/ora/u01/Oracle11gR2/8898852\> /ora/u01/oracle/product/11.2/grid/OPatch/opatch lsinventory
Invoking OPatch 11.2.0.1.5
Oracle Interim Patch Installer version 11.2.0.1.5
Copyright (c) 2010, Oracle Corporation. All rights reserved.
Oracle Home : /ora/u01/oracle/product/11.2/grid
Central Inventory : /ora/u01/oracle/oraInventory
from : /var/opt/oracle/oraInst.loc
OPatch version : 11.2.0.1.5
OUI version : 11.2.0.1.0
OUI location : /ora/u01/oracle/product/11.2/grid/oui
Log file location : /ora/u01/oracle/product/11.2/grid/cfgtoollogs/opatch/opatch2011-09-13_16-57-00PM.log
Patch history file: /ora/u01/oracle/product/11.2/grid/cfgtoollogs/opatch/opatch_history.txt
Lsinventory Output file location : /ora/u01/oracle/product/11.2/grid/cfgtoollogs/opatch/lsinv/lsinventory2011-09-13_16-57-00PM.txt
--------------------------------------------------------------------------------
Installed Top-level Products (1):
Oracle Grid Infrastructure 11.2.0.1.0
There are 1 products installed in this Oracle Home.
Interim patches (1) :
Patch 8898852 : applied on Tue Sep 13 16:56:22 CST 2011
Unique Patch ID: 12572687
Created on 10 May 2010, 09:19:54 hrs UTC
Bugs fixed:
8898852
--------------------------------------------------------------------------------
OPatch succeeded.
chndsora9:/ora/u01/Oracle11gR2/8898852\> sqlplus /nolog
SQL*Plus: Release 11.2.0.1.0 Production on Tue Sep 13 16:57:11 2011
Copyright (c) 1982, 2009, Oracle. All rights reserved.
SQL> conn / as sysdba
Connected to an idle instance.
SQL> startup
ORA-01031: insufficient privileges
SQL> conn / as sysasm
Connected to an idle instance.
SQL> startup
ASM instance started
Total System Global Area 284008448 bytes
Fixed Size 2147392 bytes
Variable Size 256695232 bytes
ASM Cache 25165824 bytes
ASM diskgroups mounted
重新對RDBMS 的資料檔案做 resize, 就能正確執行了:
SQL> conn / as sysdba
Connected to an idle instance.
SQL> startup
ORA-32004: obsolete or deprecated parameter(s) specified for RDBMS instance
ORACLE instance started.
Total System Global Area 1069252608 bytes
Fixed Size 2154936 bytes
Variable Size 817897032 bytes
Database Buffers 243269632 bytes
Redo Buffers 5931008 bytes
Database mounted.
Database opened.
SQL> alter database datafile 37 resize 110M;
Database altered.
SQL>
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/674865/viewspace-707357/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- oracle中的 RESIZE檔案or ADD檔案Oracle
- resize 資料檔案的大小
- ASM與檔案系統之間copy資料檔案--檔案系統到ASMASM
- ORACLE中裸裝置資料檔案RESIZE/AUTOEXTEND ONOracle
- asm拷貝檔案到檔案系統ASM
- ASM 檔案與本地檔案的轉換ASM
- 【ASM】ASM資料檔案和OS檔案(FILESYSTEM)轉移方法總結ASM
- Oracle:ASM & 密碼檔案OracleASM密碼
- 資料檔案Resize引起的ORA-03297報錯
- 利用RMAN將非ASM檔案移動到ASM裡 - [ASM]ASM
- 【ASM學習】從ASM拷貝檔案的方法ASM
- 學習ASM技術(七)--ASM檔案轉化ASM
- ASM認證與口令檔案ASM
- ASM檔案別名的分析ASM
- ASM檔案系統遷移ASM
- 訪問ASM中的檔案ASM
- ASM下遷移控制檔案ASM
- asm 檔案系統遷移ASM
- ASM中多功控制檔案ASM
- 將ASM裡面的檔案copy到檔案系統ASM
- ASM叢集檔案系統ACFS(ASM Cluster File System)ASM
- 移動資料檔案從ASM到檔案系統ASM
- 如何遷移ASM資料檔案到檔案系統ASM
- ASM 翻譯系列第三十五彈:ASM 253號檔案——ASM spfileASM
- IIS不能下載ini檔案
- 手工清理ASM裡面的垃圾檔案ASM
- 使用普通檔案建立ASM例項ASM
- 用RMAN遷移檔案到ASM或從ASM遷出ASM
- 資料檔案RESIZE導致查詢DBA_DATA_FILES被鎖
- 從ASM磁碟中複製檔案到本地檔案系統ASM
- 遠端桌面不能貼上檔案
- 破解PDF檔案不能列印的限制
- 從檔案系統遷移到ASM上ASM
- 遷移資料庫檔案到ASM資料庫ASM
- Oracle單例項+ASM新增控制檔案Oracle單例ASM
- [ORACLE ASM] AMDU 恢復資料檔案OracleASM
- oralce 從檔案系統遷移到ASMASM
- asm下的控制檔案的複製ASM