1、定义磁带库
def libr library1 libtype=scsi
q libr
2、定义库路径
def path ibmtsm library1 srctype=server desttype=library device=/dev/tsmscsi/lb0
(主机名)(库名) (设备路径)
自动磁带打标签:update library library1 autolabel=yes
3、定义驱动器
def drive library1 drive0 element=1
q drive
4、定义驱动器路径
def path tsm drive0 srct=server destt=drive libr=library1 device=/dev/tsmscsi/mt0
q path
5、定义设备类
def dev library1 devt=ECARTRIDGE format=T10000B libr=library1
(设备类)
q dev
6、定义存储池
def stgpool glpool library1 maxscratch=5
(存储池)(设备类)
q stg
更新存储池:update stg backup nextpool=glpool
7、定义存储池卷
tsm: TSM>define volume testpool /tsm/testvol/stgvol.001 formatsize=10240 wait=yes
8、删除卷数据
tsm: TSM>delete volhistory todate=today type=all
9、删除存储池卷
delete volume /tsm/testvol/stgvol.001
7、扫描磁带
label libvolume library1 search=yes labels=barcode overwrite=yes checkin=scr
q libv
8、磁带对应存储池
def vol glpool G03004TA
q vol
TSM存储配置_第1张图片

TSM存储配置_第2张图片