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:
In my NetBackup >Media ID AHX304 was matched TAPE( barcode: AHX304L8 ) .
When i ejected the TAPE( barcode: AHX304L8 ) and inserted new TAPE( barcode: AHX340L8 ) and Inventory robot / update volume configuration. Netbackup can not created new Media ID like AHX340.
The Media ID: AHX304 matched new TAPE( barcode: AHX340L8 )
In my question:
1. How can i get back Media ID AHX304 match back TAPE( barcode: AHX304L8 ) ?
2. How can i insert TAPE AHX340L8 again can be create new Media ID: AHX340 ?
Thank you for your help.
Remarks:
The AHX304L8 has images.
OS: Windows Server2016
Netbackup version:8.1.2
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 ?
Yes, wrong path - /usr/openv/volmgr/bin/vmchange