DRM plan files filling up filesystem

Rhuobhe

ADSM.ORG Member
Joined
Feb 18, 2010
Messages
94
Reaction score
1
Points
0
PREDATAR Control23

Hi i noticed my AIX filesystem where I keep recovery plan files is filling up over time. Is it safe to manually delete (rm) the recovery plans that are older than 30 days? Is there any way to automate the 'prepare' command so that it only retains a certain number of recovery plans?

Thank you
 
PREDATAR Control23

Hi Rhuobhe

No problem to manually delete old recovery plan files.
I've seen the same issue and use this cmd via a crontab script:
...
if [[ `whoami` == "tsminst1" ]]; then
ls /tsm/tsmprod004/dbb/DR && find /tsm/tsmprod004/dbb/DR/tsmprod004.drm.* -mtime +14 -exec rm {} \;
fi

And use this eventough I've set 1 month retention in DRM:

#q drmstat
....
Recovery Plan File Expiration Days: 30 Day(s)
 
PREDATAR Control23


This does not work - I had set this on various OS host for TSM and never worked - tried from TSM 6.x to 8.1.x.

I had opened a lot of PMR about this and this was never resolved.

this works better:

if [[ `whoami` == "tsminst1" ]]; then
ls /tsm/tsmprod004/dbb/DR && find /tsm/tsmprod004/dbb/DR/tsmprod004.drm.* -mtime +14 -exec rm {} \;
fi
 
Top