cancel
Showing results for 
Search instead for 
Did you mean: 

Command to find the tape details from TLD(0) windows 2012 r2

shivabk
Level 2

Need to identify the command, where we could able to see the TLD(0) tapes information via Command line. FYI attached screenshot.

2 REPLIES 2

pats_729
Level 6
Employee

Hi @shivabk 

You can run following commands

bpmedialist -rt robot_type -rn robot_number -U / -L

you can also run availaible_media.cmd to find available tapes in the robot.

 

DPeaco
Moderator
Moderator
   VIP   

What information are you looking to get via commandline? 

You can dump the tape library inventory with this command:

/usr/openv/volmgr/bin/vmcheckxxx -rt tld -rn 0 -rh master_server_name -empty_map

You can also get the robot device address with this command:

/usr/openv/volmgr/bin/tpconfig -d | grep "robotic path" | awk '{print $5}'

I work in a mainly Linxu/Unix shop, so you'll need to adjust for Windows as best fits the commandline syntax.

For tape volume info:

/usr/openv/volmgr/bin/vmquery -a -b

For specific tape info:

/usr/openv/volmgr/bin/vmquery -m tape_barcode_number

Hope this helps.

Thanks,
Dennis