tsm备份报错

环境:AIX 5.3        tsm 6.2        oracle11g问题描述:# lsbkdb_bprod.log   bklog_bprod.log  expirebprod.log# more bkdb*Recovery Manager: Release 11.2.0.1.0 - Production on T...显示全部
环境:AIX 5.3
        tsm 6.2
        oracle11g
问题描述:
# ls
bkdb_bprod.log   bklog_bprod.log  expirebprod.log
# more bkdb*
Recovery Manager: Release 11.2.0.1.0 - Production on Tue Jun 14 23:00:00 2011
Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.
connected to target database: BPROD (DBID=856828653)
connected to recovery catalog database
RMAN> run {
2> allocate channel ch1 type 'SBT_TAPE' parms  'ENV=(TDPO_OPTFILE=/usr/tivoli/tsm/client/oracle/bin64/tdpo_bprod.opt)';
3> allocate channel ch2 type 'SBT_TAPE' parms  'ENV=(TDPO_OPTFILE=/usr/tivoli/tsm/client/oracle/bin64/tdpo_bprod.opt)';
4> backup incremental level 0 format 'inc0_%d_%s_%p_%T' filesperset 20 database tag levelbackup0;
5> backup current controlfile format 'ctl_%d_%T_%s_%p';
6> sql 'alter system archive log current';
7> release channel ch1;
8> release channel ch2;
9> }
10>
11>
allocated channel: ch1
channel ch1: SID=255 device type=SBT_TAPE
channel ch1: Data Protection for Oracle: version 5.4.1.0
allocated channel: ch2
channel ch2: SID=319 device type=SBT_TAPE
channel ch2: Data Protection for Oracle: version 5.4.1.0
Starting backup at 14-JUN-11
channel ch1: starting incremental level 0 datafile backup set
channel ch1: specifying datafile(s) in backup set
input datafile file number=00005 name=/bi/app/oracle/oradata/bprod/BIEE.DBF
input datafile file number=00007 name=/bi/app/oracle/oradata/bprod/INFAREP.DBF
input datafile file number=00009 name=/bi/app/oracle/oradata/bprod/BIEE2.DBF
input datafile file number=00011 name=/bi/app/oracle/oradata/bprod/INFAREP1.DBF
input datafile file number=00004 name=/bi/app/oracle/oradata/bprod/users01.dbf
input datafile file number=00002 name=/bi/app/oracle/oradata/bprod/sysaux01.dbf
channel ch1: starting piece 1 at 14-JUN-11
channel ch2: starting incremental level 0 datafile backup set
channel ch2: specifying datafile(s) in backup set
input datafile file number=00006 name=/bi/app/oracle/oradata/bprod/INFADOMAIN.DBF
input datafile file number=00008 name=/bi/app/oracle/oradata/bprod/BIEE1.DBF
input datafile file number=00010 name=/bi/app/oracle/oradata/bprod/INFADOMAIN1.DBF
input datafile file number=00003 name=/bi/app/oracle/oradata/bprod/undotbs01.dbf
input datafile file number=00012 name=/bi/app/oracle/oradata/bprod/undotbs02.dbf
input datafile file number=00001 name=/bi/app/oracle/oradata/bprod/system01.dbf
channel ch2: starting piece 1 at 14-JUN-11
channel ch1: finished piece 1 at 14-JUN-11
piece handle=inc0_BPROD_3806_1_20110614 tag=LEVELBACKUP0 comment=API Version 2.0,MMS Version 5.4.1.0
channel ch1: backup set complete, elapsed time: 00:02:35
RMAN-03009: failure of backup command on ch2 channel at 06/14/2011 23:25:58
ORA-19502: write error on file "inc0_BPROD_3807_1_20110614", block number 1 (block size=8192)
ORA-27030: skgfwrt: sbtwrite2 returned error
ORA-19511: Error received from media manager layer, error text:
   ANS1312E (RC12)   Server media mount not possible
