Shadow Volume Copy



We have a shadow logical disk, with two members.

They want to copy the physical files which form the shadow to another
machine.

I'm trying to create DCL with this commands

$ dismount lda1:
$!
$! copy file
$!
$ copy dkb0:[000000]vd1.dsk dkb1:[BACKUP]
$!
$! Mount disk again
$ mou/sys/noassi dsa0: /shadow=($1$lda1:,$1$lda2:) shadowvol vds
$disk
$!
$!
$ dismount lda2:
$!
$! copy file
$!
$ copy dkb1:[000000]vd2.dsk dkb1:[BACKUP]
$!
$! Mount disk again
$ mou/sys/noassi dsa0: /shadow=($1$lda1:,$1$lda2:) shadowvol vds
$disk

When I ran the commands manually one bye it works
When I put them in the DCL, dismounts and copies the first file and I
got this message

%DISM-W-CANNOTDMT, LDA2: cannot be dismounted
%DISM-F-SRCMEM, only source member of shadow set cannot be
dismounted

I suppose is because it is still mounting the previous one. however it
copies both files.

How can I do that DCL wait for the finish of the first mount operation
before starting the second dismount?

Could be the files copied be valid although the volume has not be
dismounted?

Thanks
Ramon
.



Relevant Pages

  • Re: Shadow set problem
    ... B comes up, its disk gets overwritten by a full copy from A, losing the ... , one node would come up quick enough to mount it before all the members were MSCP served to all nodes. ... another node would mount it and a full shadow copy would result. ...
    (comp.os.vms)
  • Re: Shadow Volume Copy
    ... describe a member as "master" is pretty much meaningless. ... written back to the other members. ... two merging shadow members A and B differ in blocks 1000 and 2000, ... "master" disk from the SDA output. ...
    (comp.os.vms)
  • Re: Suggestion for INSTALL PURGE and SHUTDOWN.COM
    ... > re-integration of a disk into the shadow set). ... dismount all shadow sets with members with direct ... sure that the subsequent MOUNT command (after the reboot) is also done ...
    (comp.os.vms)
  • Re: How clean is the snapshot when dismounting a member of a shadow set?
    ... direct connection to the two other members of the shadow set. ... I've always had the system disk locally connected to the node it is used ... a starting point for an upgraded disk on another system. ...
    (comp.os.vms)
  • Re: long, boring explanation of minicopy (and HBVS, in general)
    ... > immediately kick the missing disk out of the shadow set. ... For a quick, planned reboot, I agree. ... it appears that the proper DISMOUNT command is enough. ...
    (comp.os.vms)