1. Forum Rules (PLEASE CLICK HERE TO READ BEFORE POSTING) Click the link to access ADSM.ORG Acceptable Use Policy and forum rules which should be observed when using this website. Violators may be banned from this website. This message will disappear after you have made at least 12 posts. Thank you for your cooperation.

TSM expires files if GPFS filesystem unavailable (unmounted)

Discussion in 'TSM Client' started by afrankel, Dec 12, 2012.

  1. afrankel

    afrankel New Member

    Joined:
    Nov 20, 2012
    Messages:
    23
    Likes Received:
    0
    We have TSM backing up GPFS filesystems. If the GPFS filesystem becomes unavailable (ie: umount or GPFS shutdown) while a scheduled backup is running, TSM expires the files from the backup.

    Is there something we can do about it? Can we tell TSM to verify that the underlying GPFS filesystem is available before expiring files?

    Thanks,

    Andras
     
  2.  
  3. chad_small

    chad_small Moderator

    Joined:
    Dec 17, 2002
    Messages:
    2,205
    Likes Received:
    44
    Occupation:
    AIX/SAN/TSM
    Location:
    Gilbert, AZ
    You might want to convert the scheduled backup to a scheduled command script to allow for some FS availability checking before it executes the backup of a particular GPFS.
     
    afrankel likes this.
  4. afrankel

    afrankel New Member

    Joined:
    Nov 20, 2012
    Messages:
    23
    Likes Received:
    0
    Thanks. Could you give me the link where I can read up on scheduled backup versus scheduled command script?

    Andras
     
  5. RaCol

    RaCol Member

    Joined:
    Dec 21, 2005
    Messages:
    48
    Likes Received:
    7
    Hi Afrankel,

    you could use the preschedulecmd-option in the dsm.sys or dsm.opt-file to check if the gpfs-filesystem is available. If not the script should end with an return-code unequal zero. So further processing of the schedule will be stopped and the TSM client will not be aware about the missing filesystem.
     
    afrankel likes this.
  6. afrankel

    afrankel New Member

    Joined:
    Nov 20, 2012
    Messages:
    23
    Likes Received:
    0
    About preschedulecmd, is it executed (1) before the the whole backup starts, or is it executed (2) every time before a file needs to be backed up? The later (2) behaviour would work for me, because I am worried about loosing the filesystem while the backup is running.

    Thanks,

    Andras
     
  7. RaCol

    RaCol Member

    Joined:
    Dec 21, 2005
    Messages:
    48
    Likes Received:
    7
    The preschedulecmd will be executed before the whole backup starts (behaviour (1)). I don´t know exactly what happens if the gpfs-filesystem goes down during backup. Normally I would expect that the TSM client throws an error that it can´t acccess the filesystem anymore. I guess that in this case the not backed upped files won´t get in the inactive state. But I´m not sure about this, so you have to test this case or maybe another person knows more about this case. Another possibility would be that you implement a kind of script control for the gpfs-umount or shutdown, which checks first if a backup is running...

    Regards,

    Ralf
     

Share This Page