27.12.2012 Views

The Virtualization Cookbook for SLES 10 SP2 - z/VM - IBM

The Virtualization Cookbook for SLES 10 SP2 - z/VM - IBM

The Virtualization Cookbook for SLES 10 SP2 - 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.

-------------------- 216 line(s) not displayed --------------------<br />

0 0 1 GAP<br />

-------------------- 86 line(s) not displayed --------------------<br />

Type ALL with no argument again to get out of this mode<br />

====> all<br />

Three GAPs should be listed on the right side:<br />

• 501 cylinders on the $$$$$$ volume<br />

• 1 cylinder on the $$$LNX volume<br />

• 1 cylinder on volume used <strong>for</strong> LNXMAINT 191 and 192 disks (UM6289 in this example)<br />

You don’t have to worry about the first two gaps as they are expected given the layout of<br />

the default USER DIRECT file. To avoid a 1 cylinder gap being reported on each user<br />

volume, it is recommended to use the user ID $ALLOC$. This user is set to NOLOG which<br />

means it can never be logged onto. Thus it is not a conventional user ID, rather, it is a<br />

convenient place to put dummy minidisk definitions <strong>for</strong> cylinder 0 of all PERM volumes.<br />

► Get out of the file USER DISKMAP with the QUIT command or by pressing F3.<br />

► Edit the USER DIRECT file again and add a new minidisk definition at virtual address A04 <strong>for</strong><br />

the first cylinder of the DASD you added (the label is UM6289 in this example):<br />

==> x user direct<br />

====> /user $alloc<br />

USER $ALLOC$ NOLOG<br />

MDISK A01 3390 000 001 6<strong>10</strong>RES R<br />

MDISK A02 3390 000 001 UV6283 R<br />

MDISK A03 3390 000 001 UV6284 R<br />

MDISK A04 3390 000 001 UM6289 R<br />

► Save your changes with the FILE subcommand and run DISKMAP again. Edit the USER<br />

DISKMAP file. This time you should see just two gaps <strong>for</strong> volumes with labels $$$$$$ and<br />

$$$LNX. If you search <strong>for</strong> $ALLOC$ user ID, you should see the disk map of the volume you<br />

added <strong>for</strong> LNXMAINT:<br />

==> diskmap user<br />

<strong>The</strong> minidisks with the END option specified in this directory will not be includ<br />

ed in the following DISKMAP file.<br />

File USER DISKMAP A has been created.<br />

==> x user diskmap<br />

====> prefix off<br />

====> all /gap<br />

0 500 501 GAP<br />

-------------------- 6 line(s) not displayed --------------------<br />

0 0 1 GAP<br />

-------------------- 303 line(s) not displayed --------------------<br />

► When you are done you can quit by pressing F3.<br />

====> F3<br />

► Now that you are sure the minidisk layout is correct, the changes to the USER DIRECT file<br />

can be brought online using the DIRECTXA command:<br />

==> directxa user<br />

z/<strong>VM</strong> USER DIRECTORY CREATION PROGRAM - VERSION 6 RELEASE 1.0<br />

EOJ DIRECTORY UPDATED AND ON LINE<br />

HCPDIR494I User directory occupies 43 disk pages<br />

If the DIRECTXA command fails, correct the problem be<strong>for</strong>e proceeding.<br />

You have now defined your first z/<strong>VM</strong> user ID named LNXMAINT.<br />

Chapter 4. Installing and configuring z/<strong>VM</strong> 57

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

Saved successfully!

Ooh no, something went wrong!