56 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.0
4.6.4 Testing the changes
It is recommended that you again shut down and perform an IPL to test the changes. Before
you shut down, note that you have only one page volume (UV6282 in this example) using the
QUERY ALLOC PAGE command. Your output should look similar to the following:
==> q alloc page
EXTENT EXTENT TOTAL PAGES HIGH %
VOLID RDEV START END PAGES IN USE PAGE USED
------ ---- ---------- ---------- ------ ------ ------ ----
UV6282 6282 1 3338 600840 1 4 1%
------ ------ ----
SUMMARY 600840 1 1%
USABLE 600840 1 1%
Now shut the system down again with the command SHUTDOWN REIPL IPLPARMS
CONS=SYSC. This is analogous to the Linux reboot command in that the system attempts to
come back up after it shuts down. If you are connected using a 3270 emulator, you will lose
your session, but if all goes well, your system will be available again in a couple of minutes.
==> shutdown reipl iplparms cons=sysc
After the system comes back, log on as MAINT and look at the page space again. You should
now see that you have six paging volumes:
==> q alloc page
EXTENT EXTENT TOTAL PAGES HIGH %
VOLID RDEV START END PAGES IN USE PAGE USED
------ ---- ---------- ---------- ------ ------ ------ ----
UV6282 6282 1 3338 600840 1 5 1%
UP6285 6285 0 3338 601020 0 0 0%
UP6286 6286 0 3338 601020 0 0 0%
UP6287 6287 0 3338 601020 0 0 0%
------ ------ ----
SUMMARY 2348K 1 1%
USABLE 2348K 1 1%
The output shows that there are four paging volumes constituting 2348 K pages, or about
9 GB of page space (a page is 4 KB).
4.7 Creating a user ID for common files
Now it is time to define your first z/VM user ID, LNXMAINT. It will be used to store files that will
be shared by Linux user IDs. Before starting, make a copy of the original USER DIRECT file:
==> copy user direct c = direorig = (oldd
4.7.1 Defining the user in the USER DIRECT file
A small 20-cylinder minidisk is allocated at virtual address 191 and a larger 300-cylinder
minidisk (approximately 225 MB), to be shared by many guests, is defined at virtual address
192. Use the next free DASD designated as PERM space on your worksheet (2.7.2, “z/VM
DASD worksheet” on page 17). Cylinder 0 should always be reserved for the label. Therefore,
you should start minidisks at cylinder 1.
Commenti su questo manuale