drive_mount_notify script (on UNIX)
The NetBackup tpreq command runs the drive_mount_notify script (if it exists) immediately after media is mounted in a pre-selected, robotic drive. This script is not valid for standalone drives.
Each time a tape volume is mounted, this script gathers information on the drive that is mounted. This script also lets you perform special-handling. For example, you can use the script to gather log sense or other data from a drive and place it in an output file. You can change the information that the script gathers by modifying the script.
After the script runs, control is then returned to NetBackup to resume processing.
This script is located in the following directory:
/usr/openv/volmgr/bin/goodies
To use this script, activate it and place it into the /usr/openv/volmgr/bin directory. See the script for instructions about how to activate it and how to modify it.