Chinaunix首页 | 论坛 | 博客
  • 博客访问: 2518629
  • 博文数量: 323
  • 博客积分: 10211
  • 博客等级: 上将
  • 技术积分: 4934
  • 用 户 组: 普通用户
  • 注册时间: 2006-08-27 14:56
文章分类

全部博文(323)

文章存档

2012年(5)

2011年(3)

2010年(6)

2009年(140)

2008年(169)

分类: 服务器与存储

2009-02-03 16:59:39

问题描述:
 
tsm: SERVER1>q vol
Volume Name                  Storage         Device         Estimated       Pct      Volume
                             Pool Name       Class Name      Capacity      Util      Status
------------------------     -----------     ----------     ---------     -----     --------
RP0001                       3582POOL        3580           266,047.2      33.0       Full 
RP0004                       3582POOL        3580           381,468.0      69.4     Filling
RP0005                       3582POOL        3580           280,263.5      65.2       Full 
RP0007                       3582POOL        3580           864,857.5      45.2       Full 
RP0008                       3582POOL        3580           399,031.5      74.8     Filling
RP0009                       3582POOL        3580           281,139.5       5.2       Full 
RP0010                       3582POOL        3580           381,468.0      92.3     Filling
RP0011                       3582POOL        3580                 0.0       0.0      Empty 

--RP0011永远也不会使用。
 
tsm: SERVER1>q libv
Library Name     Volume Name     Status         Owner          Last Use      Home        Device
                                                                             Element     Type 
------------     -----------     ----------     ----------     ---------     -------     ------
3582LIB          RP0000          Scratch                                     4,098       LTO  
3582LIB          RP0001          Private        SERVER1        Data          4,099       LTO  
3582LIB          RP0002          Scratch                                     4,100       LTO  
3582LIB          RP0003          Scratch                                     4,101       LTO  
3582LIB          RP0004          Private        SERVER1        Data          4,102       LTO  
3582LIB          RP0005          Private        SERVER1        Data          4,103       LTO  
3582LIB          RP0006          Scratch                                     4,097       LTO  
3582LIB          RP0007          Private        SERVER1        Data          4,116       LTO  
3582LIB          RP0008          Private        SERVER1        Data          4,115       LTO  
3582LIB          RP0009          Private        SERVER1        Data          4,114       LTO  
3582LIB          RP0010          Private        SERVER1        Data          4,104       LTO  
3582LIB          RP0011          Private        SERVER1                      4,112       LTO  
3582LIB          RP0012          Private        SERVER1                      4,111       LTO  
3582LIB          RP0013          Scratch                                     4,096       LTO
 
--Home Element好像乱了。4111,4112槽位的磁带是手工管理的,不是由TSM管理。另外RP0006这个临时卷永远也不会使用。
 
所做的操作如下:
tsm: SERVER1>audit vol RP0011
ANR2310W This command will compare all inventory references to volume RP0011 with the actual data stored on the volume and will
report any discrepancies; the data will be inaccessible to users until the operation completes.
Do you wish to proceed? (Yes (Y)/No (N)) y
ANR2209W Volume RP0011 contains no data.
 
tsm: SERVER1>q act
02/03/09   09:41:20      ANR2017I Administrator ADMIN issued command: AUDIT VOLUME
                          RP0011  (SESSION: 11458)                                
02/03/09   09:41:20      ANR2310W This command will compare all inventory         
                          references to volume RP0011 with the actual data stored 
                          on the volume and will report any discrepancies; the data
                          will be inaccessible to users until the operation       
                          completes. (SESSION: 11458)                             
02/03/09   09:41:36      ANR2017I Administrator ADMIN issued command: AUDIT VOLUME
                          RP0011  (SESSION: 11458)                                
02/03/09   09:41:36      ANR1199I Removable volume RP0011 is required for audit   
                          process. (SESSION: 11458)                               
02/03/09   09:41:36      ANR2209W Volume RP0011 contains no data. (SESSION: 11458)
 
tsm: SERVER1>audit library 3582LIB
ANS8003I Process number 173 started.
tsm: SERVER1>q proc
 Process     Process Description      Status                                          
  Number                             
--------     --------------------     -------------------------------------------------
     173     AUDIT LIBRARY            ANR8459I Auditing volume inventory for library  
                                       3582LIB.
tsm: SERVER1>q act
02/03/09   10:02:20      ANR2017I Administrator ADMIN issued command: AUDIT LIBRARY
                          3582LIB  (SESSION: 11458)                               
02/03/09   10:02:20      ANR0984I Process 173 for AUDIT LIBRARY started in the    
                          BACKGROUND at 10:02:20. (SESSION: 11458, PROCESS: 173)  
02/03/09   10:02:20      ANR8457I AUDIT LIBRARY: Operation for library 3582LIB    
                          started as process 173. (SESSION: 11458, PROCESS: 173)  
02/03/09   10:02:27      ANR2017I Administrator ADMIN issued command: QUERY PROCESS
                           (SESSION: 11458)                                       
02/03/09   10:04:33      ANR2017I Administrator ADMIN issued command: QUERY PROCESS
                           (SESSION: 11458)                                       
