27.12.2012 Views

z/VM: CP Commands and Utilities Reference - z/VM - IBM

z/VM: CP Commands and Utilities Reference - z/VM - IBM

z/VM: CP Commands and Utilities Reference - z/VM - IBM

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

QUERY MDISK<br />

Responses<br />

2. For more information on the duplex control operations that <strong>CP</strong> provides when<br />

you specify DETAILS, see “DUPLEX” on page 413.<br />

3. The OwnerID <strong>and</strong> Odev listed in the output can be different, depending on how<br />

the disk was defined. If the disk definition in the system directory has been<br />

changed, the new OwnerID <strong>and</strong> Odev may not be immediately reflected in the<br />

QUERY MDISK output. The old designation will be shown until there are no<br />

users accessing the disk. Use the form of the comm<strong>and</strong> consistent with the<br />

output needed for your application.<br />

Response 1:<br />

If you do not specify DETAILS or LOCATION, you see this type of response:<br />

query mdisk 190<br />

TargetID Tdev OwnerID Odev<br />

RICH 0190 MAINT 0190<br />

Ready;<br />

This example tells you that RICH’s 190 disk is really MAINT’s 190 disk (MAINT is<br />

the owner of the disk).<br />

Response 2:<br />

872 z/<strong>VM</strong>: <strong>CP</strong> <strong>Comm<strong>and</strong>s</strong> <strong>and</strong> <strong>Utilities</strong> <strong>Reference</strong><br />

If you specify DETAILS, <strong>CP</strong> adds more information to the response:<br />

query mdisk 190 details<br />

TargetID Tdev OwnerID Odev Minidisk DEVNO Duplex<br />

RICH 0190 MAINT 0190 Regular No No<br />

Ready;<br />

This example tells you MAINT’s 190 disk is a regular minidisk, it does not have the<br />

DEVNO oper<strong>and</strong> of the MDISK statement defined in the user’s directory entry, <strong>and</strong><br />

no duplex control operations are in effect for this disk.<br />

The possible values for the Minidisk column are:<br />

Dedicated<br />

The real device associated with the specified virtual device is dedicated.<br />

Full pack<br />

The specified virtual device is a full-pack minidisk.<br />

Regular<br />

The specified virtual device is a non-full-pack minidisk. Note: This category<br />

includes T-disks <strong>and</strong> virtual disks in storage.<br />

The possible values for the DEVNO column are:<br />

No The minidisk is not defined using the DEVNO oper<strong>and</strong> of the MDISK<br />

statement in the user’s directory entry.<br />

Yes The minidisk is defined using the DEVNO oper<strong>and</strong> of the MDISK statement<br />

in the user’s directory entry.<br />

The possible values for the Duplex column are:<br />

No The minidisk has no duplex control operations in effect.<br />

Primary<br />

The minidisk is the primary device of a duplex pair.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!