请教!!TSM--TAPE OPERATION ERROR

上一篇 / 下一篇  2008-06-29 10:25:56 / 个人分类:IT

查看( 22 ) / 评论( 18 )
设备:IBM 3582lib 带库
操作系统:AIX
备份软件:rman + tivoli
数据库oracle 9i

DE9A52D1   0629092808 I S rmt2           AAA1
4865FA9B   0629092708 P H rmt2           TAPE OPERATION ERROR
DE9A52D1   0628052308 I S rmt2           AAA1
DE9A52D1   0627040208 I S rmt2           AAA1
4865FA9B   0627040108 P H rmt2           TAPE OPERATION ERROR
DE9A52D1   0626055708 I S rmt1           AAA1
DE9A52D1   0625034908 I S rmt2           AAA1
4865FA9B   0625034808 P H rmt2           TAPE OPERATION ERROR
DE9A52D1   0624031208 I S rmt2           AAA1
4865FA9B   0624031208 P H rmt2           TAPE OPERATION ERROR

错误详细信息:
$ errpt -aj 4865FA9B |more
---------------------------------------------------------------------------
LABEL:          TAPE_ERR1
IDENTIFIER:     4865FA9B

Date/Time:       Sun Jun 29 09:27:07 BEIST 2008
Sequence Number: 729773
Machine Id:      00C54FBE4C00
Node Id:         proda
Class:           H
Type:            PERM
Resource Name:   rmt2            
Resource Class:  tape
Resource Type:   3580
Location:        U7879.001.DQDTNRM-P1-C5-T1-W500308C14704F004-L0
VPD:            
        Manufacturer................IBM     
        Machine Type and Model......ULT3580-TD3     
        Serial Number...............1210175967
        Device Specific.(FW)........64D0

Description
TAPE OPERATION ERROR

Probable Causes
TAPE

User Causes
MEDIA DEFECTIVE
DIRTY READ/WRITE HEAD

        Recommended Actions
        FOR REMOVABLE MEDIA, CHANGE MEDIA AND RETRY
        PERFORM. PROBLEM DETERMINATION PROCEDURES

Detail Data
SENSE DATA
0600 0000 0A00 0400 0000 0000 0000 0000 0102 0000 F000 0300 0400 0058 0000 0000
0C00 3600 7035 1F74 0009 5A59 3530 3438 4C00 0000 2B13 CC00 0000 0000 800A 3000
0000 001C D200 0000 E870 351F 7470 351F 7470 351F 7470 3500 320E 4001 60A0 E008
0000 0032 0003 A000 0205 3634 4430 0000 0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000

当备份失败的时候:
tsm: TSM>q libv

Library Name     Volume Name     Status         Owner          Last Use      Home        Device
                                                                             Element     Type  
------------     -----------     ----------     ----------     ---------     -------     ------
3582LIB          TAPE27          Private        TSM            Data          4,098       LTO   
3582LIB          TAPE28          Private        TSM            Data          4,097       LTO   
3582LIB          TAPE86          Private        TSM                          4,096       LTO   
磁带的access会被改成read-only:
tsm: TSM>q volume tape28 format=detailed

                   Volume Name: TAPE28
             Storage Pool Name: ORACLEPOOL
             Device Class Name: 3582CLASS
            Estimated Capacity: 0.0
       Scaled Capacity Applied:
                      Pct Util: 0.0
                 Volume Status: Empty
                        Access: Read-only
        Pct. Reclaimable Space: 0.0
               Scratch Volume?: No
               In Error State?: No
      Number of Writable Sides: 1
       Number of Times Mounted: 2
             Write Pass Number: 0
     Approx. Date Last Written:
        Approx. Date Last Read:
           Date Became Pending:
        Number of Write Errors: 1
         Number of Read Errors: 0
               Volume Location:
Volume is MVS Lanfree Capable : No
Last Update by (administrator): ADMIN
         Last Update Date/Time: 06/29/08   09:37:53
          Begin Reclaim Period:
            End Reclaim Period:

我用清洗带,清洗过驱动器,错误依旧,这个错误直接导致我每天的数据库备份失败!
请各位大虾帮帮忙,看看什么情况。小弟在这里谢谢了!!

TAG:

