11-09-2013 09:36 PM
Hello,
I am trying to import some tapes into the NBU and when I am importing the tapes,show me this message "Media ID not unique in database (34)".
Update failed: could not add new media ID 'SB7773' into slot 40
Insert media failed:
media ID not unique in database (34)
After I see this message I found this tape into the Media as TLD, but I think I didn`t import it yet.
Now many tapes are showing me the same massage.
Could you please help me woith this issue?
Regards,
Sidnei
Solved! Go to Solution.
11-10-2013 03:06 AM
We are really trying to help you here. It is close to 5 hours since I have asked for output of:
nbemmcmd -listmedia -mediaid SB7773
We need to find out what is already in NBU database for this tape and therefore giving 'not unique in database' error.
11-09-2013 10:02 PM
Hi,
Take a look if the media is assigned (has a date under the assigned field). If not, delete that media and retry the inventory.
11-09-2013 10:10 PM
Please always mention/select your OS in new posts.
We need output from commands to troubleshoot your issue.
Show us output of this command:
nbemmcmd -listmedia -mediaid SB7773
(command is in ..../netbackup/bin/admincmd)
11-09-2013 10:27 PM
Marianne, I am so sorry, I am new here.
My OS is Windows 7.
regards,
11-09-2013 10:45 PM
11-10-2013 12:45 AM
11-10-2013 12:52 AM
I am importing from Library I/O to NBU.
The issue happens with some tapes that are Scratch.
11-10-2013 01:01 AM
Please provide the info Marianne requested.
11-10-2013 01:23 AM
C:\Program Files\Veritas\NetBackup\bin\admincmd>nbemmcmd
NBEMMCMD, Version:7.1
Usage:
nbemmcmd [-addhost] [-changesetting] [-deletealldevices]
[-deletehost] [-deletemedia] [-deletemerge] [-emmname <string>]
[-emmport <unsigned integer>] [-errorsdb] [-forcemerge]
[-getemmserver] [-help] [-listhosts] [-listmedia]
[-listsettings] [-machinealias] [-releasecache]
[-renamehost] [-servercontrol] [-setemmserver]
[-updatehost]
11-10-2013 01:40 AM
11-10-2013 01:55 AM
11-10-2013 02:30 AM
Netbackup think there is already a tape named SB7773 in the robot. This can happen is you manual remove a tape from the robot and do not run a inventory afterward.
1: Run a inventory & update (you may need to run it more than once if many differences are found)
2: Try to import the media
That should remedy the issues.
11-10-2013 03:06 AM
We are really trying to help you here. It is close to 5 hours since I have asked for output of:
nbemmcmd -listmedia -mediaid SB7773
We need to find out what is already in NBU database for this tape and therefore giving 'not unique in database' error.
12-10-2013 12:50 AM
Thanks for the solution...
I would really have liked to know what was causing this.
Perhaps you can tell us what exactly caused the problem and how you fixed it?
12-10-2013 01:24 AM
Sure,
During that week, my time created an change to reconfigure all the barcodes of the tapes therewith we imported all the tapes in new format.
But during the change I tried to import the tapes from I/O ( Library) to NBU and was showing an error during the inventory.
Action to be taken: We sent all the tapes that was error message back to Library and was created an script for them to library recognize them.
The problem was resolved.