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.

4.7.2 Logging and customizing the new user ID<br />

Now you should be able to logon to the new user ID and <strong>for</strong>mat its two minidisks.<br />

► Logoff of MAINT and logon to LNXMAINT.<br />

LOGON LNXMAINT<br />

z/<strong>VM</strong> Version 6 Release 1.0, Service Level 0901 (64-bit),<br />

built on <strong>IBM</strong> <strong>Virtualization</strong> Technology<br />

<strong>The</strong>re is no logmsg data<br />

FILES: NO RDR, NO PRT, NO PUN<br />

LOGON AT 13:14:38 EST FRIDAY 11/20/09<br />

z/<strong>VM</strong> V6.1.0 2009-11-19 13:47<br />

DMSACP112S A(191) device error<br />

You should see an error message ending in “device error”. When CMS is started, it tries<br />

to access the user’s 191 minidisk as file mode A. <strong>The</strong> 191 minidisk has been defined to this<br />

user ID, however, it has never been <strong>for</strong>matted as a CMS file system.<br />

► To <strong>for</strong>mat this disk <strong>for</strong> CMS use the FORMAT command. It requires a parameter specifying<br />

the file mode to access the disk as, mode A in the following example:<br />

==> <strong>for</strong>mat 191 a<br />

DMSFOR603R FORMAT will erase all files on disk A(191). Do you wish to continue?<br />

Enter 1 (YES) or 0 (NO).<br />

1<br />

DMSFOR605R Enter disk label:<br />

lxm191<br />

DMSFOR733I Formatting disk A<br />

DMSFOR732I 20 cylinders <strong>for</strong>matted on A(191)<br />

► Format the larger 192 disk as the D minidisk which should take a minute or two:<br />

==> <strong>for</strong>mat 192 d<br />

DMSFOR603R FORMAT will erase all files on disk D(192). Do you wish to continue?<br />

Enter 1 (YES) or 0 (NO).<br />

1<br />

DMSFOR605R Enter disk label:<br />

lxm192<br />

DMSFOR733I Formatting disk D<br />

DMSFOR732I 300 cylinders <strong>for</strong>matted on D(192)<br />

► You have now <strong>for</strong>matted the two minidisks and accessed them as file modes A and D. You<br />

can confirm this using the QUERY DISK command:<br />

==> q disk<br />

LABEL VDEV M STAT CYL TYPE BLKSZ FILES BLKS USED-(%) BLKS LEFT BLK TOTAL<br />

LNX191 191 A R/W 20 3390 4096 0 7-00 3593 3600<br />

LXM192 192 D R/W 300 3390 4096 0 11-00 53989 54000<br />

MNT190 190 S R/O <strong>10</strong>0 3390 4096 694 15028-83 2972 18000<br />

MNT19E 19E Y/S R/O 250 3390 4096 <strong>10</strong>21 28254-63 16746 45000<br />

4.7.3 Copying a PROFILE XEDIT<br />

Copy the PROFILE XEDIT from the MAINT 191 disk so XEDIT sessions will have a common<br />

interface among user IDs. Per<strong>for</strong>m the following steps:<br />

► Use the <strong>VM</strong>LINK command to both link to the disk read-only and to access it as the highest<br />

available file mode. <strong>The</strong> default read password is read:<br />

==> vmlink maint 191<br />

ENTER READ PASSWORD:<br />

==> read<br />

58 <strong>The</strong> <strong>Virtualization</strong> <strong>Cookbook</strong> <strong>for</strong> RHEL 6

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

Saved successfully!

Ooh no, something went wrong!