Previous Topic: IMPORT CommandNext Topic: ORDER Command


MDSKLIST Command

Authorization: SYSADMIN

Use the MDSKLIST command to scan the CP directory and create a list of minidisks defined on a specified DASD volume.

You can use this list as input to a restore job by specifying it on the MDSKLIST option on the SUBMIT command. The restore job restores the listed minidisks and ignores the input guidelines specified in the restore job template file.

The MDSKLIST command writes the minidisk information to a CMS file called VMBACKUP MDSKLIST on the A-disk of the requesting user ID. If a VMBACKUP MDSKLIST file already exists when you run this command, the new file replaces it. You can rename an existing VMBACKUP MDSKLIST file to any valid CMS filename or filetype.

You can edit a file produced by the MDSKLIST command to control which minidisks the job restores or to supply target minidisks if they differ from the source. You cannot access this file from the CA VM:Backup console or with CP SMSG. You cannot use pattern-matching characters in the MDISKLIST file.

This command has the following format:

MDSKLIST volser | *

Definitions

volser | *

Specifies which minidisks to include in the list. Indicate the name of a specific volser of a DASD volume, volser, to create a list of only minidisks on that volume. Specify an asterisk to create a list of all minidisks defined on all DASD volumes reference in the CP directory.

Examples

To generate a list of all of minidisks currently defined on DASD volume VMPK02, enter the following command:

vmbackup mdsklist vmpk02