AMDU恢复ASM磁盘组数据(测)

--umount

ASMCMD> umoung -a asmdg

commands:

md_backup, md_restor

lsattr, setattr

cd, cp, du, find, help, ls, lsct, lsdg, lsof, mkalias

mkdir, pwd, rm, rmalias

chdg, chkdg, dropdg, iostat, lsdsk, lsod, mkdg, mount

offline, online, rebal, remap, umount

dsget, dsset, lsop, shutdown, spbackup, spcopy, spget

spmove, spset, startup

chtmpl, lstmpl, mktmpl, rmtmpl

chgrp, chmod, chown, groups, grpmod, lsgrp, lspwusr, lsusr

mkgrp, mkusr, orapwusr, passwd, rmgrp, rmus

volcreate, voldelete, voldisable, volenable, volinfo

volresize, volset, volstat

ASMCMD> umount -f asmdg

--amdu

[[email protected] amdu_2014_07_21_17_39_19]$ amdu   -extract ASMDG.259

amdu_2014_07_21_17_45_08/

[[email protected] amdu_2014_07_21_17_39_19]$ ll

total 4

drwxr-xr-x 2 oracle oinstall 4096 Jul 21 17:45 amdu_2014_07_21_17_45_08

[[email protected] amdu_2014_07_21_17_39_19]$ cd *

[[email protected] amdu_2014_07_21_17_45_08]$ ll

total 21804

-rw-r--r-- 1 oracle oinstall 22290432 Jul 21 17:45 ASMDG_259.f

-rw-r--r-- 1 oracle oinstall     4885 Jul 21 17:45 report.txt

[[email protected] amdu_2014_07_21_17_45_08]$ more *txt

-*-amdu-*-

******************************* AMDU Settings ********************************

ORACLE_HOME = /orac/orahome/app/11.2.0/grid

System name:    Linux

Node name:      rac1

Release:        2.6.32-200.13.1.el5uek

Version:        #1 SMP Wed Jul 27 20:21:26 EDT 2011

Machine:        i686

amdu run:       21-JUL-14 17:45:08

Endianess:      1

----------------------------- DISK REPORT N0001 ------------------------------

Disk Path: ORCL:VOL1

Unique Disk ID:

Disk Label: VOL1

Physical Sector Size: 512 bytes

Disk Size: 10236 megabytes

Group Name: ASMDG

Disk Name: VOL1

Failure Group Name: VOL1

Disk Number: 0

Header Status: 3

Disk Creation Time: 2014/06/01 18:59:30.870000

Last Mount Time: 2014/07/08 08:28:54.180000

Compatibility Version: 0x0b200000(11020000)

Disk Sector Size: 512 bytes

Disk size in AUs: 10236 AUs

Group Redundancy: 1

Metadata Block Size: 4096 bytes

AU Size: 1048576 bytes

Stride: 113792 AUs

Group Creation Time: 2014/06/01 18:59:30.618000

File 1 Block 1 location: AU 2

OCR Present: NO

----------------------------- DISK REPORT N0002 ------------------------------

Disk Path: ORCL:VOL2

Unique Disk ID:

Disk Label: VOL2

Physical Sector Size: 512 bytes

Disk Size: 10236 megabytes

Group Name: ASMDG

Disk Name: VOL2

Failure Group Name: VOL2

Disk Number: 1

Header Status: 3

Disk Creation Time: 2014/06/01 18:59:30.870000

Last Mount Time: 2014/07/08 08:28:54.180000

Compatibility Version: 0x0b200000(11020000)

Disk Sector Size: 512 bytes

Disk size in AUs: 10236 AUs

Group Redundancy: 1

Metadata Block Size: 4096 bytes

AU Size: 1048576 bytes

Stride: 113792 AUs

Group Creation Time: 2014/06/01 18:59:30.618000

File 1 Block 1 location: AU 0

OCR Present: NO

***************** Slept for 6 seconds waiting for heartbeats *****************

************************** SCANNING DISKGROUP ASMDG **************************