channel ch2 disabled, job failed on it will be run on another channel
channel ch1: starting incremental level 0 datafile backup set
channel ch1: specifying datafile(s) in backup set
input datafile file number=00006 name=/bi/app/oracle/oradata/bprod/INFADOMAIN.DBF
input datafile file number=00008 name=/bi/app/oracle/oradata/bprod/BIEE1.DBF
input datafile file number=00010 name=/bi/app/oracle/oradata/bprod/INFADOMAIN1.DBF
input datafile file number=00003 name=/bi/app/oracle/oradata/bprod/undotbs01.dbf
input datafile file number=00012 name=/bi/app/oracle/oradata/bprod/undotbs02.dbf
input datafile file number=00001 name=/bi/app/oracle/oradata/bprod/system01.dbf
channel ch1: starting piece 1 at 14-JUN-11
channel ch1: finished piece 1 at 14-JUN-11
piece handle=inc0_BPROD_3808_1_20110614 tag=LEVELBACKUP0 comment=API Version 2.0,MMS Version 5.4.1.0
channel ch1: backup set complete, elapsed time: 00:02:25
Finished backup at 14-JUN-11
Starting backup at 14-JUN-11
channel ch1: starting full datafile backup set
channel ch1: specifying datafile(s) in backup set
including current control file in backup set
channel ch1: starting piece 1 at 14-JUN-11
channel ch1: finished piece 1 at 14-JUN-11
piece handle=ctl_BPROD_20110614_3809_1 tag=TAG20110614T232827 comment=API Version 2.0,MMS Version 5.4.1.0
channel ch1: backup set complete, elapsed time: 00:00:03
Finished backup at 14-JUN-11
Starting Control File and SPFILE Autobackup at 14-JUN-11
piece handle=c-856828653-20110614-01 comment=API Version 2.0,MMS Version 5.4.1.0
Finished Control File and SPFILE Autobackup at 14-JUN-11
sql statement: alter system archive log current
released channel: ch1
released channel: ch2
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of release command at 06/14/2011 23:28:44
RMAN-06012: channel: ch2 not allocated
Recovery Manager complete.


问题出在什么地方?如何解决?收起
参与16

查看其它 14 个回答anyport的回答

anyportanyport技术经理金欧利
tsm: TSM>q vol

Volume Name                  Storage         Device         Estimated       Pct      Volume
                             Pool Name       Class Name      Capacity      Util      Status
------------------------     -----------     ----------     ---------     -----     --------
165AHQL4                     FILEPOOL        3200L4DEV          1.6 T       9.4     Filling
166AHQL4                     FILEPOOL        3200L4DEV          0.0 M       0.0      Empty  
167AHQL4                     ORAPOOL         3200L4DEV          1.6 T       0.0     Filling
168AHQL4                     ORAPOOL         3200L4DEV          0.0 M       0.0      Empty  
169AHQL4                     ORAPOOL         3200L4DEV          1.6 T      33.8     Filling
960AHFL4                     ORAPOOL         3200L4DEV          1.6 T       1.5     Filling
961AHFL4                     ORAPOOL         3200L4DEV          0.0 M       0.0      Empty  
962AHFL4                     LOGPOOL         3200L4DEV          0.0 M       0.0      Empty  
963AHFL4                     LOGPOOL         3200L4DEV          0.0 M       0.0      Empty  
964AHFL4                     LOGPOOL         3200L4DEV          0.0 M       0.0      Empty  

tsm: TSM>q path

Source Name     Source Type     Destination     Destination     On-Line
                                Name            Type            
-----------     -----------     -----------     -----------     -------
TSM             SERVER          3200LIB         LIBRARY         Yes   
TSM             SERVER          3200DR1         DRIVE           Yes   
TSM             SERVER          3200DR2         DRIVE           Yes   
CRMSERVER_-     SERVER          3200DR1         DRIVE           Yes   
STA                                                                  
CRMSERVER_-     SERVER          3200DR2         DRIVE           Yes   
STA                                                                  

tsm: TSM>q libv

Library Name     Volume Name     Status               Owner          Last Use      Home        Device
                                                                                   Element     Type  
