[Info-vax] Shadow Volume Copy

Ramon Jimenez rjimen37 at ford.com
Wed Mar 25 05:54:51 EDT 2009


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



More information about the Info-vax mailing list