Creation Time: 2014/06/01 18:59:30.618000

Disks Discovered: 2

Redundancy: 1

AU Size: 1048576 bytes

Metadata Block Size: 4096 bytes

Physical Sector Size: 512 bytes

Metadata Stride: 113792 AU

Duplicate Disk Numbers: 0

----------------------- SCANNING DISK N0001 -----------------------------

Disk N0001: ‘ORCL:VOL1‘

Allocated AU‘s: 780

Free AU‘s: 9456

AU‘s read for dump: 0

Block images saved: 0

Map lines written: 0

Heartbeats seen: 0

Corrupt metadata blocks: 0

Corrupt AT blocks: 0

---------------------------- SCANNING DISK N0002 -----------------------------

Disk N0002: ‘ORCL:VOL2‘

Allocated AU‘s: 773

Free AU‘s: 9463

AU‘s read for dump: 0

Block images saved: 0

Map lines written: 0

Heartbeats seen: 0

Corrupt metadata blocks: 0

Corrupt AT blocks: 0

------------------------ SUMMARY FOR DISKGROUP ASMDG -------------------------

Allocated AU‘s: 1553

Free AU‘s: 18919

AU‘s read for dump: 0

Block images saved: 0

Map lines written: 0

Heartbeats seen: 0

Corrupt metadata blocks: 0

Corrupt AT blocks: 0

************************* EXTRACTING FILE ASMDG.259 **************************

Creating file: ASMDG_259.f

Extraction wrote: 22290432 bytes

Stripe size: 1048576 bytes

Stripe columns: 1

Mirror copies: 1

Block size: 8192 bytes

File size: 2721 blocks

File type: 12

Extent size #1: 4294967295 extents of  1 AUs

Extent size #2:          0 extents of  1 AUs

Extent size #3:          0 extents of  1 AUs

Extent size #4: 4294967295 extents of  1 AUs

Creation time: 2014/06/01 19:03:04.399000

Modified time: 2014/07/21 17:00:00.000000

Data extents in file: 22

Data extents found: 22

Blocks not found: 0 blocks

******************************* END OF REPORT ********************************

[[email protected] amdu_2014_07_21_17_45_08]$ rm -rf *

--mount

ASMCMD> mount asmdg

ASMCMD> lsdg

State    Type    Rebal  Sector  Block       AU  Total_MB  Free_MB  Req_mir_free_MB  Usable_file_MB  Offline_disks  Voting_files  Name

MOUNTED  EXTERN  N         512   4096  1048576     20472    18919                0           18919              0             N  ASMDG/

[[email protected] amdu_2014_07_21_17_45_08]$ amdu   -extract ASMDG.259

amdu_2014_07_21_17_46_09/

AMDU-00204: Disk N0001 is in currently mounted diskgroup ASMDG

AMDU-00201: Disk N0001: ‘ORCL:VOL1‘

[[email protected] amdu_2014_07_21_17_45_08]$ ll

total 4

drwxr-xr-x 2 oracle oinstall 4096 Jul 21 17:46 amdu_2014_07_21_17_46_09

[[email protected] amdu_2014_07_21_17_45_08]$ cd *

[[email protected] amdu_2014_07_21_17_46_09]$ ll

total 21804

-rw-r--r-- 1 oracle oinstall 22290432 Jul 21 17:46 ASMDG_259.f

-rw-r--r-- 1 oracle oinstall     5009 Jul 21 17:46 report.txt

[[email protected] amdu_2014_07_21_17_46_09]$

听说:

asm磁盘元数据不可以损坏,不然,无法数据回复。

备份与维护

ASMCMD>

ASMCMD> md_backup /tmp/oradgbackup_20140721

Disk group metadata to be backed up: ASMDG

Current alias directory path: ASMDB/ONLINELOG

Current alias directory path: ASMDB

Current alias directory path: ASMDB/TEMPFILE

Current alias directory path: ASM/DATAFILE

Current alias directory path: ASMDB/DATAFILE

Current alias directory path: ASM/ASMPARAMETERFILE

