Oracle兵器谱上古神器之-KFED(九)

2014-11-24 14:22:47 · 作者: · 浏览: 4
e Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> startup force;
ASM instance started
Total System Global Area 125829120 bytes
Fixed Size 2094512 bytes
Variable Size 98568784 bytes
ASM Cache 25165824 bytes
ASM diskgroups mounted
SQL> exit
Disconnected from Oracle Database 10g Enterprise Edition Release
10.2.0.5.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing
options
[oracle@gtser1 lib]$ asmcmd lsdg
State Type Rebal Unbal Sector Block AU Total_MB Free_MB
Req_mir_free_MB Usable_file_MB Offline_disks Name
MOUNTED EXTERN N N 512 4096 1048576 2048 928
0 928 0 DATA01/
MOUNTED EXTERN N N 512 4096 1048576 2048 1964
0 1964 0 FRA/
OK,一切正常,恢复成功了。
5. KFED修复header信息
[oracle@gtser1 ~]$ kfed read /dev/raw/raw2 te=/tmp/raw2.head
[oracle@gtser1 ~]$ dd if=/dev/raw/raw2 of=/tmp/raw2head bs=4096 count=1
1+0 records in
1+0 records out
4096 bytes (4.1 kB) copied, 0.000448689 seconds, 9.1 MB/s
[oracle@gtser1 ~]$ dd if=/dev/zero of=/dev/raw/raw2 bs=4096 count=1
1+0 records in
1+0 records out
4096 bytes (4.1 kB) copied, 0.000238479 seconds, 17.2 MB/s
[oracle@gtser1 ~]$ sqlplus "/as sysdba"
SQL*Plus: Release 10.2.0.5.0 - Production on Sat Mar 2 22:32:11 2013
Copyright (c) 1982, 2010, Oracle. All Rights Reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> startup force;
ASM instance started
Total System Global Area 125829120 bytes
Fixed Size 2094512 bytes
Variable Size 98568784 bytes
ASM Cache 25165824 bytes
ORA-15032: not all alterations performed
ORA-15040: diskgroup is incomplete
ORA-15042: ASM disk "1" is missing
SQL> exit
Disconnected from Oracle Database 10g Enterprise Edition Release
10.2.0.5.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing
options
[oracle@gtser1 ~]$ asmcmd lsdg
State Type Rebal Unbal Sector Block AU Total_MB Free_MB
Req_mir_free_MB Usable_file_MB Offline_disks Name
DISMOUNTED N N 512 4096 1048576 0 0
0 0 0 DATA01/
MOUNTED EXTERN N N 512 4096 1048576 2048
1964 0 1964 0 FRA/
[oracle@gtser1 ~]$ kfed repair /dev/raw/raw2
[oracle@gtser1 ~]$ sqlplus "/as sysdba"
SQL*Plus: Release 10.2.0.5.0 - Production on Sat Mar 2 22:34:34 2013
Copyright (c) 1982, 2010, Oracle. All Rights Reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> startup force;
ASM instance started
Total System Global Area 125829120 bytes
Fixed Size 2094512 bytes
Variable Size 98568784 bytes
ASM Cache 25165824 bytes
ASM diskgroups mounted
SQL> exit
Disconnected from Oracle Database 10g Enterprise Edition Release
10.