Tivoli港湾——痛并快乐着 karenzz 发布于2008-06-30 15:32:15
清洗过驱动器,errpt还报这个错吗?
请把备份报错帖出来看看。
TSM 报什么错?给activity log 看看。
qianmt发布于2008-07-04 15:25:38
Access: Read-only
clinglei的个人空间 clinglei 发布于2008-07-08 08:40:02
我重新清洗了driver,现在只报下面错误:
DE9A52D1   0708072108 I S rmt1           AAA1
DE9A52D1   0707065508 I S rmt1           AAA1
DE9A52D1   0706045108 I S rmt2           AAA1
DE9A52D1   0705081108 I S rmt1           AAA1
DE9A52D1   0704071308 I S rmt1           AAA1
DE9A52D1   0703063208 I S rmt1           AAA1
DE9A52D1   0702083008 I S rmt2           AAA1
DE9A52D1   0701061808 I S rmt1           AAA1
DE9A52D1   0630215808 I S rmt2           AAA1
DE9A52D1   0630072208 I S rmt1           AAA1
DE9A52D1   0630063608 I S rmt2           AAA1

仍然没有找到解决的方法,升级了驱动器微码以后,错误依旧!
$ errpt -aj DE9A52D1 |more
---------------------------------------------------------------------------
LABEL:          DEV_DUMP_RETRIEVED
IDENTIFIER:     DE9A52D1

Date/Time:       Tue Jul  8 07:21:11 BEIST 2008
Sequence Number: 729788
Machine Id:      00C54FBE4C00
Node Id:         proda
Class:           S
Type:            INFO
Resource Name:   rmt1            

Description
AAA1

Probable Causes
TAPE DRIVE

Failure Causes
TAPE DRIVE

        Recommended Actions
        CONTACT APPROPRIATE SERVICE REPRESENTATIVE

Detail Data
ADDITIONAL INFORMATION
Device dump saved as /var/adm/ras/Atape.rmt1.dump2

不知道怎么解决。。。。
至少现在我是没辙了,哪位大哥帮个忙,谢谢!
Tivoli港湾——痛并快乐着 karenzz 发布于2008-07-08 13:01:55
用tapeutil命令测试一下带库和驱动器了吗?


# tapeutil

General Commands:
    1. Open a Device                  5. Inquiry             9. Log Sense Page
    2. Close a Device                 6. Test Unit Ready    10. Mode Sense Page
    3. Device Info                    7. Reserve Device     11. Release Device
    4. Tape Drive Service Aids        8. Request Sense       Q. Quit Program

Medium Changer Commands:
   12. Element Information           16. Move Medium
   13. Position To Element           17. Load/Unload Medium
   14. Element Inventory             18. Initialize Element Status
   15. Exchange Medium               19. Prevent/Allow Medium Removal

Tape Commands:
   20. Query/Set Parameters          30. Read and Write Tests
   21. Prevent/Allow Medium Removal  31. Unload Tape
   22. Rewind                        32. Erase
   23. Erase Gap                     33. Write Filemarks
   24. Forward Space Filemarks       34. Backward Space Filemarks
   25. Forward Space Records         35. Backward Space Records
   26. Space to End of Data          36. Query/Set Tape Position
   27. Log Sense                     37. Read or Write Files   
   28. Display Message               38. Query/Create/Change Partition
   29. Synchronize Buffers           39. Report Density Support  

Enter Selection: 1

Enter the device special file name (Example: /dev/rmt0): /dev/rmt0

Select mode (1=Read/Write, 2=Read Only, 3=Write Only, 4=Append): 2


Opening device...

Hit <enter> to continue...

General Commands:
    1. Open a Device                  5. Inquiry             9. Log Sense Page
    2. Close a Device                 6. Test Unit Ready    10. Mode Sense Page
    3. Device Info                    7. Reserve Device     11. Release Device
    4. Tape Drive Service Aids        8. Request Sense       Q. Quit Program

Medium Changer Commands:
   12. Element Information           16. Move Medium
   13. Position To Element           17. Load/Unload Medium
   14. Element Inventory             18. Initialize Element Status
   15. Exchange Medium               19. Prevent/Allow Medium Removal

Tape Commands:
   20. Query/Set Parameters          30. Read and Write Tests
   21. Prevent/Allow Medium Removal  31. Unload Tape
   22. Rewind                        32. Erase
   23. Erase Gap                     33. Write Filemarks
   24. Forward Space Filemarks       34. Backward Space Filemarks
   25. Forward Space Records         35. Backward Space Records
   26. Space to End of Data          36. Query/Set Tape Position
   27. Log Sense                     37. Read or Write Files   
   28. Display Message               38. Query/Create/Change Partition
   29. Synchronize Buffers           39. Report Density Support  

