02-28-2017 07:07 AM
Just need a little help with Media ID Generation...
I just had a catman migration from a RHEL 6.x host to a 5240 appliance; it appears that the barcode rules etc. didn't make it over. (not sure who else would have possibly gone in and deleted/changed this).
Anyways, tapes are showing up with "1234L5," and what I want them to show up with is "001234." I'm pretty sure this is in inventory robot -> update volume configuration -> advanced options -> media ID generation, but I'm not 100% sure; and in my attempts I haven't been able to get it set right. I did attempt to ask Mr. Google to help me find the answer I need, but I haven't been able to figure it out.
Thanks in advance--
Solved! Go to Solution.
02-28-2017 07:46 AM - edited 02-28-2017 07:59 AM
Try logical removing the tapes in the robot and perfrom a new inventory.
This is a media generation rule from one of my robots - file is from vm.conf
MEDIA_ID_BARCODE_CHARS = 1 8 1:2:3:4:5:6
http://www.veritas.com/docs/000112051
Excatly how many chars does yore robot return ?.
E.g StorageTek robot hides the type .e.g L5 where other robot types report this back to the hosts.
02-28-2017 07:17 AM
did you find these Veritas notes ?:
http://www.veritas.com/docs/000112242
http://www.veritas.com/docs/000029357
02-28-2017 07:18 AM
When you say this was a migration, did you perform a catalog recovery? That should have included all media configurations.
02-28-2017 07:38 AM - edited 02-28-2017 07:39 AM
@Nicolai Yes--I did find those two--but neither seem to be helping me to spit out the exact syntax I want for the Media ID. I tried 6 digits and 1:2:3:4, but it still came out with the L5 at the end... I'm trying to figure out how to make it put two zeros at the beginning.
02-28-2017 07:40 AM
@Krutons yes--I'd hate to think someone went in there and deleted that information, though. We had a CATMAN specialist and a Veritas tech on the line. Just about everything else went seamlessly.
02-28-2017 07:46 AM - edited 02-28-2017 07:59 AM
Try logical removing the tapes in the robot and perfrom a new inventory.
This is a media generation rule from one of my robots - file is from vm.conf
MEDIA_ID_BARCODE_CHARS = 1 8 1:2:3:4:5:6
http://www.veritas.com/docs/000112051
Excatly how many chars does yore robot return ?.
E.g StorageTek robot hides the type .e.g L5 where other robot types report this back to the hosts.
02-28-2017 07:50 AM
@Nicolai, the EIGHT was the key.
I was putting in barcode length 6. Makes total sense now.
Thanks for nudging me in the right direction!
02-28-2017 07:58 AM - edited 02-28-2017 07:58 AM
I am glad I could help @spitman
Just to rub a bit of salt in the wound, Netbackup actual tell you how many chars a barcode is :D
# vmcheckxxx -rt tld -rn 1 -list
Robot Contents
Slot Tape Barcode
==== ==== ============
1 Yes P60023L6
Best Regards
Nicolai