Forum Discussion

NIKHIL234656595's avatar
12 years ago

media id mismatch issue

we have 2 tapese got  in our environment which have got mismatch between media id and barcode.for eg    barcode: AA00123L3 media id: 220012 Barcode rule is correct.What could be the issue and...
  • Mark_Solutions's avatar
    12 years ago

    It is the MedaID Generation rule that is needed to get this right but it is odd that you have a 9 digit barcode and will have to decide which digit to drop (guessing the first A)

    This can be Admin Console specific so it needs to be set for all users on all admin consoles.

    Based on your barcodes then you need a rule for each tape library that says it has 9 digits and the rule is :

    2:3:4:5:6:7

    To deal with the two tapes that you have that are wrong you need to wait until they expire (have no time assigned date) and then delete them from NetBackup after which you can put them into the library, inventory with the media ID generation rule in place which will add it into NetBackup with a media id of A00123.

    You then need to label it with the verify option to overwrite the tape header

    Using 9 digit barcodes is fraught with danger

    I can only assume this tape used to have a different barcode and has been imported in for it to have such a mis-match (it would need a media id generation rul of 6:6:2:3:4:5 to get the media id it has from its barcode!)

    Hope this helps