配置TSM磁带库

 
  
#定义library
  1. tsm: SERVER1>def library library1 libtype=scsi
  2. ANR2017I Administrator ADMIN issued command: DEFINE LIBRARY library1 libtype=scsi
  3. ANR8400I Library LIBRARY1 defined.
  4. tsm: SERVER1>q libr
  5. ANR2017I Administrator ADMIN issued command: QUERY LIBRARY
  6. Library Name Library ACS Private Scratch WORM External Shared LanFree ObeyMountRetention
  7. Type Id Category Category Scratch Manager
  8. Category
  9. ------------ ---------- --- -------- -------- -------- -------------- ------ ------- ------------------
  10. LIBRARY1 SCSI No
  11. #定义路径
  12. tsm: SERVER1>def path server1 library1 srctype=server destt=library device=/dev/tsmscsi/lb0
  13. ANR2017I Administrator ADMIN issued command: DEFINE PATH server1 library1 srctype=server destt=library device=/dev/tsmscsi/lb0
  14. ANR8953I Library LIBRARY1 with serial number is updated with the newly discovered serial number 37971e590.
  15. ANR1720I A path from SERVER1 to LIBRARY1 has been defined.
  16. tsm: SERVER1>q path
  17. ANR2017I Administrator ADMIN issued command: QUERY PATH
  18. Source Name Source Type Destination Destination On-Line
  19. Name Type
  20. ----------- ----------- ----------- ----------- -------
  21. SERVER1 SERVER LIBRARY1 LIBRARY Yes
  22. tsm: SERVER1>upda library library1 autolabel=yes
  23. ANR2017I Administrator ADMIN issued command: UPDATE LIBRARY library1 autolabel=yes
  24. ANR8465I Library LIBRARY1 updated.
  25. tsm: SERVER1>def drive library1 drive0
  26. ANR2017I Administrator ADMIN issued command: DEFINE DRIVE library1 drive0
  27. ANR8366E DEFINE DRIVE: Invalid value for ELEMENT parameter.
  28. ANS8001I Return code 3.
  29. ANR2017I Administrator ADMIN issued command: ROLLBACK
  30. tsm: SERVER1>show slots library1
  31. ANR2017I Administrator ADMIN issued command: show slots library1
  32. PVR slot information for library LIBRARY1.
  33. Library : LIBRARY1
  34. Product Id : Scalar i500
  35. Support module : 2
  36. Mount count : 0
  37. Drives : 2
  38. Slots : 4
  39. Changers : 1
  40. Import/Exports : 0
  41. Device : /dev/tsmscsi/lb0
  42. Drive 0, element 2051
  43. Drive 1, element 2052
  44. Changer 0, element 0
  45. more... (<ENTER> to continue, 'C' to cancel)
  46. Slot 0, status Full, element number 1, barcode not present, barcode value <>, devT=LTO, mediaT=-1, elemT=ANY
  47. Slot 1, status Full, element number 2, barcode not present, barcode value <>, devT=LTO, mediaT=-1, elemT=ANY
  48. Slot 2, status Full, element number 3, barcode not present, barcode value <>, devT=LTO, mediaT=-1, elemT=ANY
  49. Slot 3, status Full, element number 4, barcode not present, barcode value <>, devT=LTO, mediaT=-1, elemT=ANY
  50. slot element range 1 - 4
  51. tsm: SERVER1>
  52. #定义drive
  53. tsm: SERVER1>def drive library1 drive0 element=2051
  54. ANR2017I Administrator ADMIN issued command: DEFINE DRIVE library1 drive0 element=2051
  55. ANR8404I Drive DRIVE0 defined in library LIBRARY1.
  56. tsm: SERVER1>def drive library1 drive1 element=2052
  57. ANR2017I Administrator ADMIN issued command: DEFINE DRIVE library1 drive1 element=2052
  58. ANR8404I Drive DRIVE1 defined in library LIBRARY1.
  59. tsm: SERVER1>q drive
  60. ANR2017I Administrator ADMIN issued command: QUERY DRIVE
  61. Library Name Drive Name Device Type On-Line
  62. ------------ ------------ ----------- -------------------
  63. LIBRARY1 DRIVE0 UNKNOWN Yes
  64. LIBRARY1 DRIVE1 UNKNOWN Yes
  65. tsm: SERVER1>def path server1 drive0 srct=server destt=drive libr=library1 device=/dev/tsmscsi/mt0
  66. ANR2017I Administrator ADMIN issued command: DEFINE PATH server1 drive0 srct=server destt=drive libr=library1 device=/dev/tsmscsi/mt0
  67. ANR8955I Drive DRIVE0 in library LIBRARY1 with serial number is updated with the newly discovered serial number 37971e591.
  68. ANR1720I A path from SERVER1 to LIBRARY1 DRIVE0 has been defined.
  69. tsm: SERVER1>q driv
  70. ANR2017I Administrator ADMIN issued command: QUERY DRIVE
  71. Library Name Drive Name Device Type On-Line
  72. ------------ ------------ ----------- -------------------
  73. LIBRARY1 DRIVE0 LTO Yes
  74. LIBRARY1 DRIVE1 UNKNOWN Yes
  75. tsm: SERVER1>def path server1 drive1 srct=server destt=drive libr=library1 device=dev/tsmscsi/mt1
  76. ANR2017I Administrator ADMIN issued command: DEFINE PATH server1 drive1 srct=server destt=drive libr=library1 device=dev/tsmscsi/mt1
  77. ANR8420E DEFINE PATH: An I/O error occurred while accessing drive DRIVE1.
  78. ANS8001I Return code 15.
  79. ANR2017I Administrator ADMIN issued command: ROLLBACK
  80. tsm: SERVER1>def path server1 drive1 srct=server destt=drive libr=library1 device=/dev/tsmscsi/mt1
  81. ANR2017I Administrator ADMIN issued command: DEFINE PATH server1 drive1 srct=server destt=drive libr=library1 device=/dev/tsmscsi/mt1
  82. ANR8955I Drive DRIVE1 in library LIBRARY1 with serial number is updated with the newly discovered serial number 37971e592.
  83. ANR1720I A path from SERVER1 to LIBRARY1 DRIVE1 has been defined.
  84. tsm: SERVER1>q driv
  85. ANR2017I Administrator ADMIN issued command: QUERY DRIVE
  86. Library Name Drive Name Device Type On-Line
  87. ------------ ------------ ----------- -------------------
  88. LIBRARY1 DRIVE0 LTO Yes
  89. LIBRARY1 DRIVE1 LTO Yes
  90. tsm: SERVER1>q path
  91. ANR2017I Administrator ADMIN issued command: QUERY PATH
  92. Source Name Source Type Destination Destination On-Line
  93. Name Type
  94. ----------- ----------- ----------- ----------- -------
  95. SERVER1 SERVER LIBRARY1 LIBRARY Yes
  96. SERVER1 SERVER DRIVE0 DRIVE Yes
  97. SERVER1 SERVER DRIVE1 DRIVE Yes
  98. tsm: SERVER1>def dev library1 devt=lto format=ultrium2c libr=library1
  99. ANR2017I Administrator ADMIN issued command: DEFINE DEVCLASS library1 devt=lto format=ultrium2c libr=library1
  100. ANR2203I Device class LIBRARY1 defined.
  101. tsm: SERVER1>q dev
  102. ANR2017I Administrator ADMIN issued command: QUERY DEVCLASS
  103. Device Device Storage Device Format Est/Max Mount
  104. Class Access Pool Type Capacity Limit
  105. Name Strategy Count (MB)
  106. --------- ---------- ------- --------- ------ -------- ------
  107. DISK Random 3
  108. LIBRARY1 Sequential 0 LTO ULTRI- DRIVES
  109. UM2C
  110. tsm: SERVER1>def stgpool hzqpool library1 maxscratch=2
  111. ANR2017I Administrator ADMIN issued command: DEFINE STGPOOL hzqpool library1 maxscratch=2
  112. ANR2200I Storage pool HZQPOOL defined (device class LIBRARY1).
  113. tsm: SERVER1>q stg
  114. ANR2017I Administrator ADMIN issued command: QUERY STGPOOL
  115. Storage Device Estimated Pct Pct High Low Next Stora-
  116. Pool Name Class Name Capacity Util Migr Mig Mig ge Pool
  117. Pct Pct
  118. ----------- ---------- ---------- ----- ----- ---- --- -----------
  119. ARCHIVEPOOL DISK 5.0 M 0.0 0.0 90 70
  120. BACKUPPOOL DISK 10.0 M 0.0 0.0 90 70
  121. HZQPOOL LIBRARY1 0.0 M 0.0 0.0 90 70
  122. SPACEMGPOOL DISK 0.0 M 0.0 0.0 90 70
  123. tsm: SERVER1>upd stg backuppool nextpool=hzqpool
  124. ANR2017I Administrator ADMIN issued command: UPDATE STGPOOL backuppool nextpool=hzqpool
  125. ANR2202I Storage pool BACKUPPOOL updated.
  126. tsm: SERVER1>q stg
  127. ANR2017I Administrator ADMIN issued command: QUERY STGPOOL
  128. Storage Device Estimated Pct Pct High Low Next Stora-
  129. Pool Name Class Name Capacity Util Migr Mig Mig ge Pool
  130. Pct Pct
  131. ----------- ---------- ---------- ----- ----- ---- --- -----------
  132. ARCHIVEPOOL DISK 5.0 M 0.0 0.0 90 70
  133. BACKUPPOOL DISK 10.0 M 0.0 0.0 90 70 HZQPOOL
  134. HZQPOOL LIBRARY1 0.0 M 0.0 0.0 90 70
  135. SPACEMGPOOL DISK 0.0 M 0.0 0.0 90 70

  136. tsm: SERVER1>label libv library1 search=yes labels=barcode overwrite=yes checkin=scr
  137. ANR2017I Administrator ADMIN issued command: LABEL LIBVOLUME library1 search=yes labels=barcode overwrite=yes checkin=scr
  138. ANR0984I Process 5 for LABEL LIBVOLUME started in the BACKGROUND at 12:12:07 PM.
  139. ANR8799I LABEL LIBVOLUME: Operation for library LIBRARY1 started as process 5.
  140. ANS8003I Process number 5 started.
  141. tsm: SERVER1>ANR8810I Volume AD0001 has been labeled in library LIBRARY1.
  142. ANR8810I Volume AD0002 has been labeled in library LIBRARY1.
  143. ANR8810I Volume AD0003 has been labeled in library LIBRARY1.
  144. ANR8810I Volume AD0004 has been labeled in library LIBRARY1.
  145. ANR8801I LABEL LIBVOLUME process 5 for library LIBRARY1 completed; 4 volume(s) labeled, 4 volume(s) checked-in.
  146. ANR0985I Process 5 for LABEL LIBVOLUME running in the BACKGROUND completed with completion state SUCCESS at 12:12:07 PM.
  147. tsm: SERVER1>qu vol
  148. ANR2017I Administrator ADMIN issued command: QUERY VOLUME
  149. Volume Name Storage Device Estimated Pct Volume
  150. Pool Name Class Name Capacity Util Status
  151. ------------------------ ----------- ---------- --------- ----- --------
  152. /opt/tivoli/tsm/server/- ARCHIVEPOOL DISK 5.0 M 0.0 On-Line
  153. bin/archive.dsm
  154. /opt/tivoli/tsm/server/- BACKUPPOOL DISK 10.0 M 0.0 On-Line
  155. bin/backup.dsm

  156. tsm: SERVER1>def vol hzqpool ad0002
  157. ANR2017I Administrator ADMIN issued command: DEFINE VOLUME hzqpool ad0002
  158. ANR2206I Volume AD0002 defined in storage pool HZQPOOL (device class LIBRARY1).
  159. tsm: SERVER1>ANR4502W No files have been defined for automatically storing sequential volume history information.
  160. tsm: SERVER1>q vol
  161. ANR2017I Administrator ADMIN issued command: QUERY VOLUME
  162. Volume Name Storage Device Estimated Pct Volume
  163. Pool Name Class Name Capacity Util Status
  164. ------------------------ ----------- ---------- --------- ----- --------
  165. /opt/tivoli/tsm/server/- ARCHIVEPOOL DISK 5.0 M 0.0 On-Line
  166. bin/archive.dsm
  167. /opt/tivoli/tsm/server/- BACKUPPOOL DISK 10.0 M 0.0 On-Line
  168. bin/backup.dsm
  169. AD0002 HZQPOOL LIBRARY1 0.0 M 0.0 Empty
  170. tsm: SERVER1>q libv
  171. ANR2017I Administrator ADMIN issued command: QUERY LIBVOLUME
  172. Library Name Volume Name Status Owner Last Use Home Device
  173. Element Type
  174. ------------ ----------- ---------------- ---------- --------- ------- ------
  175. LIBRARY1 AD0001 Scratch 1 LTO
  176. LIBRARY1 AD0002 Private 2 LTO
  177. LIBRARY1 AD0003 Scratch 3 LTO
  178. LIBRARY1 AD0004 Scratch 4 LTO
  179. tsm: SERVER1>q vol
  180. ANR2017I Administrator ADMIN issued command: QUERY VOLUME
  181. Volume Name Storage Device Estimated Pct Volume
  182. Pool Name Class Name Capacity Util Status
  183. ------------------------ ----------- ---------- --------- ----- --------
  184. /opt/tivoli/tsm/server/- ARCHIVEPOOL DISK 5.0 M 0.0 On-Line
  185. bin/archive.dsm
  186. /opt/tivoli/tsm/server/- BACKUPPOOL DISK 10.0 M 0.0 On-Line
  187. bin/backup.dsm
  188. AD0002 HZQPOOL LIBRARY1 0.0 M 0.0 Empty
  189. tsm: SERVER1>





转载于:https://www.cnblogs.com/houzhiqing/p/5497852.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值