TSM on Linux

DELL PowerVault 122Tの場合
いつもやり方忘れてLotusワードプロのうざい資料を見直す事になるのでめも
※/etc/modules.confにoptions mod_scsi max_scsi_luns=8 → mkinird → reboot
http://www-1.ibm.com/support/docview.wss?uid=swg21052195
autoconfでいけた

[dsmadmc]

  • define library DELL122T libtype=scsi
  • define path server1 DELL122T srctype=server desttype=library device=/dev/tsmscsi/lb0
  • define drive DELL122T DLTDRIVE
  • ddefine path server1 DLTDRIVE srctype=server desttype=drive library=DELL122T

device=/dev/tsmscsi/mt0

tsm: SERVER1>q drive
ANR2017I Administrator ADMIN issued command: QUERY DRIVE

Library Name Drive Name Device Type On-Line
------------ ------------ ----------- -------------------
DELL122T DLTDRIVE DLT Yes

  • define devclass DEV122T devtype=DLT format=drive library=DELL122T

tsm: SERVER1>q devclass
ANR2017I Administrator ADMIN issued command: QUERY DEVCLASS

Device Device Storage Device Format Est/Max Mount
Class Access Pool Type Capacity Limit
Name Strategy Count (MB)
--------- ---------- ------- --------- ------ -------- ------
DEV122T Sequential 0 DLT DRIVE DRIVES
DISK Random 0

  • tsm: SERVER1>define stgpool FULLVM DEV122T maxscratch=0

tsm: SERVER1>q stgpool
ANR2017I Administrator ADMIN issued command: QUERY STGPOOL

Storage Device Estimated Pct Pct High Low Next Stora-
Pool Name Class Name Capacity Util Migr Mig Mig ge Pool
Pct Pct
----------- ---------- ---------- ----- ----- ---- --- -----------
FULLVM DEV122T 0.0 M 0.0 0.0 90 70

  • tsm: SERVER1>delete vol fullvm01から05まで

tsm: SERVER1>q vol
ANR2017I Administrator ADMIN issued command: QUERY VOLUME

Volume Name Storage Device Estimated Pct Volume
Pool Name Class Name Capacity Util Status
------------------------ ----------- ---------- --------- ----- --------
FULLVM01 FULLVM DEV122T 0.0 0.0 Empty
FULLVM02 FULLVM DEV122T 0.0 0.0 Empty
FULLVM03 FULLVM DEV122T 0.0 0.0 Empty
FULLVM04 FULLVM DEV122T 0.0 0.0 Empty
FULLVM05 FULLVM DEV122T 0.0 0.0 Empty

  • tsm: SERVER1>label libvol dell122t search=yes labelsource=prompt overwrite=yes

tsm: SERVER1>q req
ANR2017I Administrator ADMIN issued command: QUERY REQ
ANR8352I Requests outstanding:
ANR8809I 010: Please provide the label name for the volume in slot element 256 of library
DELL122T by issuing REPLY n LABEL=xxx within 60 minutes, where n is the request ID
and xxx is the desired label name.

  • tsm: SERVER1>rep 010 labl=vm01 (ライブラリがガチョガチョ言うのでとりあえずテープ全部ラベリング)

って、ラベル付け中に前面の"Media Attension"が・・・・