Results 1 to 5 of 5
-
05-21-2012, 08:52 AM #1Newcomer
- Join Date
- Mar 2012
- Location
- Gothenburg
- Posts
- 15
- Thanks
- 0
- Thanked 0 Times in 0 Posts
Huge /var/log/lastlog failed during backup
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
-
05-21-2012, 02:27 PM #2Senior Member
- Join Date
- Apr 2007
- Location
- Oslo, Norway
- Posts
- 241
- Thanks
- 2
- Thanked 17 Times in 17 Posts
Add to dsm.sys
exclude /var/log/lastlog
Run backup again, and it should happily continue
Remember to restart tsm scheduler-= Trident =-
-
05-21-2012, 04:19 PM #3Member
- Join Date
- Apr 2008
- Location
- St. Louis, Missouri
- Posts
- 150
- Thanks
- 0
- Thanked 3 Times in 3 Posts
It's a sparse file; it's not really that large on the disk. Trident's workaround is what I do as well.
Tom Kyle
http://lanigera.com/wordpress
-
05-21-2012, 07:44 PM #4
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/adsm-l@v.../msg55622.html
-
05-23-2012, 02:19 AM #5Newcomer
- Join Date
- Mar 2012
- Location
- Gothenburg
- Posts
- 15
- Thanks
- 0
- Thanked 0 Times in 0 Posts
OK, thanks! I then think I need to echo out a tail -500 to a new file to keep some history.
/C
Similar Threads
-
Lastlog Sparse file behaviour
By etchingsj in forum TSM OperationReplies: 1Last Post: 12-05-2011, 05:13 PM -
Huge SQL database backup to tape directly instead to disk
By acamera in forum TDP/Application Layer BackupReplies: 2Last Post: 09-07-2010, 02:14 PM -
Thoughts on Huge Node Backup/Retention
By GregE in forum TSM ServerReplies: 2Last Post: 12-02-2008, 06:16 AM -
Failed to backup logical log on informix
By izzta in forum TSM ServerReplies: 0Last Post: 05-16-2004, 09:33 PM -
Solaris client not backing up /var filesystem
By eraserhead in forum Backup / Archive DiscussionReplies: 1Last Post: 08-28-2003, 12:00 PM


Reply With Quote
