How to rename ASM disks

Source: Internet
Author: User

 

 

If all you are doing is changing the name of the disk, then the only thing That shocould be necessary from Oracle's perspective is to change the asm_diskstring parameter on the ASM instance. alternatively, you may be able to just rename or create new symbolic links to the devices at the OS level.

Alternatively, you may be able to just rename. this is a dangerous operation because the ASM volume information is stored in the ASM disk header. we read that information when the disks are discovered; nothing is stored in the ASM instance.

This information includes des the ASM disk name, what diskgroup it belongs to and a whole lot of other information. ASM doesn't care about the disk name.

If renaming the disks before upts the ASM header then you will need to recreate
ASM disks.

We recommend that you take a new full backup of the database before doing
Rename.

+ This can be done by specifying the new device names in the pfile for the ASM instance

Action Plan
==============
Please take a full database backup before doing anything, first please make sure that ASM instance is shutdown before doing the following steps

1. Specify the new devices names in the asm_diskstring parameter in the pfile for ASM instance

2. startup the ASM instance using the pfile
(This step is important to enable the new changes because ASM uses the spfile by default)

3. Move the spfile to another location

4. create spfile from pfile
(This step is for making the changes permanent to overwrite the spfile)

5. move the newly created spfile to the default location of the spfile

ADDITIONAL INFORMATION
======================================
SM_DISKSTRING specifies an operating system-dependent value used by Automatic Storage Management to limit the set of disks considered for discovery. when a new disk is added to a disk group, each Automatic Storage Management instance that has the disk group mounted must be able to discover the new disk using the value of ASM_DISKSTRING.

In most cases, the default value will be sufficient. using a more restrictive value may reduce the time required for Automatic Storage Management to perform discovery, and thus improve disk group Mount time or the time for adding a disk to a disk group. A "? "At the beginning of the string gets expanded to the Oracle Home Directory. depending on the operating system, wildcard characters can be used. it may be necessary to dynamically change asm_diskstring before adding a disk so that the new disk will be discovered.

Syntax asm_diskstring = discovery_string [, discovery_string]...

Dfault value the Null String; Automatic Storage Management discovery finds all disks in an operating system-specific location to which the Automatic Storage Management instance has read/write access.

Modifiable alter System

Or more information about the ASM_DISKSTRING parameter please refer to the following link to the documentation:
Http://download-west.oracle.com/docs/cd/B19306_01/server.102/b14237/initparams011.htm#REFRN10248

 

 

 

From Oracle

Bytes -------------------------------------------------------------------------------------------------------

Blog: http://blog.csdn.net/tianlesoftware

Email: dvd.dba@gmail.com

DBA1 group: 62697716 (full); DBA2 group: 62697977 (full) DBA3 group: 62697850 (full)

Super DBA group: 63306533 (full); DBA4 group: 83829929 DBA5 group: 142216823

Chat group: 40132017 chat 2 group: 69087192

-- Add the group to describe the relationship between Oracle tablespace and data files in the remarks section. Otherwise, the application is rejected.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.