Forum Discussion

DPO's avatar
DPO
Level 6
11 years ago

Modifying media ID generation rule

If I modify the media ID generation rule for a robot, will it affect the existing media in the EMM database ? Actually I'm planning to create a media rule to use first 6 characters of of barcode. But...
  • Marianne's avatar
    11 years ago
    Media Id Generation Rule will not fix this problem.
    The answer is still the same as per your previous post:

    https://www.veritas.com/connect/forums/adding-barcode-label-unknown-volumes
    You need to manually update existing media. If you don't do this and just add Media Id Generation rule, NBU will try to add the new barcode as new media and probably fail with 'media id is not unique in database'.
    vmchange -barcode A00110L3 -m A00110

    Yes, add Media Id Generation rule for future and delete 0021L3.

    You can probably script vmchange if you have lots of media.