码迷,mamicode.com
首页 > 其他好文 > 详细

如何卸载并删除ASM磁盘组

时间:2015-03-09 12:56:58      阅读:174      评论:0      收藏:0      [点我收藏+]

标签:oracle   asm   diskgroup   

1、以oracle用户登录RAC数据库节点1:

oracle@node74:~> export ORACLE_SID=+ASM1

oracle@node74:~> sqlplus sys/xxxxx as sysdba

 

SQL*Plus: Release 11.1.0.7.0 - Productionon Mon Feb 18 14:34:20 2013

Copyright (c) 1982, 2008, Oracle.  All rights reserved.

Connected to:

Oracle Database 11g Enterprise EditionRelease 11.1.0.7.0 - 64bit Production

With the Partitioning, Real ApplicationClusters, OLAP, Data Mining

and Real Application Testing options

 

SQL> alter diskgroup dg_arch dismount;

 Diskgroup altered.

 ------ 实例+ASM1卸载ASM磁盘组DG_ARCH

  

2、以oracle用户登录RAC数据库节点2:

oracle@node76:~> export ORACLE_SID=+ASM2

oracle@node76:~> sqlplus sys/xxxxx as sysdba

 

SQL*Plus: Release 11.1.0.7.0 - Production onMon Feb 18 14:35:10 2013

Copyright (c) 1982, 2008, Oracle.  All rights reserved.

Connected to:

Oracle Database 11g Enterprise EditionRelease 11.1.0.7.0 - 64bit Production

With the Partitioning, Real ApplicationClusters, OLAP, Data Mining

and Real Application Testing options

 

SQL> alterdiskgroup dg_arch dismount;

 Diskgroup altered.

 ------ 实例+ASM2卸载ASM磁盘组DG_ARCH

 

SQL> dropdiskgroup dg_arch force including contents;

 Diskgroup dropped.

 ------- 删除ASM磁盘组DG_ARCH

如何卸载并删除ASM磁盘组

标签:oracle   asm   diskgroup   

原文地址:http://blog.csdn.net/wenshuangzhu/article/details/44152531

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!