Forum Discussion
- StefanosM3 months agoLevel 6
I have not use the command to inventory new media. But my thoughts are:
There is an unsupported option for the command vm "-use_first_6_barcode_chars" but as you manually change the first two characters of the barcode, I see no use of it. In case the barcode is indeed starting with NS then you can use this option and solve your problem.
try to add the following line to the /usr/openv/volmgr/vm.conf (or the equivalent for windows) to all media servers and retry the command
MEDIA_ID_BARCODE_CHARS = 0 8 #N:#S:3:4:5:6
MEDIA_ID_BARCODE_CHARS = 5 8 #N:#S:3:4:5:6
MEDIA_ID_BARCODE_CHARS = 6 8 #N:#S:3:4:5:6If this will not work, You have to do the first inventory manually using the GUI.
By the way, what is the real barcode of the tapes and why you are changing the first two characters?
- ta-fs2 months agoLevel 2
Hi StefanosM - thank you for your response & inputs. Apologise, I did not get your update notification and I happened to revisit this today.
I couldn't find -use_first_6_barcode_chars in any command guide but I'll give it a try in lab and see how that goes.
I've got those entries in vm.conf already identical to what's posted. The reason we're forcing the NS at start is because the inventory wasn't taking the NS from the actual tape media barcodes. I can give it a try with 1:2:3:4:5:6 but seems in the past I had some inconsistent results with missing NS.
Let me try your suggested parameter and i'll also try 1:2:3:4:5:6 again.
Any logs or debug to review the behaviour ?
Related Content
- 2 months ago
- 3 months ago
- 3 months ago