ASM Disk header information is stored in the first 4K of each disk, and the backup of this information is important for ASM recovery, and there are several ways
1. Direct do DD to back up the disk before the 4K, the disk header information is lost, DD back
Backup: DD if=/dev/raw/raw1 of=/gyj/asmheader.dd bs=4096 count=1
Recovery: DD if=/gyj/asmheader.dd OF=/DEV/RAW/RAW1
2. Use Oracle's kfed tool to back up, turn disk header information into text plaintext records, restore using kfed merge in
Backup: kfed read/dev/raw/raw1 aunum=0 blknum=0 text=raw1.txt
Recovery: kfed write/dev/raw/raw1 aunum=0 blknum=0 text=raw1.txt
3.11G Asmcmd added Md_backup,md_restore backup instructions, but this only backs up DG META structure information, and his recovery must be DG already mount, but
After import structure information, similar to Exp/imp, this method does not work for DG Damage
Backup: Asmcmd md_backup-b/gyj/asmheader.20130130.txt
Recovery: Asmcmd md_restore-t full-g dg2-i-b/gyj/asmheader.20130130.txt
Now on the online environment, I used 1, 22 kinds of backup at the same time, to ensure that the disk header information is not lost.
See more highlights of this column: http://www.bianceng.cnhttp://www.bianceng.cn/database/Oracle/