Description
This article addresses the issue of par* files being generated under the /tmp folder of a NetBackup host.
- These files may appear empty and can cause alarms or fill the hard drives of a system.
- The article provides steps to prevent the generation of these files.
Note: The files may also be generated under /usr/openv/tmp or another location. If the shell profile of the system was configured with the "export TEMP=/usr/openv/tmp" parameter, it is recommended to store the files at that location instead.
The issue occurs because of the log purge configuration setting KEEP_LOGS_SIZE_GB.
- The KEEP_LOGS_SIZE_GB option specifies the size of the NetBackup logs to retain.
- When the NetBackup log size grows up to this configuration value, the older logs are deleted.
When that option is configured it uses nbutil to control the size of the NBU logs, and the nbutil application uses /tmp for its job, which are the files that are seen there.
To prevent the issue:
1. Removing the KEEP_LOGS_SIZE_GB setting from bp.conf will stop the files from being generated, but the NetBackup logs will not be automatically purged.
2. Alternately, use the shell profile export TEMP=/usr/openv/tmp (or use a different location if required) parameter listed above to redirect the files to a different location.