Invalid Drive Index when trying to delete drive
I am running Netbackup 10.1.1 on a RedHat 8 server. I recently did a catalog restore recovering from a hardware failure and I am having trouble connecting to two of our drives in a robot. There are still ghosts of the drive path, though the robot has been deleted. Each time I try to delete the drive I get a message saying Invalid Drive Index and asking me to restart the media manager. Restarts of the host and netbackup services have had no change.
What does Invalid Drive Index mean and why can't I delete this device regardless of what netbackup thinks an index is?
Suspect there is some 'confusion' in NBDB - without an unload it's only going to be a guess.
Delete everything (this shouldn't care about any issues, it's like hitting it with a hammer)
nbemmcmd -deletealldevices -allrecords
Then re-configre.
The only other way is manual SQL on NBDB, this needs Engineering and they will first request to use the above command anyway. It deletes all devices (robots and tapes) so in some circumstances you would avoid it due to the amount of devices to reconfigure.