`
helloyesyes
  • 浏览: 1326796 次
  • 性别: Icon_minigender_2
  • 来自: 武汉
文章分类
社区版块
存档分类
最新评论

How to rename ASM disks

阅读更多

If all you are doing is changing the name of the disk, then the only thing that should 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 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 corrupts the ASM header then you will need to recreate the
ASM disks.

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


++This can be done by specifying the new device names in the 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

-------------------------------------------------------------------------------------------------------

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

Email: dvd.dba@gmail.com

DBA1 群:62697716(); DBA2 群:62697977() DBA3 群:62697850()

DBA 超级群:63306533(); DBA4 群: 83829929 DBA5群: 142216823

聊天 群:40132017 聊天2群:69087192

--加群需要在备注说明Oracle表空间和数据文件的关系,否则拒绝申请

分享到:
评论

相关推荐

    kafka 解决log4j:ERROR Failed to rename错误解决办法错误的jar包

    log4j:ERROR Failed to rename

    解决log4j:ERROR Failed to rename代码包

    log4j:ERROR Failed to rename错误解决办法 http://www.blogjava.net/DreamAngel/archive/2011/11/10/363400.html

    log4j:ERROR Failed to rename

    解决log4j:ERROR Failed to rename, win系统占用文件无法改名字的问题

    log4j:ERROR Failed to rename错误解决办法

    log4j:ERROR Failed to rename错误; 网上查找了下原因,大概意思是日志文件始终被占有,所以当log4j对日志文件进行rename时,就发生了Failed to rename错误 。要修改log4j的源码,附件是我修改好后的,方便大家...

    log4j修改源码后解决log4j:ERROR Failed to rename错误解决办法错误的jar包

    log4j:ERROR Failed to rename错误解决办法,修改源码里的DailyRollingFileAppender类,用此jar包就不会再出现ERROR Failed to rename的错误了

    请慎用java的File#renameTo(File)方法

    以前我一直以为File#renameTo(File)方法与OS下面的 move/mv 命令是相同的,可以达到改名、移动文件的目的。不过后来经常发现问题:File#renameTo(File)方法会返回失败(false),文件没有移动,又查不出原因,再后来...

    A small program that can be used to rename files AND extensi

    A small program that can be used to rename files AND extensions... I got tired of using DOS to rename the files.

    Tomcat6下Log4j的log4j:ERROR Failed to rename错误解决办法

    包括修改后的[color=darkred]org.apache.log4j.DailyRollingFileAppender[/color]类的源代码和已编译好的文件. 请用DailyRollingFileAppender.class替换log4j-1.2.15.jar包里相应的类. 博文链接:...

    ORACLE Rename Table的语法

    在 ORACLE 中,重命名(Rename)一个表的命令是 ALTER TABLE old_name RENAME TO new_name,而不是 RENAME old_name TO new_name。 REname 命令只是 SQL*Plus 的命令,不能在其他程序中使用,如果将其放在 Java、...

    C++ Programming HOW TO

    ### C++ Programming HOW-TO #### 1. Introduction C++是一种广泛使用的编程语言,它在许多领域都有着不可替代的地位,如系统软件开发、游戏开发、高性能应用等。本章节首先介绍了C++与Java的区别,并探讨了选择...

    文件重命名工具rename

    "文件重命名工具rename"是一款历史悠久且功能丰富的应用程序,专门设计用于帮助用户高效地管理和整理他们的文件系统。在数字化时代,文件数量日益庞大,统一、有序的文件命名规则显得尤为重要,而这款工具正好解决了...

    FreeRename5.3.rar

    《FreeRename5.3——高效批量文件重命名与管理工具》 在日常的电脑操作中,我们时常会遇到需要一次性更改大量文件名或扩展名的情况,手动操作既耗时又容易出错。这时,一款强大的批量文件重命名工具就显得尤为重要...

    Rename

    "Rename"是一个与文件操作相关的主题,特别是针对文件或文件夹重命名的工具或技术。在计算机领域,重命名(Rename)是用户日常工作中常见的一种操作,它允许用户更改文件或目录的显示名称,以便更好地组织、标识或...

    freerename

    《文件批量更名软件——深度解析FreeRename》 在日常工作中,我们经常遇到需要批量处理文件名的情况,比如整理照片、归档文档等。这时,一个高效便捷的文件批量更名工具就显得尤为重要。"FreeRename"正是这样一款...

    批量重命名工具FreeRename5.3

    《批量重命名工具FreeRename5.3:高效管理和组织文件的必备利器》 在日常的数字生活中,我们经常需要管理大量的文件,尤其是对于从事设计、摄影或者编程等行业的专业人士来说,文件数量庞大且命名规则复杂。这时,...

    手工创建ASM(不使用ASMlib)

    ALTER DISKGROUP dg3 RENAME DIRECTORY ‘+DG3/TRANSRAC/PARAMETERFILE’ TO ‘+DG3/TRANSRAC/SPFILE’; ``` - 查看目录内的文件: 可以通过查询`v$asm_alias`视图来查看ASM内的文件和目录。 此外,ASM使用...

    SRename.rar

    【标题】"SRename"是一款专为Windows操作系统设计的实用工具,主要用于批量处理图像文件的命名。这款软件功能强大,能够帮助用户轻松实现对图片文件的重命名、删除字符、改变文件格式以及按照特定顺序排序等多种操作...

Global site tag (gtag.js) - Google Analytics