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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

DEFINE (Virtual Disk in Storage)<br />

DEFINE (Virtual Disk in Storage)<br />

►►<br />

DEFine<br />

Authorization<br />

Purpose<br />

Oper<strong>and</strong>s<br />

VFB-512<br />

Usage Notes<br />

AS<br />

vdev<br />

BLK<br />

Privilege Class: E, G<br />

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

nnnnnnn<br />

Use DEFINE to create a virtual disk in storage attached to your virtual machine. A<br />

virtual disk in storage created using this comm<strong>and</strong> is temporary, private<br />

(nonshareable), <strong>and</strong> simulates an FBA minidisk, which is defined in 512-byte blocks.<br />

The virtual disk in storage is destroyed when you detach it or log off.<br />

vdev<br />

AS vdev<br />

is the virtual device number to be assigned to the virtual disk in storage.<br />

nnnnnnn<br />

BLK nnnnnnn<br />

is the size of the virtual disk in storage in 512-byte blocks. The maximum size is<br />

4194296 blocks.<br />

1. A virtual disk in storage is allocated from system storage, not mapped to a real<br />

DASD. Therefore, defining a virtual disk in storage does not require having a<br />

real FBA DASD in your system configuration.<br />

2. A virtual disk in storage must be formatted before it can be used. Using ICKDSF<br />

is the preferred method for formatting the virtual disk in storage if it is to be<br />

used as a system disk by a guest (such as VSE) or a second-level <strong>CP</strong>. The<br />

CMS comm<strong>and</strong> FORMAT should be used to format the virtual disk in storage if<br />

it is to be used as a CMS disk.<br />

3. Virtual disks in storage are allocated in 8-block pages. Therefore, the size of the<br />

virtual disk in storage that is created may be rounded up to the nearest page.<br />

You can use all of the blocks in the created virtual disk in storage.<br />

4. If you define a virtual disk in storage as virtual device number 192, the following<br />

special rules apply when you IPL CMS:<br />

v If 192 is unformatted, CMS formats it <strong>and</strong> accesses it as file mode D.<br />

v If 192 is <strong>CP</strong>-formatted, CMS reformats it for CMS use <strong>and</strong> accesses it as file<br />

mode D.<br />

v If 192 is CMS-formatted <strong>and</strong> accessed as a file mode other than D, CMS<br />

reaccesses it as file mode D.<br />

When CMS accesses a 192 minidisk as file mode D, any minidisk or SFS<br />

directory already accessed as D is released.<br />

5. For more information, see “Usage Notes” on page 113.<br />

►◄

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

Saved successfully!

Ooh no, something went wrong!