2008-6-29 10:19
clinglei
请教!!TSM--TAPE OPERATION ERROR
设备: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
[b]错误详细信息:[/b]
$ 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:
我用清洗带,清洗过驱动器,错误依旧,这个错误直接导致我每天的数据库备份失败!
请各位大虾帮帮忙,看看什么情况。小弟在这里谢谢了!!
2008-6-30 15:32
karenzz
清洗过驱动器,errpt还报这个错吗?
请把备份报错帖出来看看。
TSM 报什么错?给activity log 看看。
2008-7-4 15:25
qianmt
Access: Read-only
2008-7-8 08:40
clinglei
我重新清洗了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
不知道怎么解决。。。。
至少现在我是没辙了,哪位大哥帮个忙,谢谢!
2008-7-8 13:01
karenzz
用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: [color=red]1[/color]
Enter the device special file name (Example: /dev/rmt0): /dev/rmt0
Select mode (1=Read/Write, 2=Read Only, 3=Write Only, 4=Append): [color=red]2[/color]
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: [color=red]12[/color]
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...
看看能否做到这样?
2008-7-9 17:57
qianmt
是不是这盘磁带挂了???
换盘试试么?
2008-7-10 13:10
karenzz
[quote]原帖由 [i]qianmt[/i] 于 2008-7-9 17:57 发表 [url=http://www.itpub.net/redirect.php?goto=findpost&pid=10901499&ptid=1013517][img]http://www.itpub.net/images/common/back.gif[/img][/url]
是不是这盘磁带挂了???
换盘试试么? [/quote]
确实有这种可能哦 ^_^
2008-7-10 18:22
clinglei
现在备份是正常了,只是报这个错误很无奈。。。
每天一报,似乎也没什么其他不好的影响,除了看了不爽。。。
2008-7-14 14:07
karenzz
看着是有点郁闷啊!
2008-7-16 15:04
clinglei
[size=3]确实出问题了[/size]
[b][size=4]rmt0:[/size][/b]
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
[b][size=4]rmt1:[/size][/b]
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坏了。。。
2008-7-21 09:29
karenzz
重启带库,继续测试,如果还是这样,需要找硬件工程师啦。
2008-7-21 09:30
karenzz
或者看看设备驱动,也许驱动程序需要重新安装
2008-7-22 10:40
clinglei
这些都做过了,还是这样……
找硬件供应商,他们也解决不了。。。
难道没办法了吗?
2008-7-23 16:44
big_river
两个驱动器都是联机状态吗?
2008-7-26 14:08
clinglei
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
2008-7-28 16:44
big_river
很有可能是驱动器坏了,换一个驱动器吧
2008-8-5 12:55
mmsandy
我也觉得是驱动器的问题,删了重新认遍试试.
2008-8-8 15:01
clinglei
就这样吧,目前能试的办法都试过了,还是老报错……
反正备份也正常,就随它吧。。。
2008-8-11 10:46
karenzz
感谢clinglei回复结果帖子。
感觉还是应该关注系统错误报告errpt。
页:
[1]

Powered by ITPUB论坛