Enter Selection for /dev/rmt0: 12

Getting element information...

  Number of Robots .............. 1
  First Robot Address ........... 0
  Number of Slots ............... 10
  First Slot Address ............ 32
  Number of Import/Exports ...... 1
  First Import/Export Address ... 31
  Number of Drives .............. 1
  First Drive Address ........... 16


Hit <enter> to continue...

看看能否做到这样?
qianmt发布于2008-07-09 17:57:21
是不是这盘磁带挂了???


换盘试试么?
Tivoli港湾——痛并快乐着 karenzz 发布于2008-07-10 13:10:50

QUOTE:

原帖由 qianmt 于 2008-7-9 17:57 发表
是不是这盘磁带挂了???


换盘试试么?
确实有这种可能哦 ^_^
clinglei的个人空间 clinglei 发布于2008-07-10 18:22:12
现在备份是正常了,只是报这个错误很无奈。。。
每天一报,似乎也没什么其他不好的影响,除了看了不爽。。。
Tivoli港湾——痛并快乐着 karenzz 发布于2008-07-14 14:07:37
看着是有点郁闷啊!
clinglei的个人空间 clinglei 发布于2008-07-16 15:04:43
确实出问题了
rmt0:

General Commands:
    1. Open a Device                  5. Inquiry             9. Log Sense Page
    2. Close a Device                 6. Test Unit Ready    10. Mode Sense Page
    3. Device Info                    7. Reserve Device     11. Release Device
    4. Tape Drive Service Aids        8. Request Sense       Q. Quit Program

Medium Changer Commands:
   12. Element Information           16. Move Medium
   13. Position To Element           17. Load/Unload Medium
   14. Element Inventory             18. Initialize Element Status
   15. Exchange Medium               19. Prevent/Allow Medium Removal

Tape Commands:
   20. Query/Set Parameters          30. Read and Write Tests
   21. Prevent/Allow Medium Removal  31. Unload/Load Tape
   22. Rewind                        32. Erase
   23. Erase Gap                     33. Write Filemarks
   24. Forward Space Filemarks       34. Backward Space Filemarks
   25. Forward Space Records         35. Backward Space Records
   26. Space to End of Data          36. Query/Set Tape Position
   27. Log Sense                     37. Read or Write Files   
   28. Display Message               38. Get Drive Encryption Settings
   29. Synchronize Buffers           39. Report Density Support  
                                     40. Test Encryption Key Path/Setup

Enter Selection: 1

Enter the device special file name (Example: /dev/rmt0):

Select mode (1=Read/Write, 2=Read Only, 3=Write Only, 4=Append): 1

Opening device...
Operation failed with errno 2: No such file or directory



rmt1:
General Commands:
    1. Open a Device                  5. Inquiry             9. Log Sense Page
    2. Close a Device                 6. Test Unit Ready    10. Mode Sense Page
    3. Device Info                    7. Reserve Device     11. Release Device
    4. Tape Drive Service Aids        8. Request Sense       Q. Quit Program

Medium Changer Commands:
   12. Element Information           16. Move Medium
   13. Position To Element           17. Load/Unload Medium
   14. Element Inventory             18. Initialize Element Status
   15. Exchange Medium               19. Prevent/Allow Medium Removal

Tape Commands:
   20. Query/Set Parameters          30. Read and Write Tests
   21. Prevent/Allow Medium Removal  31. Unload/Load Tape
   22. Rewind                        32. Erase
   23. Erase Gap                     33. Write Filemarks
   24. Forward Space Filemarks       34. Backward Space Filemarks
   25. Forward Space Records         35. Backward Space Records
   26. Space to End of Data          36. Query/Set Tape Position
   27. Log Sense                     37. Read or Write Files   
   28. Display Message               38. Get Drive Encryption Settings
   29. Synchronize Buffers           39. Report Density Support  
                                     40. Test Encryption Key Path/Setup

Enter Selection: 1

Enter the device special file name (Example: /dev/rmt0): /dev/rmt1

Select mode (1=Read/Write, 2=Read Only, 3=Write Only, 4=Append): 1

Opening device...

Hit <enter> to continue...

General Commands:
    1. Open a Device                  5. Inquiry             9. Log Sense Page
    2. Close a Device                 6. Test Unit Ready    10. Mode Sense Page
    3. Device Info                    7. Reserve Device     11. Release Device
    4. Tape Drive Service Aids        8. Request Sense       Q. Quit Program

