關於 tsm 磁帶槽位

關於看槽位的理解:
最近在 tsm 的虛擬帶庫上建了兩個庫,有發現:
TSM:TSM_SVR1> 
show slots vtl01
ANR2017I Administrator SERVER_CONSOLE issued command: show slots vtl01
PVR slot information for library VTL01.
Library          : VTL01 
Product Id       : Scalar i500      
Support module   : 2spa

Mount count      : 0code

Drives           : 4 
Slots            : 4 
Changers         : 1 
Import/Exports   : 0orm

Device           : /dev/tsmscsi/lb0server

Drive   0, element 2051 
Drive   1, element 2052 
Drive   2, element 2053 
Drive   3, element 2054ci

Changer 0, element 0element

Slot 0, status Allocated, element number 1, barcode not present, barcode value <>, devT=ANY,
mediaT=-1, elemT=ANY
Slot 1, status Allocated, element number 2, barcode not present, barcode value <>, devT=ANY,
mediaT=-1, elemT=ANY
Slot 2, status Allocated, element number 3, barcode not present, barcode value <>, devT=ANY,
mediaT=-1, elemT=ANY
Slot 3, status Full, element number 4, barcode not present, barcode value <>, devT=ANY, mediaT=-1,
elemT=ANYit

slot element range 1 - 4io

發現上面slot3 和slot 0,1,2 的狀態不同,就是說一共4個槽位,vtl01 帶庫就佔了3 個,
再結合:
看帶庫中的磁帶:
TSM:TSM_SVR1> 
q libv
ANR2017I Administrator SERVER_CONSOLE issued command: QUERY LIBVOLUMEast

Library Name    Volume Name    Status              Owner         Last Use     Home       Device
                                                                              Element    Type  
------------    -----------    ----------------    ----------    ---------    -------    ------
VTL01           AD0001         Private                           Data         1                
VTL01           AD0002         Private                                        2                
VTL01           AD0003         Private                                        3                
VTL02           AD0004         Scratch                                        4               form

發現:vtl01 是佔了3 個, vtl02 是隻有一個:
再看一下 vtl02 的狀況:
TSM:TSM_SVR1> 
show slots vtl02
ANR2017I Administrator SERVER_CONSOLE issued command: show slots vtl02
PVR slot information for library VTL02.
Library          : VTL02 
Product Id       : Scalar i500      
Support module   : 2

Mount count      : 0

Drives           : 4 
Slots            : 4 
Changers         : 1 
Import/Exports   : 0

Device           : /dev/tsmscsi/lb0

Drive   0, element 2051 
Drive   1, element 2052 
Drive   2, element 2053 
Drive   3, element 2054

Changer 0, element 0

Slot 0, status Full, element number 1, barcode not present, barcode value <>, devT=ANY, mediaT=-1,
elemT=ANY
Slot 1, status Full, element number 2, barcode not present, barcode value <>, devT=ANY, mediaT=-1,
elemT=ANY
Slot 2, status Full, element number 3, barcode not present, barcode value <>, devT=ANY, mediaT=-1,
elemT=ANY
Slot 3, status Allocated, element number 4, barcode not present, barcode value <>, devT=ANY,
mediaT=-1, elemT=ANY

slot element range 1 - 4

發現vt02 是佔了第四個槽位。

還有就是會發現 
tsm:> q v 和tsm:> q libv 的磁帶看到的不同:
TSM:TSM_SVR1> 
q libv
ANR2017I Administrator SERVER_CONSOLE issued command: QUERY LIBVOLUME

Library Name     Volume Name     Status               Owner          Last Use      Home        Device
                                                                                   Element     Type  
------------     -----------     ----------------     ----------     ---------     -------     ------
VTL01            AD0001          Private                             Data          1                 
VTL01            AD0002          Private                                           2                 
VTL01            AD0003          Private                                           3                 
VTL02            AD0004          Scratch                                           4                

TSM:TSM_SVR1>

Storage Management Server for Linux/i386 - Version 5, Release 5, Level 1.0

TSM:TSM_SVR1> 
q v
ANR2017I Administrator SERVER_CONSOLE issued command: QUERY VOLUME

Volume Name                  Storage         Device         Estimated       Pct      Volume 
                             Pool Name       Class Name      Capacity      Util      Status 
------------------------     -----------     ----------     ---------     -----     --------
/opt/tivoli/tsm/server/-     ARCHIVEPOOL     DISK               5.0 M       0.0     On-Line 
 bin/archive.dsm                                                                            
/opt/tivoli/tsm/server/-     BACKUPPOOL      DISK              10.0 M       0.0     On-Line 
 bin/backup.dsm                                                                             
AD0001                       BA_TAPE_PO-     LTO2               1.0 G       0.8     Filling 
                              OL                                                            
AD0002                       BA_TAPE_PO-     LTO2               0.0 M       0.0      Empty  
                              OL                                                            
AD0003                       AR_TAPE_PO-     LTO2               0.0 M       0.0      Empty  
                              OL                                                            
AS0001                       BA_T_POOL       LTO3               0.0 M       0.0      Empty  
AS0004                       BA_T_POOL       LTO3               0.0 M       0.0      Empty  
TT0003                       AR_TAPE_PO-     LTO2               0.0 M       0.0      Empty  
                              OL                                                            
TT0004                       AR_TAPE_PO-     LTO2               0.0 M       0.0      Empty  
                              OL                                                           
                              
發現只有貼了標籤的磁帶:就是被label 過的纔是進帶庫的。
纔是可用的。
q v 看到的是進入 spool 池的磁帶,不少是不能用的。會報can not access 的。

相關文章
相關標籤/搜索