ASM OMF single-file creation form 重命名

2024-06-03 00:20

本文主要是介绍ASM OMF single-file creation form 重命名,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!

OMF下不能自动命名,需要重新命名的话:1

1. spfile 可以 create pfile from spfile 后再create spfile from pfile

2 redo?

3 datafile?

Here are some details of the copy problem:

a) You are not allowed to set the numbers for the target file
ASMCMD> cp +AUX/AUX/DATAFILE/RMANTEST.265.804096431 +DATA/xydb/DATAFILE/RMANTEST.265.804096431
copying +AUX/AUX/DATAFILE/RMANTEST.265.804096431 -> +DATA/xydb/DATAFILE/RMANTEST.265.804096431
ASMCMD-8016: copy source->'+AUX/AUX/DATAFILE/RMANTEST.265.804096431' and target->'+DATA/xydb/DATAFILE/RMANTEST.265.804096431' failed
ORA-15056: additional error message
ORA-15046: ASM file name '+DATA/xydb/DATAFILE/RMANTEST.265.804096431' is not in single-file creation form
ORA-06512: at "SYS.X$DBMS_DISKGROUP", line 413
ORA-06512: at line 3 (DBD ERROR: OCIStmtExecute)
ASMCMD>

b) If you omit the numbers then the structure of the datafile in the target ASM directory is different to the others:
ASMCMD> cp +AUX/AUX/DATAFILE/RMANTEST.265.804096431 +DATA/xydb/DATAFILE/RMANTEST
copying +AUX/AUX/DATAFILE/RMANTEST.265.804096431 -> +DATA/xydb/DATAFILE/RMANTEST
ASMCMD> ls -l
Type      Redund  Striped  Time             Sys  Name
DATAFILE  MIRROR  COARSE   JAN 08 14:00:00  Y    TBS01.264.774103285
                                            N    RMANTEST => +DATA/ASM/DATAFILE/RMANTEST.274.804179419
DATAFILE  MIRROR  COARSE   JAN 08 00:00:00  Y    SYSAUX.261.774103259
DATAFILE  MIRROR  COARSE   JAN 08 00:00:00  Y    SYSTEM.260.774103249
DATAFILE  MIRROR  COARSE   JAN 08 00:00:00  Y    UNDOTBS1.262.774103267
DATAFILE  MIRROR  COARSE   JAN 08 00:00:00  Y    UNDOTBS2.265.774103287
DATAFILE  MIRROR  COARSE   JAN 08 00:00:00  Y    UNDOTBS3.266.774103291
ASMCMD>

SYMPTOMS

ORA-15046 when using asmcmd pwmove command on password file
 

$ asmcmd pwmove --asm +DG/ASM/PASSWORD/pwdasm.256.934825981 +DG1/ASM/PASSWORD/pwdasm.256.934825981 -f
moving +DG/ASM/PASSWORD/pwdasm.256.934825981 -> +DG1/ASM/PASSWORD/pwdasm.256.934825981
ASMCMD-8016: copy source '+DG/ASM/PASSWORD/pwdasm.256.934825981' and target '+DG1/ASM/PASSWORD/pwdasm.256.934825981' failed
ORA-15056: additional error message
ORA-15046: ASM file name '+DG1/ASM/PASSWORD/pwdasm.256.934825981' is not in single-file creation form       <<<-----------------------
ORA-06512: at "SYS.X$DBMS_DISKGROUP", line 603
ORA-06512: at line 3 (DBD ERROR: OCIStmtExecute)

CHANGES

None

CAUSE

Destination file name cannot be in a OMF format
 
target '+DG/ASM/PASSWORD/pwdasm.256.934825981' failed <<<----------"pwdasm.256.934825981" is an OMF compliant name

Using Oracle Managed Files
 

SOLUTION

Use a non-OMF destination file name

Example:
$ asmcmd pwmove --asm +DG/ASM/PASSWORD/pwdasm.256.934825981 +DG1/ASM/PASSWORD/asmpwdfile -f

Note: you may or may not need to use the force "-f" option in the command.

RMAN duplicate has failed with ORA-15046 while restoring the spfile
 

RMAN-05501: aborting duplication of target database
RMAN-03015: error occurred in stored script Memory Script
ORA-19870: error while restoring backup piece <backup piece name>
ORA-32015: unable to restore SPFILE
ORA-17502: ksfdcre:4 Failed to create file <ASM DG Name>/<DB_UNIQUE_NAME>/PARAMETERFILE/spfile.<nnnn>.<nnnnnnn>
ORA-15046: ASM file name '<ASM DG Name>/<DB_UNIQUE_NAME>/PARAMETERFILE/spfile.<nnnn>.<nnnnnnn>' is not in single-file creation form

