Use this command to create a copy (mirrored volume) of a recovery log volume. Mirroring the recovery log increases the recovery log availability and provides a safeguard against media failure. You can have as many as two copies of a recovery log volume. After each recovery log volume copy is defined, the server attempts to synchronize the volume copy with the recovery log.
All recovery log volumes reside on a random access volume. Volume copies must have at least the same capacity as the original volume and should be defined on separate physical devices. Any additional space on the volume copy is not used.
This command generates a background process that you can cancel with the CANCEL PROCESS command. If a DEFINE LOGCOPY process is canceled, the volume copy is created. However, synchronization processing is canceled leaving the volume in a stale state. To display information on background processes, use the QUERY PROCESS command.
Privilege Class
To issue this command, you must have system privilege or unrestricted storage privilege.
Syntax
>>-DEFine LOGCopy--volume_name--copy_volume_name---------------><
Parameters
Enter the name as either a fully qualified path name or a name relative to the server's current working directory. For example, if the file name is log2.dsm, enter the path name as:
/usr/lpp/adsmserv/bin/log2.dsm
Examples
Task
Create a recovery log volume copy named LOG.2 for the recovery log volume named LOG.1.
Related Commands
Table 64. Commands Related to DEFINE LOGCOPY
Command | Description |
---|---|
CANCEL PROCESS | Cancels a background server process. |
DEFINE LOGVOLUME | Defines a disk volume to the recovery log. |
DELETE LOGVOLUME | Deletes a volume from the recovery log. |
QUERY LOGVOLUME | Displays information about log volumes. |
QUERY PROCESS | Displays information about background processes. |