------------     -----------     ----------------     ----------     ---------     -------     ------
3200LIB          165AHQL4        Private              TSM            Data          4,105       LTO   
3200LIB          166AHQL4        Private              TSM                          4,114       LTO   
3200LIB          167AHQL4        Private              TSM            Data          4,110       LTO   
3200LIB          168AHQL4        Private              TSM            Data          4,109       LTO   
3200LIB          169AHQL4        Private              TSM            Data          4,113       LTO   
3200LIB          960AHFL4        Private              TSM            Data          4,106       LTO   
3200LIB          961AHFL4        Private              TSM            Data          4,111       LTO   
3200LIB          962AHFL4        Private              TSM                          4,107       LTO   
3200LIB          963AHFL4        Private              TSM                          4,116       LTO   
3200LIB          964AHFL4        Private              TSM            Data          4,115       LTO   
3200LIB          980AHFL4        Private              TSM                          4,100       LTO   
3200LIB          981AHFL4        Private              TSM                          4,103       LTO   
3200LIB          982AHFL4        Private              TSM                          4,108       LTO   
3200LIB          983AHFL4        Private              TSM                          4,097       LTO   
3200LIB          984AHFL4        Private              TSM                          4,112       LTO   

tsm: TSM>q stg

Storage         Device          Estimated       Pct       Pct     High     Low     Next Stora-
Pool Name       Class Name       Capacity      Util      Migr      Mig     Mig     ge Pool   
                                                                   Pct     Pct     
-----------     ----------     ----------     -----     -----     ----     ---     -----------
ARCHIVEPOOL     DISK                0.0 M       0.0       0.0       90      70               
BACKUPPOOL      DISK                0.0 M       0.0       0.0       90      70               
FILEPOOL        3200L4DEV         3,200 G       4.7      50.0       90      70               
LOGPOOL         3200L4DEV           0.0 M       0.0       0.0       90      70               
ORAPOOL         3200L4DEV         8,000 G       7.1      60.0       90      70               
SPACEMGPOOL     DISK                0.0 M       0.0       0.0       90      70               

tsm: TSM>q vol stg=oapool
ANR2034E QUERY VOLUME: No match found using this criteria.
ANS8001I Return code 11.

tsm: TSM>q vol stg=orapool

Volume Name                  Storage         Device         Estimated       Pct      Volume
                             Pool Name       Class Name      Capacity      Util      Status
------------------------     -----------     ----------     ---------     -----     --------
167AHQL4                     ORAPOOL         3200L4DEV          1.6 T       0.0     Filling
168AHQL4                     ORAPOOL         3200L4DEV          0.0 M       0.0      Empty  
169AHQL4                     ORAPOOL         3200L4DEV          1.6 T      33.8     Filling
960AHFL4                     ORAPOOL         3200L4DEV          1.6 T       1.5     Filling
961AHFL4                     ORAPOOL         3200L4DEV          0.0 M       0.0      Empty  

tsm: TSM>q drive

Library Name     Drive Name       Device Type     On-Line            
------------     ------------     -----------     -------------------
3200LIB          3200DR1          LTO             Yes               
3200LIB          3200DR2          LTO             Yes               

tsm: TSM>q node

Node Name                     Platform     Policy Domain      Days Since     Days Since     Locked?
                                           Name               Last Acce-       Password     
                                                                      ss            Set     
-------------------------     --------     --------------     ----------     ----------     -------
BISERVER_FILE                 AIX          FILE_DOM                  181            182       No   
BISERVER_ORA                  AIX          ORA_DOM                   158            158       No   
CRMSERVER_FILE                AIX          FILE_DOM                   60            182       No   
CRMSERVER_ORA                 TDP Ora-     ORA_DOM                    <1            159       No   
                               cle AIX
互联网服务 · 2011-06-15
浏览1057

回答者

anyport
技术经理金欧利

anyport 最近回答过的问题

回答状态

  • 发布时间:2011-06-15
  • 关注会员:1 人
  • 回答浏览:1057
  • X社区推广