ADSM-L

Re: Restore Volume from offsite tapes

2000-09-28 07:56:58
Subject: Re: Restore Volume from offsite tapes
From: Richard Sims <rbs AT BU DOT EDU>
Date: Thu, 28 Sep 2000 07:55:32 -0400
>we have a primary disk pool, a primary tape pool(in 3494 tape library) and a
>copy tape pool(also our drm tape pool, which get offsite everyday).
>We lost/misplace one volume from primary tape pool (how it get out from the
>3494 tape library? I don't know), I found that out when space reclamation
>failed.
>
>"q vol HO1302" shows it's in primary tape pool
>"q libvol 3494 HO1302" said no match found
>"mtlib -l /dev/lmcp0 -qV -VHO1302" shows
>Volume Data:
>   volume state.........Volume present in Library, but Inaccessible
>   logical volume.......No
>   volume class.........3590 1/2 inch cartridge tape
>   volume type..........HPCT 320m nominal length
>   volser...............HO1302
>   category.............012C
...
>... trust me, the tape is not in the library.
>question#1 : why mtlib says it's present in library??

Because it is in the library.  Have you ever heard of a tape that broke out of
The Big House and was profiled on a Most Wanted tv show?  No, certainly not.
They just don't do that.  It's in there, as the Category Code of 012C (your
Private category) and mtlib telling you that it is in the library, but in an
Inaccessible state - which typically indicates that the tape volume is stuck
in a drive - failed to unload.  (Or possibly the robot gripper had slippery
fingers when trying to remove the tape from its cell.)  Your library should
also be in an Intervention Required state.  Go to its Operator Station and
check there.  In particular, use the Library Manager database menu to have it
tell you where the tape is in the library - storage cell or drive.  You can
also issue other mtlib commands to check library state and drives, where the
latter would tell you if a tape is loaded.  To resolve such a situation, you
usually have to open the doors, take the tape from whereever it is and put it
into cell 1, close the doors, and the robot will put the tape away such that
it now knows where it is.  If the tape is stuck in a drive, try resetting the
tape drive to free it.  In TSM you will have to do an Update Volume to change
the tape from its Unavailable state to Readwrite, and do an Update Drive to
make it Online again.  (I've been there.)

You should never simply say "Oh, well" and stop looking for a tape that has no
reason to be elsewhere.  Bad idea, because it does not solve the problem.

    Richard Sims, BU