Red Hat Enterprise Linux 6 Essentials eBook now available in PDF and ePub formats for only $9.99RHEL 6 Essentials contains 40 chapters and over 250 pages.

25.2. Adding FCP-Attached Logical Units (LUNs)

The following is an example of how to add an FCP LUN.

Note

If running under z/VM, make sure the FCP adapter is attached to the z/VM guest virtual machine. For multipathing in production environments there would be at least two FCP devices on two different physical adapters (CHPIDs). For example:

CP ATTACH FC00 TO *CP ATTACH FCD0 TO *

25.2.1. Dynamically activating an FCP LUN

Follow these steps to activate a LUN:

Use the cio_ignore command to remove the FCP adapter from the list of ignored devices and make it visible to Linux:

# cio_ignore -r device_number

Replace device_number with the device number of the FCP adapter. For example:

To bring the FCP adapter device online, use the following command:

# chccwdev -e fc00

Verify that the required WWPN was found by the automatic port scanning of the zfcp device driver: