Delete drive allocation files upon shutdown
NetBackup creates temp files on servers with tape drives in /usr/openv/netbackup/db/media/drives/ to help keep track of allocated tape drives. While the temp files should be deleted once the drive is no longer allocated, sometimes they hang around anyway and cause problems even after daemons have been cycled.
Why not just delete the contents of this directory entirely once NetBackup is shut down ? If daemons are down there's obviously nothing still allocated through that server so there's no reason to keep the files.
I'd like to see the two shutdown scripts, /usr/openv/netbackup/bin/goodies/netbackup & /usr/openv/netbackup/bin/bp.kill_all modified to delete the contents of /usr/openv/netbackup/db/media/drives/ each time they run.