01-13-2015 04:58 AM
Hi,
So I got the attached tapes log.
Strange think is why some of the tapes added have the Media ID 0501L5 instead of XO0501, as you will se most of them are with XO1234 then we have 1234L5 then again XO1234 and then again the last insertion were with 050xL5 instead of XO0501, XO0502 etc.
Out Robot control has the same rule since created:
Robot Number Barcode Length MID Gen. Rule 0 8 1:2:3:4:5:6
Please see also the Media Settings img which noone changed since existed.
Obviously scripting purposes are alot harder now if I want to use media id.
Can I change the ones that are not starting with "XO" back to "XOxxxx" without "deleting" them from the library, then have alot of data on them.
//George
Solved! Go to Solution.
01-14-2015 03:48 AM
if you sometimes do inventory from the media server, you need to add the vm.conf entry for Media ID Generation to media server as well.
This entry needs to be in vm.conf of EACH machine where Inventory is done. Even if you have Remote Admin Console installed on your PC.
This vm.conf entry will only apply to new media - not existing media.
01-13-2015 11:15 AM
There are two things that affect what is used by NetBackup to assign the 6-character Media ID from the 8-character Barcode:
You appear to have either moved tapes from one library to another in which one of them was only reporting 6 characters and the other reports back all 8, or someone has changed that setting at some point on the tape library (assuming you are correct that no one changed the barcode rules).
No, you cannot DIRECTLY change the media ID to include the correct characters because there is also a "label" that was written on the magetic tape at the very beginning of each tape the first time it was written to by NetBackup. If you try to run the "label" command again from NetBackup, you will likely lose all the data on the tape.
However, there is an alternative:
I might be missing a step near the end here, but the basic idea is that you have to get NetBackup to think these tapes are new.
01-13-2015 12:31 PM
01-14-2015 03:39 AM
Hi,
I have access to NBU Env. so I can access vm.conf from master or media.
Master vm.conf rule:
MEDIA_ID_BARCODE_CHARS = 1 8 1:2:3:4:5:6
is this correct? Media ID should be XO1234 not 1234L5.
//George
01-14-2015 03:48 AM
if you sometimes do inventory from the media server, you need to add the vm.conf entry for Media ID Generation to media server as well.
This entry needs to be in vm.conf of EACH machine where Inventory is done. Even if you have Remote Admin Console installed on your PC.
This vm.conf entry will only apply to new media - not existing media.
01-14-2015 04:46 AM
Oh, cute...didn`t even/ever think about this.
I probably Inventoried the Robot on other then set-up vm.conf file.
Thank you Marianne.