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.

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

ATTACH<br />

Usage Notes<br />

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

NOQIOAssist<br />

indicates that the devices are not eligible for Queued-I/O assist.<br />

USERACCessid userid<br />

to allow a user (guest) the ability to give F<strong>CP</strong> LUN access to the specified<br />

userid. This is a shortcut to redefining entries in the Access Control Table<br />

(ACT), <strong>and</strong> assumes the user has authority to the LUN as defined in the ACT.<br />

Please refer to Linux documentation for details on creating <strong>and</strong> maintaining the<br />

ACT for F<strong>CP</strong> configuration.<br />

1. If you are attaching a DASD with logical addresses, the real device number<br />

you specify must be the base address for the device, <strong>and</strong> the virtual device<br />

number you specify must follow the addressing rules for base addresses.<br />

2. If you mount <strong>and</strong> ready a device that contains virtual minidisks after you have<br />

loaded <strong>VM</strong> onto the system, you must attach that device to the system if you<br />

want to use it. If you log on after the device has been attached, you gain<br />

access to the disk as provided by your entry in the system directory. If you<br />

were logged on before the volume was attached to the system, you must use<br />

the <strong>CP</strong> LINK comm<strong>and</strong> to gain access to the virtual disks.<br />

3. <strong>CP</strong> processes all the device numbers you specify, even if it encounters errors<br />

when attempting to attach the devices. So, if you enter: attach 108-10f user1<br />

r <strong>and</strong> real devices 10A <strong>and</strong> 10D were not ready <strong>and</strong> online, the following<br />

devices would be successfully attached: 108, 109, 10B, 10C, 10E, 10F.<br />

Messages tell you whether devices are successfully attached.<br />

4. You can use the system directory DEDICATE statement to attach real devices<br />

to each virtual machine. Then, when users successfully log on, the devices (if<br />

online <strong>and</strong> available) are automatically attached to their virtual machine. This<br />

function saves Class B users the trouble of issuing multiple ATTACH<br />

comm<strong>and</strong>s for the devices.<br />

5. The ATTACH XSTORE comm<strong>and</strong> allows a Class B operator to assign<br />

Exp<strong>and</strong>ed Storage to a guest virtual machine without authorization in the user<br />

directory. The size oper<strong>and</strong> in this comm<strong>and</strong> allows the operator to attach any<br />

size up to the maximum Exp<strong>and</strong>ed Storage allowed for guest use on the<br />

system, regardless of the user directory limit. The maximum allowed for a<br />

guest virtual machine is the total of Exp<strong>and</strong>ed Storage, less what is retained<br />

by the system. For more information, see the RETAIN XSTORE comm<strong>and</strong>.<br />

The size parameter must be in units of 1 MB. The size of the Exp<strong>and</strong>ed<br />

Storage feature dedicated to the guest is displayed on the response to the<br />

originator of the comm<strong>and</strong>, as well as to the owner of the Exp<strong>and</strong>ed Storage.<br />

When the user issues QUERY XSTORE, the dedicated Exp<strong>and</strong>ed Storage for<br />

a user appears as an Exp<strong>and</strong>ed Storage feature equal to the size provided in<br />

the ATTACH XSTORE comm<strong>and</strong>. The actual size of Exp<strong>and</strong>ed Storage<br />

depends on whether any nonconfigured Exp<strong>and</strong>ed Storage exists within the<br />

user’s partition.<br />

6. The system directory XSTORE statement directs <strong>CP</strong> to attach Exp<strong>and</strong>ed<br />

Storage to a virtual machine during logon. When logon is complete, Exp<strong>and</strong>ed<br />

Storage (if available) is automatically attached to the user’s virtual machine.<br />

7. When running on a partitioned processor, the amount of Exp<strong>and</strong>ed Storage<br />

attached to a user may appear larger than the amount requested. For<br />

example, a processor with 128 MB of Exp<strong>and</strong>ed Storage may be partitioned<br />

with 64 MB of XSTORE on each side. In this example, the lower block<br />

addresses are on one side, the “A” side, <strong>and</strong> the higher block addresses are<br />

on the other side, the “B” side. With <strong>CP</strong> running on the “B” side, attaching 4

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

Saved successfully!

Ooh no, something went wrong!