Veritas-bu

[Veritas-bu] Moving tapes within a tape library

2000-12-21 11:45:45
Subject: [Veritas-bu] Moving tapes within a tape library
From: Bob Bolt bob.bolt AT ualberta DOT ca
Date: Thu, 21 Dec 2000 09:45:45 -0700
I have a small DLT tape library that has an 8-slot "load pack" and a single
slot loading door. To do my off-site duplications, I need to move some of
the tapes out of the library to make room for the duplication tapes. Now
what I am doing is using the hardware contol pad on the library to shuffle
the tapes around so that the tapes I want to eject (incrementals or
available) are in the load pack. The I remove the load pack, swap these
tapes with the duplication pool tapes and then reload/update in the library.

As you might expect this is a tedious process, and being the lazy guy that I
am, I wanted to write a script to perform this. But I can't find the
commands I need:

1. A command that queries the library to determine where the empty slots are
(to be used as "shuffling locations")

2. A command that physically moves a tape from one slot to another and then
logically updates the volume database.

I looked at the vmchange -res command, which lets you specify a robot slot
number, but can't see how I might coerce it into moving with the library.

Any ideas?

Bob




<Prev in Thread] Current Thread [Next in Thread>