IBM带库加磁带操作

1.查询要弹出磁带的信息

可查询media日志,冻结,可用等,详情可查

查看带库空闲槽位

vmcheckxxx -rt tld -rn 00为带库名

磁带详细信息:

bpmedialist -m 6666L4

vmquery -m 6666L4

 

2.弹磁带

#robtest

Robot Selection

---------------

  1)  TLD 0

  2)  none/quit

Enter choice: 1

Enter tld commands (? returns help information)

s p

Address 769, import_enabled = 1, export_enabled = 1, access = 1

  except = 0, import_export = 0, full = 1

  Barcode = B06666L4    

  表示槽位有磁带,那就从2开始弹出

  

Invalid command

m s282 p2

Initiating MOVE_MEDIUM from address 1306 to 770

m s231 p3

m s256 p4

m s235 p5

m s110 p6

 

3. 加磁带

3.1将新磁带加入带库中

关上盖子,自动添加磁带到带库中

 

3.2添加磁带后更新带库

backup-01:/usr/openv/bpdbjobs_history # vmupdate -rt tld -rn 0 -empty_map

Generating list of recommended changes ...

 

Proposed Change(s) to Update the Volume Configuration

=====================================================

Logically add new media 0066L4 (barcode R01211L4) to robot slot 529.

Logically add new media 0067L4 (barcode R01212L4) to robot slot 530.

Logically add new media 0068L4 (barcode R01213L4) to robot slot 531.

Updating volume configuration ...

 

Processing new media added to the robotic library by logically

adding media with new media IDs as follows...

        Media ID        Slot

        ========        ====

         0066L4          529

         0067L4          530

         0068L4          531

Volume configuration successfully updated.

 

磁带入库后修改磁带类型(比如清洗带):

vmchange -m 0066L4 -new_mt hcart3_clean

修改卷池 (清洗带放在NONE0)号池,空白数据带在Scratch池)

vmpool -list_all -bx 查看卷池信息

vmchange -m 0066L4 -p 0

转载于:https://www.cnblogs.com/yihr/p/9545245.html

你可能感兴趣的:(IBM带库加磁带操作)