Current alias directory path: ASMDB/PARAMETERFILE

Current alias directory path: ASM

Current alias directory path: ASMDB/CONTROLFILE

[[email protected] ~]$ more /tmp/oradgbackup_20140721

@diskgroup_set = (

{

‘ATTRINFO‘ => {

‘TEMPLATE.PARAMETERFILE.MIRROR_REGION‘ => ‘0‘,

‘TEMPLATE.TEMPFILE.REDUNDANCY‘ => ‘17‘,

‘TEMPLATE.OCRBACKUP.REDUNDANCY‘ => ‘17‘,

‘TEMPLATE.TEMPFILE.MIRROR_REGION‘ => ‘0‘,

‘TEMPLATE.PARAMETERFILE.REDUNDANCY‘ => ‘17‘,

‘SECTOR_SIZE‘ => ‘512‘,

‘TEMPLATE.DATAGUARDCONFIG.REDUNDANCY‘ => ‘17‘,

‘ACCESS_CONTROL.UMASK‘ => ‘066‘,

‘TEMPLATE.ASM_STALE.STRIPE‘ => ‘0‘,

‘TEMPLATE.ARCHIVELOG.STRIPE‘ => ‘0‘,

‘TEMPLATE.DATAGUARDCONFIG.PRIMARY_REGION‘ => ‘0‘,

‘TEMPLATE.OCRBACKUP.STRIPE‘ => ‘0‘,

‘TEMPLATE.DATAFILE.STRIPE‘ => ‘0‘,

‘AU_SIZE‘ => ‘1048576‘,

‘TEMPLATE.ASMPARAMETERFILE.STRIPE‘ => ‘0‘,

‘TEMPLATE.CHANGETRACKING.PRIMARY_REGION‘ => ‘0‘,

‘TEMPLATE.CONTROLFILE.REDUNDANCY‘ => ‘17‘,

‘TEMPLATE.FLASHFILE.STRIPE‘ => ‘0‘,

‘TEMPLATE.BACKUPSET.PRIMARY_REGION‘ => ‘0‘,

‘TEMPLATE.ARCHIVELOG.PRIMARY_REGION‘ => ‘0‘,

‘TEMPLATE.CHANGETRACKING.STRIPE‘ => ‘0‘,

‘TEMPLATE.ONLINELOG.PRIMARY_REGION‘ => ‘0‘,

‘TEMPLATE.CHANGETRACKING.REDUNDANCY‘ => ‘17‘,

‘TEMPLATE.BACKUPSET.STRIPE‘ => ‘0‘,

‘TEMPLATE.OCRFILE.MIRROR_REGION‘ => ‘0‘,

‘DISK_REPAIR_TIME‘ => ‘3.6h‘,

‘TEMPLATE.FLASHBACK.MIRROR_REGION‘ => ‘0‘,

‘TEMPLATE.AUTOBACKUP.REDUNDANCY‘ => ‘17‘,

‘TEMPLATE.DUMPSET.REDUNDANCY‘ => ‘17‘,

‘TEMPLATE.ASM_STALE.REDUNDANCY‘ => ‘17‘,

‘TEMPLATE.DUMPSET.PRIMARY_REGION‘ => ‘0‘,

‘TEMPLATE.DUMPSET.MIRROR_REGION‘ => ‘0‘,

‘TEMPLATE.FLASHBACK.PRIMARY_REGION‘ => ‘0‘,

‘TEMPLATE.CONTROLFILE.STRIPE‘ => ‘1‘,

‘TEMPLATE.DATAFILE.REDUNDANCY‘ => ‘17‘,

‘TEMPLATE.XTRANSPORT.REDUNDANCY‘ => ‘17‘,

‘TEMPLATE.AUTOBACKUP.PRIMARY_REGION‘ => ‘0‘,

‘TEMPLATE.CONTROLFILE.MIRROR_REGION‘ => ‘0‘,

‘TEMPLATE.DATAFILE.PRIMARY_REGION‘ => ‘0‘,

‘TEMPLATE.ASMPARAMETERFILE.REDUNDANCY‘ => ‘17‘,

‘TEMPLATE.FLASHFILE.MIRROR_REGION‘ => ‘0‘,

‘TEMPLATE.ASM_STALE.MIRROR_REGION‘ => ‘0‘,

‘TEMPLATE.FLASHBACK.REDUNDANCY‘ => ‘17‘,

‘TEMPLATE.DATAGUARDCONFIG.STRIPE‘ => ‘0‘,

‘CELL.SMART_SCAN_CAPABLE‘ => ‘FALSE‘,

‘TEMPLATE_VERSION‘ => ‘186646528‘,

‘TEMPLATE.PARAMETERFILE.STRIPE‘ => ‘0‘,

‘TEMPLATE.DATAFILE.MIRROR_REGION‘ => ‘0‘,

‘TEMPLATE.PARAMETERFILE.PRIMARY_REGION‘ => ‘0‘,

‘TEMPLATE.BACKUPSET.MIRROR_REGION‘ => ‘0‘,

‘TEMPLATE.OCRBACKUP.MIRROR_REGION‘ => ‘0‘,

‘TEMPLATE.ONLINELOG.REDUNDANCY‘ => ‘17‘,

‘TEMPLATE.ASMPARAMETERBAKFILE.STRIPE‘ => ‘0‘,

‘ACCESS_CONTROL.ENABLED‘ => ‘FALSE‘,

‘TEMPLATE.DATAGUARDCONFIG.MIRROR_REGION‘ => ‘0‘,

‘TEMPLATE.TEMPFILE.PRIMARY_REGION‘ => ‘0‘,

‘COMPATIBLE.RDBMS‘ => ‘10.1.0.0.0‘,

‘TEMPLATE.FLASHFILE.PRIMARY_REGION‘ => ‘0‘,

‘TEMPLATE.ONLINELOG.MIRROR_REGION‘ => ‘0‘,

‘TEMPLATE.FLASHFILE.REDUNDANCY‘ => ‘17‘,

‘TEMPLATE.OCRBACKUP.PRIMARY_REGION‘ => ‘0‘,

‘TEMPLATE.OCRFILE.STRIPE‘ => ‘0‘,

‘TEMPLATE.ASM_STALE.PRIMARY_REGION‘ => ‘0‘,

‘TEMPLATE.AUTOBACKUP.MIRROR_REGION‘ => ‘0‘,

‘TEMPLATE.XTRANSPORT.PRIMARY_REGION‘ => ‘0‘,

‘TEMPLATE.ASMPARAMETERBAKFILE.PRIMARY_REGION‘ => ‘0‘,

‘TEMPLATE.DUMPSET.STRIPE‘ => ‘0‘,

‘TEMPLATE.TEMPFILE.STRIPE‘ => ‘0‘,

‘TEMPLATE.OCRFILE.PRIMARY_REGION‘ => ‘0‘,

‘TEMPLATE.ONLINELOG.STRIPE‘ => ‘0‘,

‘TEMPLATE.ARCHIVELOG.REDUNDANCY‘ => ‘17‘,

‘TEMPLATE.OCRFILE.REDUNDANCY‘ => ‘17‘,

‘TEMPLATE.ARCHIVELOG.MIRROR_REGION‘ => ‘0‘,

‘TEMPLATE.ASMPARAMETERFILE.MIRROR_REGION‘ => ‘0‘,

‘TEMPLATE.FLASHBACK.STRIPE‘ => ‘0‘,

‘TEMPLATE.XTRANSPORT.MIRROR_REGION‘ => ‘0‘,

‘TEMPLATE.CONTROLFILE.PRIMARY_REGION‘ => ‘0‘,

‘TEMPLATE.BACKUPSET.REDUNDANCY‘ => ‘17‘,

‘TEMPLATE.XTRANSPORT.STRIPE‘ => ‘0‘,

‘TEMPLATE.ASMPARAMETERBAKFILE.REDUNDANCY‘ => ‘17‘,

‘TEMPLATE.CHANGETRACKING.MIRROR_REGION‘ => ‘0‘,

‘COMPATIBLE.ASM‘ => ‘11.2.0.0.0‘,

‘TEMPLATE.ASMPARAMETERFILE.PRIMARY_REGION‘ => ‘0‘,

‘TEMPLATE.ASMPARAMETERBAKFILE.MIRROR_REGION‘ => ‘0‘,

‘TEMPLATE.AUTOBACKUP.STRIPE‘ => ‘0‘

},

‘DISKSINFO‘ => {

‘VOL1‘ => {

‘VOL1‘ => {

‘TOTAL_MB‘ => ‘10236‘,

‘FAILGROUP‘ => ‘VOL1‘,

‘NAME‘ => ‘VOL1‘,

‘DGNAME‘ => ‘ASMDG‘,

‘PATH‘ => ‘ORCL:VOL1‘

}

},

‘VOL2‘ => {

‘VOL2‘ => {

‘TOTAL_MB‘ => ‘10236‘,

‘FAILGROUP‘ => ‘VOL2‘,

‘NAME‘ => ‘VOL2‘,

‘DGNAME‘ => ‘ASMDG‘,

‘PATH‘ => ‘ORCL:VOL2‘

}

}

},

‘DGINFO‘ => {

‘DGTORESTORE‘ => 0,

‘DGCOMPAT‘ => ‘11.2.0.0.0‘,

‘DGNAME‘ => ‘ASMDG‘,

‘DGDBCOMPAT‘ => ‘10.1.0.0.0‘,

‘DGTYPE‘ => ‘EXTERN‘,

‘DGAUSZ‘ => ‘1048576‘

},

‘ALIASINFO‘ => {

‘6‘ => {

‘DGNAME‘ => ‘ASMDG‘,

‘LEVEL‘ => 1,

‘ALIASNAME‘ => ‘ASMDB/ONLINELOG‘,

‘REFERENCE_INDEX‘ => ‘16777534‘

},

‘3‘ => {

‘DGNAME‘ => ‘ASMDG‘,

‘LEVEL‘ => 1,

‘ALIASNAME‘ => ‘ASM/DATAFILE‘,

‘REFERENCE_INDEX‘ => ‘16777693‘

},

‘7‘ => {

‘DGNAME‘ => ‘ASMDG‘,

‘LEVEL‘ => 1,

‘ALIASNAME‘ => ‘ASMDB/TEMPFILE‘,

‘REFERENCE_INDEX‘ => ‘16777587‘

},

‘2‘ => {

‘DGNAME‘ => ‘ASMDG‘,

‘LEVEL‘ => 1,

‘ALIASNAME‘ => ‘ASM/ASMPARAMETERFILE‘,

‘REFERENCE_INDEX‘ => ‘16777322‘

},

‘8‘ => {

‘DGNAME‘ => ‘ASMDG‘,

‘LEVEL‘ => 1,

‘ALIASNAME‘ => ‘ASMDB/DATAFILE‘,

‘REFERENCE_INDEX‘ => ‘16777428‘

},

‘1‘ => {

‘DGNAME‘ => ‘ASMDG‘,

‘LEVEL‘ => 0,

‘ALIASNAME‘ => ‘ASMDB‘,

‘REFERENCE_INDEX‘ => ‘16777375‘

},

‘4‘ => {

‘DGNAME‘ => ‘ASMDG‘,

‘LEVEL‘ => 1,

‘ALIASNAME‘ => ‘ASMDB/PARAMETERFILE‘,

‘REFERENCE_INDEX‘ => ‘16777640‘

},

‘0‘ => {

‘DGNAME‘ => ‘ASMDG‘,

‘LEVEL‘ => 0,

‘ALIASNAME‘ => ‘ASM‘,

‘REFERENCE_INDEX‘ => ‘16777269‘

},

‘5‘ => {

‘DGNAME‘ => ‘ASMDG‘,

‘LEVEL‘ => 1,

‘ALIASNAME‘ => ‘ASMDB/CONTROLFILE‘,

‘REFERENCE_INDEX‘ => ‘16777481‘

}

},

‘TEMPLATEINFO‘ => {

‘11‘ => {

‘DGNAME‘ => ‘ASMDG‘,

‘STRIPE‘ => ‘COARSE‘,

‘TEMPNAME‘ => ‘AUTOBACKUP‘,

‘REDUNDANCY‘ => ‘UNPROT‘,

‘SYSTEM‘ => ‘Y‘

},

‘7‘ => {

‘DGNAME‘ => ‘ASMDG‘,

‘STRIPE‘ => ‘COARSE‘,

‘TEMPNAME‘ => ‘ONLINELOG‘,

‘REDUNDANCY‘ => ‘UNPROT‘,

‘SYSTEM‘ => ‘Y‘

},

‘2‘ => {

‘DGNAME‘ => ‘ASMDG‘,

‘STRIPE‘ => ‘COARSE‘,

‘TEMPNAME‘ => ‘ASMPARAMETERBAKFILE‘,

‘REDUNDANCY‘ => ‘UNPROT‘,

‘SYSTEM‘ => ‘Y‘

},

‘17‘ => {

‘DGNAME‘ => ‘ASMDG‘,

‘STRIPE‘ => ‘COARSE‘,

‘TEMPNAME‘ => ‘OCRBACKUP‘,

‘REDUNDANCY‘ => ‘UNPROT‘,

‘SYSTEM‘ => ‘Y‘

},

‘1‘ => {

‘DGNAME‘ => ‘ASMDG‘,

‘STRIPE‘ => ‘COARSE‘,

‘TEMPNAME‘ => ‘ASM_STALE‘,

‘REDUNDANCY‘ => ‘UNPROT‘,

‘SYSTEM‘ => ‘Y‘

},

‘18‘ => {

‘DGNAME‘ => ‘ASMDG‘,

‘STRIPE‘ => ‘COARSE‘,

‘TEMPNAME‘ => ‘ASMPARAMETERFILE‘,

‘REDUNDANCY‘ => ‘UNPROT‘,

‘SYSTEM‘ => ‘Y‘

},

‘0‘ => {

‘DGNAME‘ => ‘ASMDG‘,

‘STRIPE‘ => ‘COARSE‘,

‘TEMPNAME‘ => ‘PARAMETERFILE‘,

‘REDUNDANCY‘ => ‘UNPROT‘,

‘SYSTEM‘ => ‘Y‘

},

‘16‘ => {

‘DGNAME‘ => ‘ASMDG‘,

‘STRIPE‘ => ‘COARSE‘,

‘TEMPNAME‘ => ‘OCRFILE‘,

‘REDUNDANCY‘ => ‘UNPROT‘,

‘SYSTEM‘ => ‘Y‘

},

‘13‘ => {

‘DGNAME‘ => ‘ASMDG‘,

‘STRIPE‘ => ‘COARSE‘,

‘TEMPNAME‘ => ‘CHANGETRACKING‘,

‘REDUNDANCY‘ => ‘UNPROT‘,

‘SYSTEM‘ => ‘Y‘

},

‘6‘ => {

‘DGNAME‘ => ‘ASMDG‘,

‘STRIPE‘ => ‘COARSE‘,

‘TEMPNAME‘ => ‘ARCHIVELOG‘,

‘REDUNDANCY‘ => ‘UNPROT‘,

‘SYSTEM‘ => ‘Y‘

},

‘3‘ => {

‘DGNAME‘ => ‘ASMDG‘,

‘STRIPE‘ => ‘COARSE‘,

‘TEMPNAME‘ => ‘DUMPSET‘,

‘REDUNDANCY‘ => ‘UNPROT‘,

‘SYSTEM‘ => ‘Y‘

},

‘9‘ => {

‘DGNAME‘ => ‘ASMDG‘,

‘STRIPE‘ => ‘COARSE‘,

‘TEMPNAME‘ => ‘TEMPFILE‘,

‘REDUNDANCY‘ => ‘UNPROT‘,

‘SYSTEM‘ => ‘Y‘

},

‘12‘ => {

‘DGNAME‘ => ‘ASMDG‘,

‘STRIPE‘ => ‘COARSE‘,

‘TEMPNAME‘ => ‘XTRANSPORT‘,

‘REDUNDANCY‘ => ‘UNPROT‘,

‘SYSTEM‘ => ‘Y‘

},

‘14‘ => {

‘DGNAME‘ => ‘ASMDG‘,

‘STRIPE‘ => ‘COARSE‘,

‘TEMPNAME‘ => ‘FLASHBACK‘,

‘REDUNDANCY‘ => ‘UNPROT‘,

‘SYSTEM‘ => ‘Y‘

},

‘15‘ => {

‘DGNAME‘ => ‘ASMDG‘,

‘STRIPE‘ => ‘COARSE‘,

‘TEMPNAME‘ => ‘DATAGUARDCONFIG‘,

‘REDUNDANCY‘ => ‘UNPROT‘,

‘SYSTEM‘ => ‘Y‘

},

‘8‘ => {

‘DGNAME‘ => ‘ASMDG‘,

‘STRIPE‘ => ‘COARSE‘,

‘TEMPNAME‘ => ‘DATAFILE‘,

‘REDUNDANCY‘ => ‘UNPROT‘,

‘SYSTEM‘ => ‘Y‘

},

‘4‘ => {

‘DGNAME‘ => ‘ASMDG‘,

‘STRIPE‘ => ‘FINE‘,

‘TEMPNAME‘ => ‘CONTROLFILE‘,

‘REDUNDANCY‘ => ‘UNPROT‘,

‘SYSTEM‘ => ‘Y‘

},

‘10‘ => {

‘DGNAME‘ => ‘ASMDG‘,

‘STRIPE‘ => ‘COARSE‘,

‘TEMPNAME‘ => ‘BACKUPSET‘,

‘REDUNDANCY‘ => ‘UNPROT‘,

‘SYSTEM‘ => ‘Y‘

},

‘5‘ => {

‘DGNAME‘ => ‘ASMDG‘,

‘STRIPE‘ => ‘COARSE‘,

‘TEMPNAME‘ => ‘FLASHFILE‘,

‘REDUNDANCY‘ => ‘UNPROT‘,

‘SYSTEM‘ => ‘Y‘

}

}

}

);

