Document ID: 279339
http://support.veritas.com/docs/279339
E-Mail this document to a colleague
http://support.veritas.com/docs/279339
![E-Mail Colleague Icon](http://seer.entsupport.symantec.com/images/icoemail.gif)
DOCUMENTATION: How to delete Unified Log files to reclaim disk space on the file system.
Details:
The options for vxlogmgr are described below.
Additional command line options for vxlogmgr can be found on page 525 of the NetBackup 6.0 Commands for UNIX (refer below to the Related Documents section).
Examples:
The following command will delete all Unified log files created before midnight on 9/20/2005:
Manual: VERITAS NetBackup (tm) 6.0 Troubleshooting Guide for UNIX and Windows
Page(s): 84 - 86
Modification Type: Supplement
Modification:
NetBackup 6.0 introduces a new style. of logging called Unified logging. This new style. of logging is used by NetBackup 6.0 NetBackup Intelligent Resource Manager (IRM), Enterprise Media Manager (EMM) services as well as other Symantec products. The previous style. of NetBackup logging is now referred to as Legacy logging and is still used by other NetBackup daemons.
Unified logs are stored in /usr/openv/logs on the server. The vxlogmgr command should be used to properly remove Unified logs from a NetBackup server to reclaim space on the file system:
Page(s): 84 - 86
Modification Type: Supplement
Modification:
NetBackup 6.0 introduces a new style. of logging called Unified logging. This new style. of logging is used by NetBackup 6.0 NetBackup Intelligent Resource Manager (IRM), Enterprise Media Manager (EMM) services as well as other Symantec products. The previous style. of NetBackup logging is now referred to as Legacy logging and is still used by other NetBackup daemons.
Unified logs are stored in /usr/openv/logs on the server. The vxlogmgr command should be used to properly remove Unified logs from a NetBackup server to reclaim space on the file system:
# cd /usr/openv/netbackup/bin
# ./vxlogmgr --del -p -o -e
The options for vxlogmgr are described below.
- The --del option will delete any matching log files.
- The -p is optional. This should be used to limit the deleting of logs to specific products, such as 51216 (NetBackup).
- The -o is optional. This should be used to limit the deleting of logs to specific originators, such as 116 (nbpem).
- The -e is optional. This will delete any log files created before the date specified. The format for the date is 'MM/DD/YYYY hh:mm:ss AM|PM' surrounded by single quotes.
Additional command line options for vxlogmgr can be found on page 525 of the NetBackup 6.0 Commands for UNIX (refer below to the Related Documents section).
Examples:
The following command will delete all Unified log files created before midnight on 9/20/2005:
# vxlogmgr --del -e '09/20/2005 00:00:00 AM'
The following command will delete all Unified log files for the NetBackup product created on and before 9/22/2005.
# vxlogmgr --del -p 51216 -e '09/22/2005 23:59:59 PM'
The following command will delete all Unified log files for the NetBackup
nbpem daemon created before noon on 9/24/2005.
# vxlogmgr --del -p 51216 -o 116 -e '09/24/2005 12:00:00 AM'
Once the
vxlogmgr command is run, a listing of matching files will be displayed along with a prompt asking to delete the files. Once the expected listing of file names has been displayed, select "
y" to delete the Unified log files.
Related Documents:
http://support.veritas.com/docs/278572
http://support.veritas.com/docs/279295
http://support.veritas.com/docs/279299
http://support.veritas.com/docs/278572
http://support.veritas.com/docs/279295
http://support.veritas.com/docs/279299
Products Applied:
NetBackup Enterprise Server 6.0
NetBackup Server 6.0
NetBackup Enterprise Server 6.0
NetBackup Server 6.0
Last Updated: December 31 2007 10:51 PM GMT
Expires on: 12-30-2008
Subscribe to receive critical updates about this document
Expires on: 12-30-2008
![Subscribe Via E-Mail Icon](http://seer.entsupport.symantec.com/images/icoemail.gif)
Subjects:
NetBackup Enterprise Server
Application: Informational
Best Practice: Error Logs
NetBackup Server
Application: Informational
Best Practice: Error Logs
NetBackup Enterprise Server
Application: Informational
Best Practice: Error Logs
NetBackup Server
Application: Informational
Best Practice: Error Logs
Languages:
English (US)
English (US)
Operating Systems:
AIX
AIX
5.1, 5.2, 5.3
HP-UX
11.0, 11.11
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/228190/viewspace-524632/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/228190/viewspace-524632/