COPYSET [ Volume Management ] MPE/iX 5.0 Documentation
Volume Management
COPYSET
The COPYSET command copies one or more members of a volume set to another
volume set. The master must be copied first, because it contains
information that must be placed on the member volumes. The source
volumes must be mounted in the LONER state, and the destination volumes
must be mounted in the SCRATCH or UNKNOWN state.
Allows the copying of an entire volume set. Additionally, it enforces
the integrity of the target and source volume sets to prevent intermixing
of original and copied volumes.
Task
Copies the contents of one volume set to another volume set.
Capability
CV, create mountable volume set
Syntax
volutil: COPYSET [SNAME=]sname [FROM=]from_ldev
[TO]=to_ldev [GEN]=gen_number
Parameters
sname The volume set that will be copied. The master
volume of the set must be copied first. Required.
from_ldev A number from 1 to 100 specifying the logical
device number of the destination volume that must
be configured into the device class DISC and have a
volume mounted in the LONER state. Use the DSTAT
command to determine the state of the volume.
Required.
to_ldev Must identify a volume mounted in the SCRATCH or
UNKNOWN state. Required.
gen_number A number from 1 to 32767 specifying the new
generation number of the copied volume set.
Optional. If it is omitted, the generation number
will be one greater than the original volume set.
Example
This example shows how to copy one member of a volume set to another.
1. Place the master of the volume set you want to copy in the LONER
state by using the VSCLOSE system command. If the master volume
is not online when you mount the member volumes, the member
volumes will mount in the LONER state.
2. Use the DSTAT command to verify that the source volumes are
mounted in the LONER, and the destination volumes are mounted in
the SCRATCH or UNKNOWN state.
3. Copy the master to the other volume set.
_____________________________________________________
| |
| |
| volutil: :VSCLOSE BSET |
| |
| volutil: :DSTAT |
| |
| LDEV-TYPE STATUS VOLUME (VOLUME SET - GEN) |
| --------- ------ ------------------------- |
| 21-079330 LONER BVOL1 (BSET-0) |
| 22-079330 LONER BVOL2 (BSET-0) |
| 23-079350 LONER BVOL6 (BSET-0) |
| 41-079350 SCRATCH |
| 42-079350 SCRATCH |
| 43-079350 SCRATCH |
| |
| volutil: COPYSET SNAME=BSET FROM=21 TO=41 |
| |
| |
_____________________________________________________
After the volume has been copied, both volumes (the source and the
target) would be LONER volumes.
_____________________________________________________
| |
| |
| volutil: :DSTAT |
| |
| LDEV-TYPE STATUS VOLUME (VOLUME SET - GEN) |
| --------- ------ ------------------------- |
| 21-079330 LONER BVOL1 (BSET-0) |
| 22-079330 LONER BVOL2 (BSET-0) |
| 23-079350 LONER BVOL6 (BSET-0) |
| 41-079350 LONER BVOL1 (BSET-0) |
| 42-079350 SCRATCH |
| 43-079350 SCRATCH |
| |
_____________________________________________________
MPE/iX 5.0 Documentation