CHANGES

CAUSE

Bug 35801772
 
Symptoms match with the Bug which is in status 11 { Dev working }
 

SOLUTION

Action Plan which helped to resolve the issue given in the above Bug was :

If the spfile is specified within CRS on the auxiliary instance, this will cause the error for the spfile. Clearing it removes the issue.

Run the below command at the Auxiliary DB to confirm if spfile has been configured in CRS

$ srvctl config database -db '<db_unique_name/db_name>';

The above command showed that spfile setting was configured in CRS.

Clear the spfile setting in CRS using the below command : 

At the Auxiliary DB

========

$ srvctl modify database -db <db_unique_name/db_name> -spfile '' # it is two single quotes


 Then the spfile got Restored and RMAN Duplicate was successful. 

这篇关于ASM OMF single-file creation form 重命名的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!



http://www.chinasem.cn/article/1025511

相关文章

form表单提交编码的问题

浏览器在form提交后,会生成一个HTTP的头部信息"content-type",标准规定其形式为Content-type: application/x-www-form-urlencoded; charset=UTF-8        那么我们如果需要修改编码,不使用默认的,那么可以如下这样操作修改编码,来满足需求: hmtl代码:   <meta http-equiv="Conte

js异步提交form表单的解决方案

1.定义异步提交表单的方法 (通用方法) /*** 异步提交form表单* @param options {form:form表单元素,success:执行成功后处理函数}* <span style="color:#ff0000;"><strong>@注意 后台接收参数要解码否则中文会导致乱码 如:URLDecoder.decode(param,"UTF-8")</strong></span>

前端form表单+ifarme方式实现大文件下载

// main.jsimport Vue from 'vue';import App from './App.vue';import { downloadTokenFile } from '@/path/to/your/function'; // 替换为您的函数路径// 将 downloadTokenFile 添加到 Vue 原型上Vue.prototype.$downloadTokenF

Python脚本:对文件进行批量重命名

字符替换:批量对文件名中指定字符进行替换添加前缀:批量向原文件名添加前缀添加后缀:批量向原文件名添加后缀 import osdef Rename_CharReplace():#对文件名中某字符进行替换(已完结)re_dir = os.getcwd()re_list = os.listdir(re_dir)original_char = input('请输入你要替换的字符:')replace_ch

Open a folder or workspace... (File -> Open Folder)

问题:vscode Open with Live Server 时 显示Open a folder or workspace... (File -> Open Folder)报错 解决:不可以单独打开文件1.html ; 需要在文件夹里打开 像这样

android java.io.IOException: open failed: ENOENT (No such file or directory)-api23+权限受权

问题描述 在安卓上,清单明明已经受权了读写文件权限,但偏偏就是创建不了目录和文件 调用mkdirs()总是返回false. <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/><uses-permission android:name="android.permission.READ_E

bash: arm-linux-gcc: No such file or directory

ubuntu出故障重装了系统,一直用着的gcc使用不了,提示bash: arm-linux-gcc: No such file or directorywhich找到的命令所在的目录 在google上翻了一阵发现此类问题的帖子不多,后来在Freescale的的LTIB环境配置文档中发现有这么一段:     # Packages required for 64-bit Ubuntu

编译linux内核出现 arm-eabi-gcc: error: : No such file or directory

external/e2fsprogs/lib/ext2fs/tdb.c:673:29: warning: comparison between : In function 'max2165_set_params': -。。。。。。。。。。。。。。。。。。 。。。。。。。。。。。。。 。。。。。。。。 host asm: libdvm <= dalvik/vm/mterp/out/Inte

Python批量读取身份证信息录入系统和重命名

前言 大家好, 如果你对自动化处理身份证图片感兴趣,可以尝试以下操作:从身份证图片中快速提取信息,填入表格并提交到网页系统。如果你无法完成这个任务,我们将在“Python自动化办公2.0”课程中详细讲解实现整个过程。 实现过程概述: 模块与功能: re 模块:用于从 OCR 识别出的文本中提取所需的信息。 日期模块:计算年龄。 pandas:处理和操作表格数据。 PaddleOCR:百度的

file-max与ulimit的关系与差别

http://zhangxugg-163-com.iteye.com/blog/1108402 http://ilikedo.iteye.com/blog/1554822