02/03/09   10:04:51      ANR2017I Administrator ADMIN issued command: QUERY VOLUME
                          (SESSION: 11458)                                        
02/03/09   10:05:45      ANR2017I Administrator ADMIN issued command: QUERY LIBV  
                          (SESSION: 11458)                                        
02/03/09   10:07:07      ANR2017I Administrator ADMIN issued command: QUERY PROCESS
                           (SESSION: 11458)                                       
02/03/09   10:08:09      ANR2017I Administrator ADMIN issued command: QUERY PROCESS
                           (SESSION: 11458)                                       
02/03/09   10:09:24      ANR2017I Administrator ADMIN issued command: QUERY PROCESS
                           (SESSION: 11458)                                       
02/03/09   10:14:08      ANR8912E Unable to verify the label of volume from       
                          slot-element 4109 in drive DRIVE1 (/dev/rmt1) in library  --4109是手工管理的,里面放了一盘磁带。
                          3582LIB. (SESSION: 11458, PROCESS: 173)                 
02/03/09   10:14:28      ANR2017I Administrator ADMIN issued command: QUERY PROCESS
                           (SESSION: 11458)                                       
02/03/09   10:14:47      ANR8460E AUDIT LIBRARY process for library 3582LIB failed.
                          (SESSION: 11458, PROCESS: 173)                          
02/03/09   10:14:47      ANR0985I Process 173 for AUDIT LIBRARY running in the    
                          BACKGROUND completed with completion state FAILURE at   
                          10:14:47. (SESSION: 11458, PROCESS: 173)          
 
--TSM在审计库的时候是否将带库中所有的磁带都进行校验?日志提示4109无法verify,因为4109的带子是手工管理的且没有条码。试着将所有手工管理的带子取出来,然后进行audit:
tsm: SERVER1>audit library 3582LIB checklabel=barcode
 
日志提示:
02/03/09   15:43:07      ANR0984I Process 175 for AUDIT LIBRARY started in the    
                          BACKGROUND at 15:43:07. (SESSION: 11462, PROCESS: 175)  
02/03/09   15:43:07      ANR8457I AUDIT LIBRARY: Operation for library 3582LIB    
                          started as process 175. (SESSION: 11462, PROCESS: 175)  
02/03/09   15:43:13      ANR2017I Administrator ADMIN issued command: QUERY PROCESS
                           (SESSION: 11462)                                       
02/03/09   15:43:14      ANR8788W Unable to read the barcode of cartridge in      
                          slot-id 4111 in library 3582LIB;  loading in drive to   
                          read label. (SESSION: 11462, PROCESS: 175)              
02/03/09   15:43:14      ANR8788W Unable to read the barcode of cartridge in      
                          slot-id 4112 in library 3582LIB;  loading in drive to   
                          read label. (SESSION: 11462, PROCESS: 175)
              
02/03/09   15:43:15      ANR8461I AUDIT LIBRARY process for library 3582LIB       
                          completed successfully. (SESSION: 11462, PROCESS: 175)  
02/03/09   15:43:15      ANR0985I Process 175 for AUDIT LIBRARY running in the    
                          BACKGROUND completed with completion state SUCCESS at   
                          15:43:15. (SESSION: 11462, PROCESS: 175)       

--看来是成功了。Home Element混乱的问题解决了。
 
tsm: SERVER1>q libv
Library Name     Volume Name     Status         Owner          Last Use      Home        Device
                                                                             Element     Type 
------------     -----------     ----------     ----------     ---------     -------     ------
3582LIB          RP0000          Scratch                                     4,098       LTO  
3582LIB          RP0001          Private        SERVER1        Data          4,099       LTO  
3582LIB          RP0002          Scratch                                     4,100       LTO  
3582LIB          RP0003          Scratch                                     4,101       LTO  
3582LIB          RP0004          Private        SERVER1        Data          4,102       LTO  
3582LIB          RP0005          Private        SERVER1        Data          4,103       LTO  
3582LIB          RP0006          Scratch                                     4,113       LTO  
3582LIB          RP0007          Private        SERVER1        Data          4,116       LTO  
3582LIB          RP0008          Private        SERVER1        Data          4,115       LTO  
3582LIB          RP0009          Private        SERVER1        Data          4,114       LTO  
3582LIB          RP0010          Private        SERVER1        Data          4,104       LTO  
3582LIB          RP0011          Private        SERVER1                      4,105       LTO  
3582LIB          RP0012          Private        SERVER1                      4,097       LTO  
3582LIB          RP0013          Scratch                                     4,096       LTO  
 
阅读(2970) | 评论(2) | 转发(0) |
给主人留下些什么吧!~~

chinaunix网友2009-05-15 15:16:13

IBM TSM征文大赛——存储管理步入“智慧”时代,现已启动,邀请您参加。无论是新作品,还是旧博文,只要是原创的,都可以提交参赛。 活动详情请点击: http://storage.it168.com/focus/200905/200905zhengwen/index.html

chinaunix网友2009-05-06 09:18:51

看你的自我介绍,做的事情和我差不多啊~tsm、windchill、AIX。