Skip Navigation Links | |
Exit Print View | |
Sun QFS and Sun Storage Archive Manager 5.3 Reference Manual Sun QFS and Sun Storage Archive Manager 5.3 Information Library |
1. User Commands (Man Pages Section 1)
2. Maintenance Commands (Man Pages Section 1M)
3. Library Functions (Man Pages Section 3)
4. Library Functions (Man Pages Section 3X)
5. File Formats (Man Pages Section 4)
NAME load_notify.sh - Sends email when a volume needs to be imported or loaded SYNOPSIS /opt/SUNWsamfs/examples/load_notify.sh prg_name pid log_level msg_no vsn AVAILABILITY SUNWsamfs DESCRIPTION The /etc/opt/SUNWsamfs/scripts/load_notify.sh script is called by the appropriate media-changer daemon when a requested volume is not in a library, is not marked unavailable, and the attended state is set to yes. Appropriate media-changer daemons include sam-genericd, sam-stkd, and so on. For more information on the media-changer daemons, see the sam-robotsd(1M) man page. By default, this script sends email to root with the following message: Sun SAM-QFS needs VSN vsnxxx manually loaded or imported. Check preview display. To enable this feature, copy /opt/SUNWsamfs/examples/load_notify.sh to /etc/opt/SUNWsamfs/scripts/load_notify.sh and modify it to take the desired action for your installation. OPTIONS This script accepts the following arguments: prg_name The name of the program that is calling this script. pid The process ID of the program that is calling this script. log_level Log priority level. An integer number such that 0 < log_level < 7. 0 is highest priority, and 7 is lowest priority. msg_no The message number as found in the message catalog. vsn The volume serial name (VSN) identifier of the volume that needs to be imported or loaded. FILES /opt/SUNWsamfs/examples/load_notify.sh SEE ALSO sam-fsd(1M), sam-robotsd(1M), samset(1M).