Inserting Tapes Manually
I'm trying to script in Perl using the command "vmupdate." Sometimes we have tapes that get ejected from a vault mixed with tapes that were going to be inserted as scratch on our Tape Library. The problem we get is if we run "vmupdate" using the flag -empty_map, it will inject all the media to the Tape Library. The reason we do this is to avoid conflict with the TLD. Is there a command other than vmchange that would allow me to insert tapes manually?
example:
vmchange -res -multi_inject -w -ml media_id:media_id -verbose -rn robot_number -rt robot_type -rh server
This will take all tapes in MAP and insert them. It doesn't matter if I use the -ml flag. So the final question:
Is there a way to manually inject tapes by specifying barcodes?
Thanks in advance.
AIX 6.1
Netbackup Master Server 7.1.0.4
You cannot use vmupdate to inject one or more tapes and leave others in the MAP. You can move individual tapes with robtest (for example: m p1 s22 ) but then you have potential conflict with slot assignment and you'd still have to run vmupdate to resync NetBackup inventory with the library.
It would so much simpler to pull all the outgoing vault tapes before inserting the scratch volumes.