[Info-vax] Shadow Volume Copy
BaxterD at tessco.com
BaxterD at tessco.com
Thu Mar 26 07:42:22 EDT 2009
OK,
Not totally sure that I understand exactly why you are doing
this this way, however.
1. JF's comments are correct, when you remount the dismounted shadow
unit (lda1) it will become the subject of a FULL shadow-copy.
(depending on VMS Vers and disk size, this could take a while)
2. You cannot dismount lda2 until lda1 is a complete member.
Suggestion.
dismount lda1 using
$ dismount/policy=minicopy lda1
Now when lda1 is remounted it will do a "MiniCopy" (which takes
literally a couple of minutes or even seconds).
Then execute a small loop (every 5 sec say) and check the value of f
$getdvi("DSA0:", "SHADOW_MBR_COUNT"). When the copy is done, this
will return a value of 2. While the copy is going on, it will
return a value of 1.
When the copy is complete then continue with the next step in your
script.
Note, I think MINICOPY arrived with OpenVMS 7.3-n (n=1 or 2), check
dismount help for qualifier "/policy". When Minicopy is used, the
system creates a bitmap for the volume and tracks changes. when
remounting, it only has to sync up the blocks which have changed,
which is why it is very fast.
Hope this helps
More information about the Info-vax
mailing list