Veritas-bu

[Veritas-bu] Changing pool of volume

2001-10-19 13:27:27
Subject: [Veritas-bu] Changing pool of volume
From: Jason.Ahrens AT telus DOT com (Jason Ahrens)
Date: Fri, 19 Oct 2001 13:27:27 -0400
The question: Is it possible the change the volume pool of a volume with
images on it?

The reason. I am trying to write an inteligent duplication package/script
for use here. As I am writing the script to allow for images to expire at
different times, even though the original images all expire at the same
time, I need some way to 'partition out' the volumes that are used during
the duplication so that images with different expiries do not mix on tape.
Further, I am writing this script to allow for 1 or more duplications to run
concurently.

This gives rise to a few issues.

1) If I place all the images in the same pool during duplication then a risk
exists that images with different 'final' expiry will end up on the same
tape.

2) Because I am potentially doing more than one duplication at a time, and
the total number of 'final expiry' dates is not known until starting, I
cannot rely on doing a duplication then finding what tapes were used and
freezing/ejecting them. This is bacause a race condition will exist whereby
a duplicate can finish and while my script is busy finding out what tapes
were used, another running duplicate requests a tape. Because of the way
NetBackup chooses tapes, the already assigned Offsite but not full tape will
be chosen for certain (if it's not frozen/ejected by then).

I have attempted creating 'temporary' duplication pools for each expiry date
that I have. I then perform the duplication as required to each pool and all
is well.  The difficulty comes when I have all the data I need and I want to
change the volume pool of these tapes to Offsite and remove the temporary
pools. It seems vmchange will not let me change the pool if the volume has
images on it.

Does anybody know how to do this, or perhaps have a better solution that
meets the two requirements above?

Thanks

Jason

--
Jason Ahrens
Systems Administrator/Backup Specialist
PSINet Canada Inc., a TELUS company
http://www.psi.ca
The Future is Friendly


<Prev in Thread] Current Thread [Next in Thread>
  • [Veritas-bu] Changing pool of volume, Jason Ahrens <=