ADSM-L

Re: [ADSM-L] nightmares with a STK SL500 tape library

2011-04-06 12:50:45
Subject: Re: [ADSM-L] nightmares with a STK SL500 tape library
From: Skylar Thompson <skylar2 AT U.WASHINGTON DOT EDU>
To: ADSM-L AT VM.MARIST DOT EDU
Date: Wed, 6 Apr 2011 09:41:22 -0700
On 04/ 6/11 08:43 AM, Thomas Denier wrote:
-----John Drury wrote: -----

My questions to all of you is not so much what could be wrong
(although if you have ideas, that would be great also), but, we are
considering a new robot and are hoping to be able to use or reuse our
existing LTO4 tapes. Right now it has about 80 scratches so if we
were to goto a second library, I should be able to have both defined
to TSM and move the data from one to the other after putting some of
the scratches in the new library and labeling/initializing them until
all data is in the new library and then I can light the old one on
fire (j/k) !
If and when you install a new library, you will not need to move the
data from volume to volume; you will be able to move the volumes
with their contents intact. The sequence of events for this would
be as follows:

Define the new library and the associated path.
Stop all tape activity.
Record the status (scratch or private) of each volume.
Check all volumes out of the old library.
Delete paths to drives in the old library.
Delete drives from the old library.
Move the drives and volumes physically to the new library.
Define the drives in the new library.
Define paths to the drives.
Update device classes that used the old library to use the new library.
Check each volume into the new library with the appropriate status.
Resume tape activity.
Delete the path to the old library and the library.

It gets a little trickier if the two libraries don't report barcodes in
the same way. If they don't, then you might have to check tapes in with
"CHECKIN LIBV CHECKLABEL=YES" rather than "CHECKLABEL=BARCODE" to force
each tape through a drive to verify the on-tape label. I've also run
into libraries that have incompatible barcode formats, which
necessitates relabeling all the tapes prior to check in.

Assuming that the reported barcodes line up on both libraries, you
actually don't even have to track volume status (although it's a good
idea anyways). You can check in all your tapes as scratch first, and TSM
will skip over any tapes that have a current volume history. All the
tapes TSM skipped over in the first check-in are private tapes.

--
-- Skylar Thompson (skylar2 AT u.washington DOT edu)
-- Genome Sciences Department, System Administrator
-- Foege Building S048, (206)-685-7354
-- University of Washington School of Medicine