二十四、使用bbed修改asm下的datafile
rac1-> kfod
——————————————————————————–
ORACLE_SID ORACLE_HOME
===================================================================
+ASM1 /u01/app/oracle/product/10.2.0/db_1
+ASM2 /u01/app/oracle/product/10.2.0/db_1

rac1-> asmcmd
ASMCMD> lsdg
State Type Rebal Unbal Sector Block AU Total_MB Free_MB Req_mir_free_MB Usable_file_MB Offline_disks Name
MOUNTED NORMAL N N 512 4096 1048576 16362 422 5114 -2346 0 DG1/
MOUNTED EXTERN N N 512 4096 1048576 2047 1601 0 1601 0 RECOVERYDEST/
ASMCMD>

rac1-> more filelist.txt
1 +DG1/devdb/datafile/system.256.686854597 545259520
2 +DG1/devdb/datafile/undotbs1.258.686854619 566231040
3 +DG1/devdb/datafile/sysaux.257.686854609 534773760
4 +DG1/devdb/datafile/users.259.686854623 591134720
5 +DG1/devdb/datafile/undotbs2.264.686855947 131072000
6 +DG1/devdb/datafile/bjdata.273.687437327 2147483648
7 +DG1/devdb/datafile/tbs_stream.301.688400101 104857600

rac1-> more par.bbd
blocksize=8192
listfile=filelist.txt
mode=edit

rac1-> bbed parfile=par.bbd
BBED-00303: unable to open file ‘+DG1/devdb/d’

rac1->
请大侠们不吝赐教 感谢!

rman 里面用 backup as copy 出来试试看行不行

backup as copy 出来是可以的!
只能这样么?不能对asm直接做嘛?

必须copy出来.

Trackback

no comment untill now

Add your comment now

切换到手机版