Video Screencast Help

Delete drive allocation files upon shutdown

Created: 24 Sep 2012 | 1 comment
John_Nardello's picture
1 Agree
0 Disagree
+1 1 Vote
Login to vote

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.

Comments 1 CommentJump to latest comment

Dyneshia's picture

You could run nbrbutil manually (  )  However I do see your point.

Login to vote