日期:2014-05-16  浏览次数:20698 次

如何重命名asm 中的磁盘组

  今天是2014-03-24,介绍一个重命名oracle asm 磁盘组的工具renamedg

The renamedg tool enables you to change the name of a cloned disk group. The disk group must be dismounted on all nodes in the cluster before running renamedg on the disk group.

renamedg renames a disk group using a two-step process:

  1. Phase one

    This phase generates a configuration file to be used in phase two.

  2. Phase two

    This phase uses the configuration file to perform the renaming of the disk group.

The syntax is:


renamedg {-help | help=true}

renamedg
     [phase={ one|two |both } ] dgname=diskgroup
     newdgname=newdiskgroup [config=configfile]
     [ asm_diskstring=discoverystring, discoverystring ... ]
     [ clean={true|false} ] [ check={true|false} ]
     [ confirm={true|false}] [ verbose={ true|false} ]
     [ keep_voting_files={true|false}]

  • phase={