Forum Discussion

kenchan1's avatar
kenchan1
Level 3
4 years ago

Inventory fails. media id not unique database.

HI ALL. When I insert TAPE AHX304L8 and Inventory update. I got this error in Netbackup Administration Console: Inventory failed: media ID not unique in database (34) Before this error...
  • kenchan1's avatar
    kenchan1
    4 years ago

    Marianne 

    Thank you for your solution.

     

    You need to confirm that the tape that contains the images (media ID AHX304) has the physical label that matches it: AHX304L8.

    In Netbackup Console "Catalog". I can verify media ID: AHX304 and search images when the Tape AHX304L8 had been inserted.


    If you are 100% sure that media ID AHX304 has the correct external label of AHX304L8, you can update the barcode in NBU config with this command:
    vmchange -m AHX304 -barcode AHX304L8.

    Install path: D:\Veritas\NetBackup\bin\admincmd>

    Yes, i am sure. I ran these commands :

    D:\Veritas\NetBackup\bin\admincmd>vmchange -m AHX304 -barcode AHX304L8  in the command prompt as administrator. The result as below:

    'vmchange' is not recognized as an internal or external command,
    operable program or batch file.

    Is it run at wrong path ?

  • mph999's avatar
    mph999
    4 years ago

    Yes, wrong path - /usr/openv/volmgr/bin/vmchange