[[email protected] ~]$

相关网址和实验  (步步为营的恢复) 

http://www.xifenfei.com/2936.html

http://www.xifenfei.com/2616.html

http://www.xifenfei.com/5249.html

AMDU恢复ASM磁盘组数据(测),布布扣,bubuko.com

时间: 2024-10-18 07:20:28

AMDU恢复ASM磁盘组数据(测)的相关文章

案例:Oracle非常规恢复 ASM磁盘组diskgroup被删除使用kfed进行完美恢复

Oracle RAC环境ASM磁盘组被强制删除,使用kfed工具完美恢复误删除磁盘组案例 在某些情况下,可能因为误操作,不小先drop diskgroup,这个时候千万别紧张,出现此类故障,可以通过kfed进行完美恢复(数据0丢失).如果进一步损坏了相关asm disk,那后续恢复就很麻烦了,可能需要使用dul扫描磁盘来进行抢救性恢复,而且可能导致数据丢失. 1.创建Oracle环境中的测试磁盘组 [[email protected] ~]$ sqlplus / as sysasm SQL*Pl

ORACLE 11G RAC ASM磁盘组全部丢失后的恢复

一.环境描述(1)Oracle 11.2.0.3 RAC ON Oracle Linux 6 x86_64,只有一个ASM外部冗余磁盘组--DATA:(2)OCR,VOTEDISK,DATAFILE,CONTROLFILE,SPFILE全部位于这个磁盘组上:二.故障描述(1)存储故障导致ASM磁盘丢失.(2)CRS因为OCR和VOTEDISK的丢失,除了OHAS还联机外,CLUSTERWARE服务都已经停止.三.备份情况(1)RMAN备份:包括controlfile,database,spfil

