使用AMDU DUMP ASM磁碟後設資料資訊
AMDU是一個從一個或多個ASM磁碟提取所有活動後設資料資訊,或者格式化列印輸出單一的塊的工具。這個工具不需要任何磁碟組被MOUNT。AMDU是從11.1版本開始安裝,雖然這個工具是11g釋出的,但是它也能用於ASM 10g。
dump磁碟組相關後設資料的語法如下:
amdu -diskstring '' -dump ''
amdu -help可以看到詳細的幫助資訊。
每次執行AMDU在當前位置都有一個目錄被建立,除非使用引數-directory進行覆蓋。
目錄的格式為:amdu_YYYY_MM_DD_HH24_MM_SS。
預設命令將生成以下的檔案:
_0001.img 磁碟組內容精確的DUMP;大小限制在2gb,但是能多於一個檔案。
.map 能用於找到磁碟ASM後設資料的精確位置。
report.txt 包含磁碟掃描的詳細資訊。
report.txt檔案顯示資料磁碟組的磁碟的頭資訊,例如:
[grid@rhel1 ~]$ amdu -diskstring '/dev/raw/raw*' -dump 'DGOCR'
amdu_2014_04_14_19_11_00/
[grid@rhel1 ~]$ cd amdu*
[grid@rhel1 amdu_2014_04_14_19_11_00]$ ls
DGOCR_0001.img DGOCR.map report.txt
[grid@rhel1 amdu_2014_04_14_19_11_00]$ cat report.txt
-*-amdu-*-
******************************* AMDU Settings ********************************
ORACLE_HOME = /u01/app/11.2.0/grid
System name: Linux
Node name: rhel1.localdomain
Release: 2.6.18-164.el5xen
Version: #1 SMP Tue Aug 18 15:59:52 EDT 2009
Machine: x86_64
amdu run: 14-APR-14 19:11:00
Endianess: 1
--------------------------------- Operations ---------------------------------
-dump DGOCR
------------------------------- Disk Selection -------------------------------
-diskstring '/dev/raw/raw*'
------------------------------ Reading Control -------------------------------
------------------------------- Output Control -------------------------------
********************************* DISCOVERY **********************************
----------------------------- DISK REPORT N0001 ------------------------------
Disk Path: /dev/raw/raw1
Unique Disk ID:
Disk Label:
Physical Sector Size: 512 bytes
Disk Size: 2047 megabytes
Group Name: DGOCR
Disk Name: DGOCR_0002
Failure Group Name: DGOCR_0002
Disk Number: 2
Header Status: 3
Disk Creation Time: 2012/10/21 10:39:21.696000
Last Mount Time: 2013/05/01 20:42:43.751000
Compatibility Version: 0x0b200000(11020000)
Disk Sector Size: 512 bytes
Disk size in AUs: 2047 AUs
Group Redundancy: 2
Metadata Block Size: 4096 bytes
AU Size: 1048576 bytes
Stride: 113792 AUs
Group Creation Time: 2012/10/21 10:39:21.428000
File 1 Block 1 location: AU 2
OCR Present: YES
----------------------------- DISK REPORT N0002 ------------------------------
Disk Path: /dev/raw/raw3
Unique Disk ID:
Disk Label:
Physical Sector Size: 512 bytes
Disk Size: 2047 megabytes
Group Name: DGOCR
Disk Name: DGOCR_0001
Failure Group Name: DGOCR_0001
Disk Number: 1
Header Status: 3
Disk Creation Time: 2012/10/21 10:39:21.696000
Last Mount Time: 2013/05/01 20:42:43.751000
Compatibility Version: 0x0b200000(11020000)
Disk Sector Size: 512 bytes
Disk size in AUs: 2047 AUs
Group Redundancy: 2
Metadata Block Size: 4096 bytes
AU Size: 1048576 bytes
Stride: 113792 AUs
Group Creation Time: 2012/10/21 10:39:21.428000
File 1 Block 1 location: AU 2
OCR Present: YES
***************** Slept for 6 seconds waiting for heartbeats *****************
************************** SCANNING DISKGROUP DGOCR **************************
Creation Time: 2012/10/21 10:39:21.428000
Disks Discovered: 2
Redundancy: 2
AU Size: 1048576 bytes
Metadata Block Size: 4096 bytes
Physical Sector Size: 512 bytes
Metadata Stride: 113792 AU
Duplicate Disk Numbers: 0
---------------------------- SCANNING DISK N0002 -----------------------------
Disk N0002: '/dev/raw/raw3'
Allocated AU's: 309
Free AU's: 1738
AU's read for dump: 102
Block images saved: 23302
Map lines written: 102
Heartbeats seen: 0
Corrupt metadata blocks: 0
Corrupt AT blocks: 0
---------------------------- SCANNING DISK N0001 -----------------------------
Disk N0001: '/dev/raw/raw1'
Allocated AU's: 309
Free AU's: 1738
AU's read for dump: 102
Block images saved: 23302
Map lines written: 102
Heartbeats seen: 0
Corrupt metadata blocks: 0
Corrupt AT blocks: 0
------------------------ SUMMARY FOR DISKGROUP DGOCR -------------------------
Allocated AU's: 618
Free AU's: 3476
AU's read for dump: 204
Block images saved: 46604
Map lines written: 204
Heartbeats seen: 0
Corrupt metadata blocks: 0
Corrupt AT blocks: 0
******************************* END OF REPORT ********************************
參考文章:《ASM tools used by Support : KFOD, KFED, AMDU (文件 ID 1485597.1)》。
--end--
dump磁碟組相關後設資料的語法如下:
amdu -diskstring '
amdu -help可以看到詳細的幫助資訊。
每次執行AMDU在當前位置都有一個目錄被建立,除非使用引數-directory進行覆蓋。
目錄的格式為:amdu_YYYY_MM_DD_HH24_MM_SS。
預設命令將生成以下的檔案:
report.txt 包含磁碟掃描的詳細資訊。
report.txt檔案顯示資料磁碟組的磁碟的頭資訊,例如:
[grid@rhel1 ~]$ amdu -diskstring '/dev/raw/raw*' -dump 'DGOCR'
amdu_2014_04_14_19_11_00/
[grid@rhel1 ~]$ cd amdu*
[grid@rhel1 amdu_2014_04_14_19_11_00]$ ls
DGOCR_0001.img DGOCR.map report.txt
[grid@rhel1 amdu_2014_04_14_19_11_00]$ cat report.txt
-*-amdu-*-
******************************* AMDU Settings ********************************
ORACLE_HOME = /u01/app/11.2.0/grid
System name: Linux
Node name: rhel1.localdomain
Release: 2.6.18-164.el5xen
Version: #1 SMP Tue Aug 18 15:59:52 EDT 2009
Machine: x86_64
amdu run: 14-APR-14 19:11:00
Endianess: 1
--------------------------------- Operations ---------------------------------
-dump DGOCR
------------------------------- Disk Selection -------------------------------
-diskstring '/dev/raw/raw*'
------------------------------ Reading Control -------------------------------
------------------------------- Output Control -------------------------------
********************************* DISCOVERY **********************************
----------------------------- DISK REPORT N0001 ------------------------------
Disk Path: /dev/raw/raw1
Unique Disk ID:
Disk Label:
Physical Sector Size: 512 bytes
Disk Size: 2047 megabytes
Group Name: DGOCR
Disk Name: DGOCR_0002
Failure Group Name: DGOCR_0002
Disk Number: 2
Header Status: 3
Disk Creation Time: 2012/10/21 10:39:21.696000
Last Mount Time: 2013/05/01 20:42:43.751000
Compatibility Version: 0x0b200000(11020000)
Disk Sector Size: 512 bytes
Disk size in AUs: 2047 AUs
Group Redundancy: 2
Metadata Block Size: 4096 bytes
AU Size: 1048576 bytes
Stride: 113792 AUs
Group Creation Time: 2012/10/21 10:39:21.428000
File 1 Block 1 location: AU 2
OCR Present: YES
----------------------------- DISK REPORT N0002 ------------------------------
Disk Path: /dev/raw/raw3
Unique Disk ID:
Disk Label:
Physical Sector Size: 512 bytes
Disk Size: 2047 megabytes
Group Name: DGOCR
Disk Name: DGOCR_0001
Failure Group Name: DGOCR_0001
Disk Number: 1
Header Status: 3
Disk Creation Time: 2012/10/21 10:39:21.696000
Last Mount Time: 2013/05/01 20:42:43.751000
Compatibility Version: 0x0b200000(11020000)
Disk Sector Size: 512 bytes
Disk size in AUs: 2047 AUs
Group Redundancy: 2
Metadata Block Size: 4096 bytes
AU Size: 1048576 bytes
Stride: 113792 AUs
Group Creation Time: 2012/10/21 10:39:21.428000
File 1 Block 1 location: AU 2
OCR Present: YES
***************** Slept for 6 seconds waiting for heartbeats *****************
************************** SCANNING DISKGROUP DGOCR **************************
Creation Time: 2012/10/21 10:39:21.428000
Disks Discovered: 2
Redundancy: 2
AU Size: 1048576 bytes
Metadata Block Size: 4096 bytes
Physical Sector Size: 512 bytes
Metadata Stride: 113792 AU
Duplicate Disk Numbers: 0
---------------------------- SCANNING DISK N0002 -----------------------------
Disk N0002: '/dev/raw/raw3'
Allocated AU's: 309
Free AU's: 1738
AU's read for dump: 102
Block images saved: 23302
Map lines written: 102
Heartbeats seen: 0
Corrupt metadata blocks: 0
Corrupt AT blocks: 0
---------------------------- SCANNING DISK N0001 -----------------------------
Disk N0001: '/dev/raw/raw1'
Allocated AU's: 309
Free AU's: 1738
AU's read for dump: 102
Block images saved: 23302
Map lines written: 102
Heartbeats seen: 0
Corrupt metadata blocks: 0
Corrupt AT blocks: 0
------------------------ SUMMARY FOR DISKGROUP DGOCR -------------------------
Allocated AU's: 618
Free AU's: 3476
AU's read for dump: 204
Block images saved: 46604
Map lines written: 204
Heartbeats seen: 0
Corrupt metadata blocks: 0
Corrupt AT blocks: 0
******************************* END OF REPORT ********************************
參考文章:《ASM tools used by Support : KFOD, KFED, AMDU (文件 ID 1485597.1)》。
--end--
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/23135684/viewspace-1141954/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 用oracle amdu 抽取asm磁碟組的資料檔案OracleASM
- Oracle AMDU- ASM Metadata Dump UtilityOracleASM
- ASM AMDU工具使用ASM
- Oracle ASM AMDU工具的使用OracleASM
- [ORACLE ASM] AMDU 恢復資料檔案OracleASM
- 【ASM】ASMCMD 磁碟後設資料的備份與恢復實踐ASM
- 揭祕ASM磁碟頭資訊ASM
- ASM 磁碟頭資訊備份ASM
- 瞭解和使用kfed維護ASM後設資料ASM
- ASM資訊資料彙總ASM
- 從定位資料塊所在ASM磁碟到ASM strippingASM
- ASM磁碟頭資訊備份,轉載ASM
- ASM後設資料備份與恢復ASM
- BlueHarvest for Mac(磁碟後設資料清理工具)Mac
- Oracle資料庫 ASM磁碟線上擴容Oracle資料庫ASM
- RAC資料庫新增ASM磁碟組(1)資料庫ASM
- 【資料遷移】RMAN遷移資料庫到ASM(一)建立ASM磁碟組資料庫ASM
- oracle grid 其中一個節點asm 磁碟組後設資料損壞處理案例OracleASM
- 利用kfod工具檢視asm磁碟組資訊ASM
- ASM 磁碟對應後臺Table 表格ASM
- redhat 6.5之oracle 11.2.0.4 asm例項異常抽取asm配置資訊之amdu初識之一RedhatOracleASM
- 資料庫例項中查詢V$asm_disk磁碟頭資訊為unknown資料庫ASM
- 使用rman在oracle ASM磁碟組之間移動資料檔案OracleASM
- Oracle 12C ASM asmcmd amdu_extractOracleASM
- AMDU資料抽取案例一則
- Oracle使用dump匯入資料Oracle
- 資料恢復:AMDU資料抽取恢復資料恢復
- asm磁碟組中的磁碟頭資訊丟失恢復實驗ASM
- 【ASM】如何建立ASM磁碟ASM
- ASM之建立ASM磁碟ASM
- ASM Metadata Dump UtilityASM
- ASM管理命令列三工具:KFOD、KFED和AMDUASM命令列
- 使用data dump 恢復資料庫資料庫
- ASMCMD執行ASM後設資料備份與還原ASM
- ASM磁碟頭資訊損壞和修復(kfed/dd)ASM
- 一次asm磁碟頭部資訊丟失故障ASM
- 使用CREATE DISKGROUP語句建立ASM磁碟組,提示找不到相應的ASM磁碟ASM
- ASM磁碟組故障導致資料庫不能起來ASM資料庫