AMDU 從頭部損壞的磁碟中提取檔案
記錄一下
amdu -dis='/dev/sd*' -ba DATAVG ausize=1048576 blksize=4096 -external -extract=DATAVG.260
外部冗餘的需要指定 -external
blksize 是後設資料AU的大小
ba/ddisks Include disks with bad headers
-baddisks: Normally disks with bad disk headers, or that
look like they were never part of a disk group, will not be
scanned. This option forces them to be scanned anyway and to be
considered part of the given diskgroup. This is most useful when
a disk header has been damaged. The disk will still need to have
a valid allocation table to drive the scan unless -fullscan is
used. In any case at least one block in the first two AUs must be
valid so that the disk number can be determined. The options
-ausize and -blksize are required since these values are normally
fetched from the disk header. If the diskgroup uses external
redundancy then -external should be specified. These values will
be compared against any valid disks found in the diskgroup and
they must be the same.
bl/ksize ASM block size for corrupt disks
-blksize: This option must be set when -baddisks is set. It
must be a power of 2. This size is required to scan a disk looking
for metadata, and it is normally read from the disk header. The
value applies to all disks that do not have a valid header. The
value from the disk header will be used if a valid header is
found.
磁碟組的名稱如果都不知道,可以一個磁碟一個磁碟的strings,只需要看前50個塊就OK,找到FILEDIR就找到了磁碟組名
如果沒有以前資料檔案的列表,那麼ASM檔案號可以去嘗試UNLOAD 256號檔案,這個檔案一般是控制檔案
amdu -dis='/dev/sd*' -ba DATAVG ausize=1048576 blksize=4096 -external -extract=DATAVG.260
外部冗餘的需要指定 -external
blksize 是後設資料AU的大小
ba/ddisks Include disks with bad headers
-baddisks
look like they were never part of a disk group, will not be
scanned. This option forces them to be scanned anyway and to be
considered part of the given diskgroup. This is most useful when
a disk header has been damaged. The disk will still need to have
a valid allocation table to drive the scan unless -fullscan is
used. In any case at least one block in the first two AUs must be
valid so that the disk number can be determined. The options
-ausize and -blksize are required since these values are normally
fetched from the disk header. If the diskgroup uses external
redundancy then -external should be specified. These values will
be compared against any valid disks found in the diskgroup and
they must be the same.
bl/ksize ASM block size for corrupt disks
-blksize
must be a power of 2. This size is required to scan a disk looking
for metadata, and it is normally read from the disk header. The
value applies to all disks that do not have a valid header. The
value from the disk header will be used if a valid header is
found.
磁碟組的名稱如果都不知道,可以一個磁碟一個磁碟的strings,只需要看前50個塊就OK,找到FILEDIR就找到了磁碟組名
如果沒有以前資料檔案的列表,那麼ASM檔案號可以去嘗試UNLOAD 256號檔案,這個檔案一般是控制檔案
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/8242091/viewspace-680180/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- RAC磁碟頭損壞問題處理
- system資料檔案頭損壞修復
- ASM磁碟頭資訊損壞和修復(kfed/dd)ASM
- 控制檔案損壞處理
- 【LINUX】Oracle資料庫 linux磁碟頭資料損壞修復LinuxOracle資料庫
- linux下修復磁碟損壞Linux
- Oracle 控制檔案損壞解決方案Oracle
- linux檔案系統損壞如何修復Linux
- InterBase資料庫檔案損壞的修復方法資料庫
- Oracle asm磁碟損壞異常恢復OracleASM
- Ceph 磁碟損壞現象和解決方法
- pg從磁碟讀取檔案
- 令人頭大: Mac提示應用程式無法開啟,檔案損壞怎麼辦?Mac
- MySQL 磁碟空間滿導致表空間相關資料檔案損壞故障處理MySql
- 磁頭損壞的修復方法有哪些
- linux RAID10磁碟陣列損壞的修復LinuxAI陣列
- u盤檔案損壞怎麼恢復資料 u盤恢復損壞資料的有效方法
- 修復損壞的gzip壓縮檔案之原理篇
- 磁碟已滿,如何從 Mac 中刪除大檔案?Mac
- RAID10磁碟陣列損壞修復操作AI陣列
- oracle控制檔案的損壞或完全丟失的恢復辦法Oracle
- 檢視BAM檔案頭部資訊
- freemarker生成複雜樣式圖片並無檔案損壞的excelExcel
- Win10系統損壞的cbs.log檔案如何修復Win10
- Oracle 無備份情況下undo檔案損壞處理Oracle
- 圖解gzip壓縮檔案底層結構及檔案損壞的修復方法圖解
- Linux 中sed命令實現從gff檔案中僅僅提取基因名稱Linux
- win10引導記錄損壞怎麼辦 win10引導二進位制檔案損壞Win10
- SQL Anywhere db檔案損壞修復 DB檔案修復 DB資料庫修復SQL資料庫
- 修復損壞的gz或tar.gz壓縮檔案之方法篇
- 2.7.10 恢復丟失或損壞的伺服器引數檔案(SPFILE)伺服器
- 解決Reiserfs檔案系統損壞的問題我們是認真的
- u盤檔案損壞怎麼恢復資料 u盤損壞無法讀取怎麼恢復資料
- 【RMAN】如果控制檔案損壞那麼如何恢復?恢復控制檔案的方式有哪幾種?
- 什麼是硬碟邏輯損壞和檔案系統錯誤硬碟
- 檔案或目錄損壞且無法讀取怎麼辦?
- 故障分析 | MySQL 備份檔案靜默損壞一例分析MySql
- 用 Python 批量檢查 sqlite/db3 檔案是否損壞(qbit)PythonSQLite
- MongoDB 資料檔案損壞修復救命repair與致命危險MongoDBAI