ASM磁盘组异机迁移

环境: Source: OS:redhat 6.3 DB:Oralce RAC 11.2.4.0 destination: OS:redhat 6.3 DB:Oralce RAC 11.2.4.0 背景:客户的PC机上面有两个实例,压力太大,需要迁移出一个实例.数据量TB级别,因为同平台,同版本,外挂存储.所以这里采用直接迁移asm磁盘组 操作前需要注意的: 1.Voting Disk是单独的盘,不包含需要迁移的数据 话不多,这里模拟出来分享给大家(PS:我的原库和目标库的主机名是一样的,第三步

【翻译自mos文章】将expdp的dmp文件从asm磁盘组里边放到本地文件系统里边

将expdp的dmp文件从asm磁盘组里边放到本地文件系统里边 参考原文: How To Extract Datapump File From ASM Diskgroup To Local Filesystem? (Doc ID 566941.1) 适用于: Oracle Database - Enterprise Edition - Version 11.1.0.6 to 11.1.0.7 [Release 11.1] Information in this document applies

【RAC】 RAC For W2K8R2 安装--创建ASM磁盘组(六)

[RAC] RAC For W2K8R2 安装--创建ASM磁盘组(六) 一.1  BLOG文档结构图 一.2  前言部分 一.2.1  导读 各位技术爱好者,看完本文后,你可以掌握如下的技能,也可以学到一些其它你所不知道的知识,~O(∩_∩)O~: ① RAC for windows 2008R2 的安装 ② rac环境下共享存储的规划和搭建 ③ starwind软件的应用 ④ VMware workstation 如何做共享存储 ⑤ rac数据的静默安装和dbca静默建库 ⑥ rac数据库在

AIX使用LV创建ASM磁盘组

纠结啊为毛感觉只过了一天,就有两天没写了,今天晚上的机票离开上海.希望小叶子不会难为我. 昨晚研究了一下插卡小哥的业务流程,发现他并不是每个房间都插的,时间在每晚的9点到11点之间.估计是会在周边每个宾馆巡回一遍,插广告的房间有两种可能,第一种就是他们和宾馆沆瀣一气,知道哪个房间有人,第二种可能就是他们只给大床房的房间发,7天没有单间所以单身旅客一般会选择大床房,这绝对是优质潜在用户哇. 晚上看了个 正者无敌 还挺好看的样子,里面男主娶了3房姨太太,不错不错~ 晚上做了个梦,醒来后还是格外清晰,

ASM磁盘组状态和使用率的监控

最近根据需求,使用Zabbix对ASM磁盘组的状态和使用率进行监控,于是写了个Shell脚步对ASM磁盘组进行监控. 1.Shell脚步如下: #!/bin/bash ############################################################### # Check usage rate -- Check the ASM disk usage # # History: 2016/04/07 zhuwei First release ##########

LINUX 11G RAC ASM磁盘组在线增加磁盘扩容

[javascript] view plain copy LINUX 11G RAC ASM磁盘组在线增加磁盘扩容 1.操作系统版本 OEL 6.1 [[email protected] ~]# more /etc/redhat-release Red Hat Enterprise Linux Server release 6.1 (Santiago) 2.数据库版本 oracle 11g rac SQL> select * from v$version; BANNER ------------

11G ORACLE RAC DBCA 无法识别asm磁盘组

ASM磁盘无法识别几种现象: 1) gi家目录或者其子目录权限错误 2)asm磁盘的权限错误 3)asm实例未启动或者asm磁盘组没有mount上 4)asm磁盘组资源没有在线 5)oracle用户的权限错误 6)oracle($ORACLE_HOME/bin)可执行文件的权限错误 OK,那我就按照上面的分析结果进行逐一排查: 1) gi家目录或者其子目录权限错误 [[email protected] ~]# ls -ld /u01/app/11.2.0/grid/drwxr-x--- 66 r