Results 1 to 5 of 5
  1. #1
    Newcomer
    Join Date
    Mar 2012
    Location
    Gothenburg, SWE
    Posts
    36
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default 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

  2. #2
    Senior Member Trident's Avatar
    Join Date
    Apr 2007
    Location
    Oslo, Norway
    Posts
    276
    Thanks
    2
    Thanked 19 Times in 19 Posts

    Default

    Add to dsm.sys

    exclude /var/log/lastlog

    Run backup again, and it should happily continue

    Remember to restart tsm scheduler
    -= Trident =-

  3. #3
    Member gimlet's Avatar
    Join Date
    Apr 2008
    Location
    St. Louis, Missouri
    Posts
    154
    Thanks
    0
    Thanked 3 Times in 3 Posts

    Default

    It's a sparse file; it's not really that large on the disk. Trident's workaround is what I do as well.

  4. #4
    Member etchingsj's Avatar
    Join Date
    Feb 2008
    Location
    Lost Wages NV
    Posts
    243
    Thanks
    1
    Thanked 6 Times in 6 Posts

    Default

    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

  5. #5
    Newcomer
    Join Date
    Mar 2012
    Location
    Gothenburg, SWE
    Posts
    36
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    OK, thanks! I then think I need to echo out a tail -500 to a new file to keep some history.

    /C

Similar Threads

  1. Lastlog Sparse file behaviour
    By etchingsj in forum TSM Operation
    Replies: 1
    Last Post: 12-05-2011, 06:13 PM
  2. Huge SQL database backup to tape directly instead to disk
    By acamera in forum TDP/Application Layer Backup
    Replies: 2
    Last Post: 09-07-2010, 03:14 PM
  3. Thoughts on Huge Node Backup/Retention
    By GregE in forum TSM Server
    Replies: 2
    Last Post: 12-02-2008, 07:16 AM
  4. Failed to backup logical log on informix
    By izzta in forum TSM Server
    Replies: 0
    Last Post: 05-16-2004, 10:33 PM
  5. Solaris client not backing up /var filesystem
    By eraserhead in forum Backup / Archive Discussion
    Replies: 1
    Last Post: 08-28-2003, 01:00 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •