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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

old desc_blocks = 1, new_desc_blocks = 1<br />

Per<strong>for</strong>ming an on-line resize of /dev/homevg/homelv to 1200128 (4k) blocks.<br />

<strong>The</strong> filesystem on /dev/homevg/homelv is now 1200128 blocks long.<br />

Use the df -h command to show that the file system is now 2.3 GB larger:<br />

# df -h /home<br />

Filesystem Size Used Avail Use% Mounted on<br />

/dev/mapper/homevg-homelv<br />

4.6G 69M 4.3G 2% /home<br />

13.4 Adding SCSI/FCP disks<br />

This book has only described ECKD disks, also known as DASD. In addition, z/<strong>VM</strong> and Linux<br />

support SCSI/FCP disks.<br />

<strong>The</strong> Fibre Channel (FC) standard was developed by the National Committee of In<strong>for</strong>mation<br />

Technology Standards (NCITS). <strong>The</strong> System z FCP I/O architecture con<strong>for</strong>ms to these<br />

standards. System z FCP support enables z/<strong>VM</strong> and Linux running on System z to access<br />

industry-standard SCSI devices. For disk applications, these FCP storage devices utilize<br />

Fixed Block (512-byte) sectors rather than Extended Count Key Data (ECKD) <strong>for</strong>mat. A<br />

new channel-path identifier (CHPID) type has been defined called FCP. <strong>The</strong> FCP CHPID type is<br />

supported on the FICON and FICON Express features of all System z processors.<br />

This is only a brief introduction to SCSI/FCP disks and multipathing. For more complete<br />

documentation, see the Redbook Fibre Channel Protocol <strong>for</strong> Linux and z/<strong>VM</strong> on <strong>IBM</strong> System<br />

z on the Web at:<br />

http://www.redbooks.ibm.com/abstracts/sg247266.html?Open<br />

In addition, see the Redbook Introducing N_Port Identifier <strong>Virtualization</strong> <strong>for</strong> <strong>IBM</strong> System z9,<br />

on the Web at:<br />

13.4.1 Adding a single LUN<br />

http://www.redbooks.ibm.com/abstracts/redp4125.html?Open<br />

You can determine if your LPAR has these types of disks defined with the z/<strong>VM</strong> QUERY FCP<br />

and QUERY FCP FREE commands. Following is an example from a MAINT 3270 session:<br />

==> q fcp<br />

An active FCP was not found.<br />

==> q fcp free<br />

FCP 1F20 FREE , FCP 1F21 FREE , FCP 1F50 FREE , FCP 1F51 FREE<br />

FCP 3B00 FREE , FCP 3B01 FREE , FCP 3B02 FREE , FCP 3B03 FREE<br />

FCP 3B04 FREE , FCP 3B05 FREE , FCP 3B06 FREE , FCP 3B07 FREE<br />

FCP 3B08 FREE , FCP 3B09 FREE , FCP 3B0A FREE , FCP 3B0B FREE<br />

FCP 3B0C FREE , FCP 3B0D FREE , FCP 3B0E FREE , FCP 3B0F FREE<br />

FCP 3B<strong>10</strong> FREE , FCP 3B11 FREE , FCP 3B12 FREE , FCP 3B13 FREE<br />

FCP 3B14 FREE , FCP 3B15 FREE , FCP 3B16 FREE , FCP 3B17 FREE<br />

...<br />

<strong>The</strong> output shows that LPAR has many FCP devices free, but none of them are in use.<br />

Associated with FCP devices are World Wide Port Numbers (WWPNs) and Logical Unit<br />

Numbers (LUNs). Often, this in<strong>for</strong>mation may be available as part of the LPAR definition.<br />

However, you may not have this in<strong>for</strong>mation handy. If you do not have this in<strong>for</strong>mation, it can<br />

be queried on RHEL 6. In the following section an FCP/SCSI disk is attached to LINUX02.<br />

200 <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!