VMS Help  —  MOUNT  Qualifiers  /COPY
       /COPY virtual-unit-name[:] /SHADOW=(physical-dev-
       name[:][,...]) (default)
       /NOCOPY virtual-unit-name[:] /SHADOW=(physical-dev-
       name[:][,...])

    Enables or disables copy operations on physical devices specified
    when you mount a shadow set. This qualifier is applicable only if
    you have the volume shadowing option. See the VSI Volume Shadowing
    for OpenVMS for additional information.

    The /COPY qualifier instructs MOUNT to perform copy operations
    on shadow set members. You can mount shadow sets with /NOCOPY
    to test if proposed shadow set members are targets of copy
    operations. If any of the specified volumes is a target of a
    copy operation, the command quits without mounting any of the
    specified volumes (including those that did not require a copy
    operation).

    The /NOCOPY qualifier is similar to /CONFIRM. Use /NOCOPY to
    mount shadow sets in the site-specific startup command procedure
    SYS$MANAGER:SYSTARTUP_VMS.COM; use /CONFIRM for interactive
    mounting.

    Example

    The following example shows how to use the /NOCOPY qualifier to
    check the status of potential shadow set members before any data
    is erased. The command instructs MOUNT to build a shadow set with
    the specified devices only if a copy operation is not required.
    Because the device DUA7 required a copy operation to become a
    member of the shadow set, the mount failed. You could reissue the
    command specifying /COPY to instruct MOUNT to build the shadow
    set providing the necessary copy operation.

    $ MOUNT/NOCOPY DSA2: /SHADOW=($1$DUA4:,$1$DUA6:,$1$DUA7:) -
    _$  SHADOWVOL DISK$SHADOWVOL
    %MOUNT-F-SHDWCOPYREQ, shadow copy required
    %MOUNT-I-SHDWMEMFAIL, DUA7: failed as a member of the shadow set
    %MOUNT-F-SHDWCOPYREQ, shadow copy required
Close Help