[20141231]kfed REPAIR.txt
-- 11GR2 的kfed除了查看asm信息外,多加了一个REPAIR参数,可以修复disk head的损坏.
-- 实际上块头信息的备份是保存在第2个AU的倒数第2个块上(对于默认1M的AU来说,是第510个块), 如果头块损坏,可以用kfed
-- repair命令来修复。
--extdata,缺省AUS=4M,4*1024*1024/4096=1024 ,这样就是AUN=1,blkn=1022(从0开始).
--可以做一个简单验证:
$ kfod disks=all
--------------------------------------------------------------------------------
Disk Size Path User Group
================================================================================
1: 3023872 Mb o/10.10.10.74;10.10.10.75/DATAC1_CD_00_dm01celadm01
....
$ kfed read aun=0 aus=4M blkn=0 dev='o/10.10.10.74;10.10.10.75/DATAC1_CD_00_dm01celadm01' | grep kfbh.type
kfbh.type: 1 ; 0x002: KFBTYP_DISKHEAD
$ kfed read aun=1 aus=4M blkn=1022 dev='o/10.10.10.74;10.10.10.75/DATAC1_CD_00_dm01celadm01' | grep kfbh.type
kfbh.type: 1 ; 0x002: KFBTYP_DISKHEAD
--可以发现类型都是disk head.
$ kfed find aun=0 aus=4M dev='o/10.10.10.74;10.10.10.75/DATAC1_CD_00_dm01celadm01'
Block 0 has type 1
Block 1 has type 2
Block 2 has type 3
...
Block 1023 has type 3
$ kfed find aun=1 aus=4M dev='o/10.10.10.74;10.10.10.75/DATAC1_CD_00_dm01celadm01
Block 1024 has type 17
Block 1025 has type 17
Block 1026 has type 18
...
Block 2045 has type 13
Block 2046 has type 1
Block 2047 has type 19
--type=1 就是disk head.
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/267265/viewspace-1385843/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/267265/viewspace-1385843/