{"id":18,"date":"2011-09-26T06:04:00","date_gmt":"2011-09-26T06:04:00","guid":{"rendered":"https:\/\/bijoos.com\/oraclenotes\/?p=18"},"modified":"2026-02-07T14:43:40","modified_gmt":"2026-02-07T20:43:40","slug":"rename-diskgroup-in-asm","status":"publish","type":"post","link":"https:\/\/bijoos.com\/oraclenotes\/2011\/18\/","title":{"rendered":"Rename Diskgroup in ASM"},"content":{"rendered":"<div dir=\"ltr\" trbidi=\"on\"><\/p>\n<div><b><u>Rename ASM Diskgroup [11gR2]<\/u><\/b><\/div>\n<div><\/div>\n<div>In 11gR2 it is possible to rename an ASM diskgroup. This is especially useful when performing database copy using OS level LUN mirroring technologies. <\/div>\n<div><\/div>\n<div>The renamedg command is used to rename diskgroups. It has the following options:<\/div>\n<div><\/div>\n<div><span>$ renamedg -help<\/span><\/div>\n<div><\/div>\n<div><span>Parsing parameters..<\/span><\/div>\n<div><span>phase\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Phase to execute,<\/span><\/div>\n<div><span>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 (phase=ONE|TWO|BOTH), default BOTH<\/span><\/div>\n<div><span>dgname\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Diskgroup to be renamed<\/span><\/div>\n<div><span>newdgname\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 New name for the diskgroup<\/span><\/div>\n<div><span>config\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0intermediate config file<\/span><\/div>\n<div><span>check\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 just check-do not perform actual operation,<\/span><\/div>\n<div><span>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 (check=TRUE\/FALSE), default FALSE<\/span><\/div>\n<div><span>confirm\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 confirm before committing changes to disks,<\/span><\/div>\n<div><span>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0(confirm=TRUE\/FALSE), default FALSE<\/span><\/div>\n<div><span>clean\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 ignore errors,<\/span><\/div>\n<div><span>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 (clean=TRUE\/FALSE), default TRUE<\/span><\/div>\n<div><span>asm_diskstring\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 ASM Diskstring (asm_diskstring=&#8217;discoverystring&#8217;,<\/span><\/div>\n<div><span>\u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0&#8216;discoverystring1&#8217; &#8230;)<\/span><\/div>\n<div><span>verbose\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 verbose execution,<\/span><\/div>\n<div><span>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 (verbose=TRUE|FALSE), default FALSE<\/span><\/div>\n<div><span>keep_voting_files\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Voting file attribute,<\/span><\/div>\n<div><span>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u00a0\u00a0(keep_voting_files=TRUE|FALSE), default FALSE<\/span><\/div>\n<div><\/div>\n<div>To rename a diskgroup, it must be stopped [or unmounted]. <\/div>\n<div><\/div>\n<div><span>$ srvctl stop diskgroup -g oops1<\/span><\/div>\n<div><span>$ renamedg dgname=oops1 newdgname=good1 verbose=true<\/span><\/div>\n<div><span>$ srvctl start diskgroup \u2013g good1<\/span><\/div>\n<div><\/div>\n<div>You must manually rename all database files on the diskgroup to reflect the new name using ALTER DATABSE RENAME FILE command.<\/div>\n<div><\/div>\n<div>Even after successful rename command, old diskgroup resources in Oracle Restart must be manually removed using the srvctl command.<\/div>\n<div><\/div>\n<table border=\"1\" cellpadding=\"0\" cellspacing=\"0\">\n<tbody>\n<tr>\n<td valign=\"top\" width=\"734\">\n<div>To Read More:\u00a0 <a href=\"http:\/\/download.oracle.com\/docs\/cd\/E11882_01\/server.112\/e16102\/asmdiskgrps.htm#CHDJAGHE\"><span>http:\/\/download.oracle.com\/docs\/cd\/E11882_01\/server.112\/e16102\/asmdiskgrps.htm#CHDJAGHE<\/span><\/a><\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<div><\/div>\n<div><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Rename ASM Diskgroup [11gR2] In 11gR2 it is possible to rename an ASM diskgroup. This is especially useful when performing database copy using OS level LUN mirroring technologies. The renamedg command is used to rename diskgroups. It has the following options: $ renamedg -help Parsing parameters.. phase\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Phase to execute, \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 (phase=ONE|TWO|BOTH), default BOTH dgname\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 &#8230; <a title=\"Rename Diskgroup in ASM\" class=\"read-more\" href=\"https:\/\/bijoos.com\/oraclenotes\/2011\/18\/\" aria-label=\"Read more about Rename Diskgroup in ASM\">Read more<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_hide_featured_image":false,"_jetpack_featured_image_duplicate_dismissed":0,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[2,133],"tags":[134],"class_list":["post-18","post","type-post","status-publish","format-standard","hentry","category-infrastructure-exadata","category-oracledb","tag-oracle-11g"],"acf":[],"jetpack-related-posts":[{"id":159,"url":"https:\/\/bijoos.com\/oraclenotes\/2013\/159\/","url_meta":{"origin":18,"position":0},"title":"OracleDB12c New Feature: Rename and Replace ASM Disk(s) in Diskgroup","author":"Biju","date":"July 10, 2013","format":false,"excerpt":"As I have not set up 12c GI ASM yet, have not tested this feature... Rename clause is nice to have. Replace clause helps to avoid multiple steps when replacing disk (LUN) with new one [array migration, for example]. Information below is straight copy from Oracle Documentation... rename_disk_clause ALTER DISKGROUP\u2026","rel":"","context":"In &quot;Oracle Database&quot;","block_context":{"text":"Oracle Database","link":"https:\/\/bijoos.com\/oraclenotes\/category\/oracledb\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":426,"url":"https:\/\/bijoos.com\/oraclenotes\/2014\/426\/","url_meta":{"origin":18,"position":1},"title":"Oracle Tidbits &#8211; June 2014","author":"Biju","date":"June 30, 2014","format":false,"excerpt":"\u201cOracle *daily* TidBits\u201d published at\u00a0https:\/\/www.facebook.com\/oraclenotes\u00a0on all weekdays\u00a0in June\u00a02014. You will also see these tidbits, one tidbit at a time, for each page refresh on the right side of this blog as well\u2026 TidBit Topic In Oracle Database 12c, the Pre-Upgrade Information Tool script is preupgrd.sql (meaningfully named). Earlier release pre-upgrade\u2026","rel":"","context":"In &quot;TidBits &amp; Quick Tips&quot;","block_context":{"text":"TidBits &amp; Quick Tips","link":"https:\/\/bijoos.com\/oraclenotes\/category\/tidbits\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":119,"url":"https:\/\/bijoos.com\/oraclenotes\/2013\/119\/","url_meta":{"origin":18,"position":2},"title":"OracleDB12c New Feature: More to Online Datafile Move","author":"Biju","date":"July 1, 2013","format":false,"excerpt":"As we already know, now with Oracle Database 12c, it is easier to move a data file. There is more to it... Let us see few operations in 11g, and how they all got simplified with Oracle 12c online file move feature... 1. Rename a file or move a file\u2026","rel":"","context":"In &quot;Oracle Database&quot;","block_context":{"text":"Oracle Database","link":"https:\/\/bijoos.com\/oraclenotes\/category\/oracledb\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":7,"url":"https:\/\/bijoos.com\/oraclenotes\/2012\/7\/","url_meta":{"origin":18,"position":3},"title":"Disk Array Migration for ASM Databases","author":"Biju","date":"November 26, 2012","format":false,"excerpt":"This blog identifies the DBA steps required to migrate databases from one disk array to another. Identify the ASM diskgroups and their disk (LUN) sizes Login to the ASM instance and identify the LUNs allocated to server. SQL> SET PAGES 999 SQL> col name format a15 For 11g ASM: SQL>\u2026","rel":"","context":"In &quot;Infrastructure &amp; Exadata&quot;","block_context":{"text":"Infrastructure &amp; Exadata","link":"https:\/\/bijoos.com\/oraclenotes\/category\/infrastructure-exadata\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":186,"url":"https:\/\/bijoos.com\/oraclenotes\/2013\/186\/","url_meta":{"origin":18,"position":4},"title":"OracleDB12c New Feature: Password File in ASM","author":"Biju","date":"July 15, 2013","format":false,"excerpt":"Prior to Oracle Database 12c, the password file always was located under $ORACLE_HOME\/dbs directory, even for RAC instances and for RAC ASM cluster. DBA had to manage and keep in sync the password file in each node. In 12c, now the password file can be stored on ASM instance and\u2026","rel":"","context":"In &quot;Oracle Database&quot;","block_context":{"text":"Oracle Database","link":"https:\/\/bijoos.com\/oraclenotes\/category\/oracledb\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1484,"url":"https:\/\/bijoos.com\/oraclenotes\/2015\/1484\/","url_meta":{"origin":18,"position":5},"title":"Install and Upgrade Grid Infrastructure 12.1.0.2","author":"Biju","date":"January 1, 2015","format":false,"excerpt":"Happy New Year! Upgraded 12.1.0.1 Grid Infrastructure to 12.1.0.2 and applied the Oct 2014 PSU. Had an error during rootupgrade.sh as well, due to the ASM spfile being on disk instead of on ASM diskgroup (MOS Note: Upgrading ASM Failed With ORA-32002: cannot create SPFILE - Doc ID 1912581.1). The\u2026","rel":"","context":"In &quot;Oracle Database&quot;","block_context":{"text":"Oracle Database","link":"https:\/\/bijoos.com\/oraclenotes\/category\/oracledb\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/bijoos.com\/oraclenotes\/wp-json\/wp\/v2\/posts\/18","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bijoos.com\/oraclenotes\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bijoos.com\/oraclenotes\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bijoos.com\/oraclenotes\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/bijoos.com\/oraclenotes\/wp-json\/wp\/v2\/comments?post=18"}],"version-history":[{"count":1,"href":"https:\/\/bijoos.com\/oraclenotes\/wp-json\/wp\/v2\/posts\/18\/revisions"}],"predecessor-version":[{"id":2949,"href":"https:\/\/bijoos.com\/oraclenotes\/wp-json\/wp\/v2\/posts\/18\/revisions\/2949"}],"wp:attachment":[{"href":"https:\/\/bijoos.com\/oraclenotes\/wp-json\/wp\/v2\/media?parent=18"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bijoos.com\/oraclenotes\/wp-json\/wp\/v2\/categories?post=18"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bijoos.com\/oraclenotes\/wp-json\/wp\/v2\/tags?post=18"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}