Medium Changer Commands:
   12. Element Information           16. Move Medium
   13. Position To Element           17. Load/Unload Medium
   14. Element Inventory             18. Initialize Element Status
   15. Exchange Medium               19. Prevent/Allow Medium Removal

Tape Commands:
   20. Query/Set Parameters          30. Read and Write Tests
   21. Prevent/Allow Medium Removal  31. Unload/Load Tape
   22. Rewind                        32. Erase
   23. Erase Gap                     33. Write Filemarks
   24. Forward Space Filemarks       34. Backward Space Filemarks
   25. Forward Space Records         35. Backward Space Records
   26. Space to End of Data          36. Query/Set Tape Position
   27. Log Sense                     37. Read or Write Files   
   28. Display Message               38. Get Drive Encryption Settings
   29. Synchronize Buffers           39. Report Density Support  
                                     40. Test Encryption Key Path/Setup

Enter Selection for /dev/rmt1: 12

Getting element information...

  Number of Robots .............. 1
  First Robot Address ........... 1
  Number of Slots ............... 23
  First Slot Address ............ 4096
  Number of Import/Exports ...... 1
  First Import/Export Address ... 16
  Number of Drives .............. 2
  First Drive Address ........... 256

………………这个怎么回事。。似乎驱动器1坏了。。。
Tivoli港湾——痛并快乐着 karenzz 发布于2008-07-21 09:29:36
重启带库,继续测试,如果还是这样,需要找硬件工程师啦。
Tivoli港湾——痛并快乐着 karenzz 发布于2008-07-21 09:30:16
或者看看设备驱动,也许驱动程序需要重新安装
clinglei的个人空间 clinglei 发布于2008-07-22 10:40:24
这些都做过了,还是这样……
找硬件供应商,他们也解决不了。。。
难道没办法了吗?
big_river发布于2008-07-23 16:44:14
两个驱动器都是联机状态吗?
clinglei的个人空间 clinglei 发布于2008-07-26 14:08:21
tsm: TSM>q drive 3582lib drive01 format=detailed

                                Library Name: 3582LIB
                                  Drive Name: DRIVE01
                                 Device Type: LTO
                                     On-Line: Yes
                                Read Formats: ULTRIUM3C,ULTRIUM3,ULTRIUM2C,ULTRIUM2,ULTRIUMC,ULTRIUM
                               Write Formats: ULTRIUM3C,ULTRIUM3,ULTRIUM2C,ULTRIUM2
                                     Element: 257
                                 Drive State: EMPTY
                                 Volume Name:
                                Allocated to:
                                         WWN:
                               Serial Number: 1210088095
              Last Update by (administrator): ADMIN
                       Last Update Date/Time: 12/04/07   11:03:59
Cleaning Frequency (Gigabytes/ASNEEDED/NONE): NONE


tsm: TSM>q drive 3582lib drive02 format=detailed

                                Library Name: 3582LIB
                                  Drive Name: DRIVE02
                                 Device Type: LTO
                                     On-Line: Yes
                                Read Formats: ULTRIUM3C,ULTRIUM3,ULTRIUM2C,ULTRIUM2,ULTRIUMC,ULTRIUM
                               Write Formats: ULTRIUM3C,ULTRIUM3,ULTRIUM2C,ULTRIUM2
                                     Element: 256
                                 Drive State: LOADED
                                 Volume Name: TAPE41
                                Allocated to: TSM
                                         WWN:
                               Serial Number: 1210175967
              Last Update by (administrator): ADMIN
                       Last Update Date/Time: 12/04/07   10:24:54
Cleaning Frequency (Gigabytes/ASNEEDED/NONE): NONE
big_river发布于2008-07-28 16:44:31
很有可能是驱动器坏了,换一个驱动器吧
mmsandy发布于2008-08-05 12:55:30
我也觉得是驱动器的问题,删了重新认遍试试.
clinglei的个人空间 clinglei 发布于2008-08-08 15:01:47
就这样吧,目前能试的办法都试过了,还是老报错……
反正备份也正常,就随它吧。。。
Tivoli港湾——痛并快乐着 karenzz 发布于2008-08-11 10:46:53
感谢clinglei回复结果帖子。

感觉还是应该关注系统错误报告errpt。
我来说两句

(可选)

我的栏目

日历

« 2008-12-03  
 123456
78910111213
14151617181920
21222324252627
28293031   

数据统计

  • 访问量: 108
  • 日志数: 5
  • 建立时间: 2008-03-05
  • 更新时间: 2008-11-24

RSS订阅

Open Toolbar