When vault fails to eject tapes, there could be a lock file that was not released. Depending on your configuration, the Vault session may error with a 290, 297, or 306 error code. Here are some steps to troubleshoot and resolve this issue:

  1. Verify no vault sessions are running
  2. If none running proceed or wait for jobs to complete
  3. Empty the CAP if any tapes are present
  4. Rename or remove /usr/openv/netbackup/vault/sessions/vlteject.mstr.lock on the Master
  5. For ACS robots rename/remove any /usr/openv/volmgr/misc/EJECT_*.txt files on ALL media servers that use this robot
  6. Eject tapes for the session(s) by either re-running vault or using vltopmenu to attempt to eject them again

It is important to note that if you have an ACS robot, you should check all media servers that can control the robot.