diskfull_notify script
The diskfull_notify.cmd script (on Windows) and the diskfull_notify script (on UNIX) run on the NetBackup server that contains the storage unit. The disk media manager (bpdm) calls this script if it encounters a disk full condition while it writes a backup to a disk storage unit. The default action is to report the condition and immediately try to write the data again. (The file being written is kept open by the active bpdm).
To use this script, copy the script to the bin directory:
UNIX:
/usr/openv/netbackup/bin/goodies/diskfull_notify to /usr/openv/netbackup/bin
Windows:
install_path\netbackup\bin\goodies\diskfull_notify.cmd to install_path\netbackup\bin
Then place the script in the /usr/openv/netbackup/bin/ directory on the UNIX client. For a Windows client, place the script in the install_path\netbackup\bin directory.
Modify the script and confirm that you have permission to run the script.
The script can be modified to send a notification to an email address or modified to perform actions such as removing other files in the affected directory or file system.
NetBackup passes the following parameters to the script:
programname | Specifies the name of the program (always bpdm). |
pathname | Specifies the path to the file being written. |
For example:
/disk1/images/host_08193531_c1_F1
See the following Windows example:
diskfull_notify.cmd bpdm