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
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
► Add minidisk statements to define minidisks. In this example two minidisks at virtual<br />
addresses <strong>10</strong>2 and <strong>10</strong>3 are defined of size 1669 cylinders to the LINUX02 user ID.<br />
► Create the USER DISKMAP file to verify the disk layout<br />
► Bring the changes online with the DIRECTXA command<br />
► Shutdown the Linux system<br />
► Logoff the user ID<br />
► Log back on to it and IPL Linux.<br />
Following is the updated directory entry:<br />
USER LINUX02 LNX4<strong>VM</strong> 256M 1G G<br />
INCLUDE LNXDFLT<br />
OPTION APPLMON<br />
MDISK <strong>10</strong>0 3390 0001 3338 UM63AA MR LNX4<strong>VM</strong> LNX4<strong>VM</strong> LNX4<strong>VM</strong><br />
MDISK <strong>10</strong>1 3390 3339 3338 UM63AA MR LNX4<strong>VM</strong> LNX4<strong>VM</strong> LNX4<strong>VM</strong><br />
MDISK <strong>10</strong>2 3390 0001 1669 UM6339 MR LNX4<strong>VM</strong> LNX4<strong>VM</strong> LNX4<strong>VM</strong><br />
MDISK <strong>10</strong>3 3390 1670 1669 UM6339 MR LNX4<strong>VM</strong> LNX4<strong>VM</strong> LNX4<strong>VM</strong><br />
13.1.2 Making new minidisks available to RHEL 6<br />
To make the new minidisks available, per<strong>for</strong>m the following steps:<br />
► When your system comes back up, start an SSH session to it. Use the lsdasd command<br />
to verify that the new minidisks are not seen yet:<br />
# lsdasd<br />
Bus-ID Status Name Device Type BlkSz Size Blocks<br />
==============================================================================<br />
0.0.0<strong>10</strong>0 active dasda 94:0 ECKD 4096 2347MB 600840<br />
0.0.0<strong>10</strong>1 active dasdb 94:4 ECKD 4096 2347MB 600840<br />
0.0.0300 active dasdc 94:8 FBA 512 256MB 524288<br />
0.0.0301 active dasdd 94:12 FBA 512 512MB <strong>10</strong>48576<br />
► Enable the disks with the chccwdev -e command:<br />
# chccwdev -e <strong>10</strong>2 <strong>10</strong>3<br />
Setting device 0.0.0<strong>10</strong>2 online<br />
Done<br />
Setting device 0.0.0<strong>10</strong>3 online<br />
Done<br />
► View the available disks again with the lsdasd command:<br />
# lsdasd<br />
Bus-ID Status Name Device Type BlkSz Size Blocks<br />
==============================================================================<br />
0.0.0<strong>10</strong>0 active dasda 94:0 ECKD 4096 2347MB 600840<br />
0.0.0<strong>10</strong>1 active dasdb 94:4 ECKD 4096 2347MB 600840<br />
0.0.0300 active dasdc 94:8 FBA 512 256MB 524288<br />
0.0.0301 active dasdd 94:12 FBA 512 512MB <strong>10</strong>48576<br />
0.0.0<strong>10</strong>2 active dasde 94:16 ECKD 4096 1173MB 300420<br />
0.0.0<strong>10</strong>3 active dasdf 94:20 ECKD 4096 1173MB 300420<br />
► Format the disks with the dasdfmt command and create one partition on each with the<br />
fdasd -a command. <strong>The</strong> disks can be <strong>for</strong>matted in parallel by using a <strong>for</strong> loop and putting<br />
them in the background. However, be<strong>for</strong>e running fdasd, you have to wait until they are<br />
done <strong>for</strong>mattting:<br />
192 <strong>The</strong> <strong>Virtualization</strong> <strong>Cookbook</strong> <strong>for</strong> RHEL 6