rename diskgroup option is a new feature of 11gR2 .
The command renamedg was introduced in 11gR2; however, there are many cases where a diskgroup in a 10g or 11.1 environment needs to be renamed. You can use this tool to rename your 10g or 11gR1 ASM diskgroup
In these cases, the 11gR2 stack, or more specifically Oracle Restart (Oracle Grid Infrastructure for Single Instance) needs to be installed on the server(s) where the diskgroup will be performed. It is not necessary to install 11gR2 RAC for this. Also, it is not necessary to start the Oracle Restart stack (you simply need the dormant software installation for the renamedg command).
1. Install 11.2.0.1 Oracle Restart (Oracle Grid Infrastrcuture for Single Instance)
Oracle Restart 是oracle 11gR2里引进的, 关于Oracle restart 参考:
http://download.oracle.com/docs/cd/E11882_01/server.112/e17120/restart001.htm#ADMIN12709
2. Apply backport patch 8935942. This step is not needed for 11.2.0.2 as its included
3. unmount diskgroup that will be renamed
4. Run renamedg from the Oracle Restart home. Review Oracle Storage Administrator's Guide for details on executing renamedg
cd <11gr2 grid home>/bin
renamedg
use renamedg tool to rename 10g or 11gR1 diskgroup.
5. Optionally deinstall Oracle Restart software stack. If frequent diskgroup renames will be needed, then its recommended not to
deinstall the Oracle Restart stack.
6. Mount diskgroup
Diskgroup cannot be renamed under following conditions :
- the Diskgroup is mounted
- the Diskgroup is being used by CSS
- Diskgroup contains offline disks
From Oracle
-------------------------------------------------------------------------------------------------------
QQ:492913789
Email:ahdba@qq.com
Blog: http://www.cndba.cn/dave
DBA1 群:62697716(满); DBA2 群:62697977(满) DBA3 群:62697850(满)
DBA 超级群:63306533(满); DBA4 群: 83829929 DBA5群: 142216823
聊天 群:40132017 聊天2群:69087192
--加群需要在备注说明Oracle表空间和数据文件的关系,否则拒绝申请