On Sep 22, 2006, at 11:06 AM, Jim Zajkowski wrote:
Hi folks,
I created a script that does this:
backup stgpool w=y
backup db w=y
move drm * wherest=mount tostate=coruier remove=bulk
The problem is that the move drm fails with ANR8442E: volume is
currently
in use, even though the volumes are not
It seems like the tapes must be dismounted before they can be
checked out.
Is that right?
Yes. See that message in ADSM QuickFacts for known realities.
Has anyone come up with a good workaround that's not
something like a perl script to do a query mount followed by a set of
dismounts?
Yes... Use a time-based TSM function for very high probability of
dismount for eject. My daily administration script employs an
"EXPIre Inventory Quiet=Yes Wait=Yes DUration=8" to allow sufficient
time, and has a 100% success rate over a period of years, where the
expiration is nominal and innocuous. (I later perform my full daily
expiration.)
Richard Sims
|