Huge /var/log/lastlog failed during backup

combato

ADSM.ORG Member
Joined
Mar 22, 2012
Messages
147
Reaction score
1
Points
0
Location
Sweden
Hi Pro's,

I have some linux redhat servers with a huge lastlog file. I use "compression yes" in my dsm.sys but the TSM server still complains about "out of storage". I know I need more backup-volumes but how do I get rid of the problem with huge lastlog files?

[root@appl133 log]# ls -lh lastlog
-r-------- 1 root root 557G May 21 14:37 lastlog
[root@appl133 log]#

/C
 
Add to dsm.sys

exclude /var/log/lastlog

Run backup again, and it should happily continue

Remember to restart tsm scheduler
 
Or,
If you need the lastlog (in our case we need to keep it for audit purpose)

Try This include/exclude statement in the in dsm.sys.
include.compression /var/log/lastlog

Or write a shell script to read the file and echo the contents to a new file which is included.
Script in place to dump the contents of lastlog.
Make the dsm.sys entries for preprocessorcmd, directory and file excludes on the servers and restart the scheduler.

Some reference:

http://en.wikipedia.org/wiki/Lastlog
http://adsm.org/lists/html/ADSM-L/2006-10/msg00005.html
http://www.mail-archive.com/[email protected]/msg55622.html
 
OK, thanks! I then think I need to echo out a tail -500 to a new file to keep some history.

/C
 
Back
Top