Virtual TapeServer 6.03.42 Operations and Administration Guide
142 | Administrative Tasks
maintenance is not necessary; these locks are created and deleted by the VTS processes.
Removing a lock here should only be done if a VTS process terminated abnormally.
To remove a lock, select the pool or virtual tape and click REMOVE LOCK.
Maintaining the file system
The file system of the VTS server requires maintenance for optimal performance. This section
outlines the files and directories that you should be aware of so that you can monitor and
remove old data as needed.
Several directories store files that are generated on a regular basis. Files may accumulate in
the following directories:
/tmp Used for temporary files, this directory contains a variety of items including files,
fifos, and directories
/var/log
Contains system log files
/usr/local/tape/log
Contains VTS log files
/usr/local/tape/trace
Contains trace logs generated by some programs
/var/spool/mail
Contains user mail folders.
/var/spool/mqueue
Contains outbound mail
/var/spool/clientmqueue
Contains outbound mail not yet processed by the host’s MTA.
It is recommended that you monitor these directories and archive (or purge) old files as
needed. You can use several commands to help manage the directories:
• To view the size of a directory, run the following command (as root):
du -sh /dir_path
• To see the oldest files in the directory and their sizes, run this command (as root):
ls -alth /dir_path
The system facility, which is called logrotate, is used to rotate log files on a daily basis. The
configuration files for logrotate are located in /etc/logrotate.d. You can tune the settings in
this file to rotate and overwrite files as needed.