Setting up the Linux system to use the Fibre Channel Protocol device on zSeries hosts

This section provides instructions for setting up the Linux system to use the Fibre Channel Protocol (FCP) device on zSeries hosts.

You must collect the following software configuration information to prepare a Linux system to access the storage unit through a fibre channel:
  • Host name of the server hosting the Linux system
  • Device address (and CHPID) of the FCP port that is attached to the Linux machine
  • Worldwide port name (WWPN) of the FCP port on the zSeries®
  • Fibre-channel port on the storage unit
  • WWPN of the fibre-channel port on the storage unit

You can obtain that information from the hardware management console (HMC), the IBM® System Storage™ DS Storage Manager, and the SAN switch. Figure 1 shows examples of the prerequisite information that you must obtain to run FCP Linux on the zSeries.

Figure 1. Example of prerequisite information for FCP Linux on zSeries
Linux hostname linuxa
CHPID of the FCP port on the z800 15
WWPN of the FCP port on the z800 50:05:07:64:01:40:01:7d
FC port on the storage unit Enclosure 3 Slot 1
WWPN of the FC port on the storage unit 50:05:07:63:00:c8:95:89
You must have installed at least the following modules to use the FCP device with the storage unit:
  • qdio — The same module is used for other qdio devices
  • scsi_mod — SCSI core
  • zfcp — FCP support for zSeries Linux
  • sd_mod — SCSI disk support
  1. Load the modules in the following order. You can load all modules with the modprobe command. You can load all modules, except zfcp, without parameters. The zfcp module requires parameters to map the FCP devices on the storage unit. Each device requires the following parameters:
    1. The device number of the device that is defined in the IOCP for the FCP channel on the zSeries
    2. The SCSI ID starting at 1
    3. The WWPN of the storage unit fibre-channel port
    4. The SCSI LUN within Linux starting at 0
    5. The FCP LUN of the target volume on the storage unit
  2. Use the following format to supply the mapping parameters to the module:
    map="devno SCSI_ID:WWPN SCSI_LUN:FCP_LUN"
    map="0x0600 1:0x5005076300c89589 0:0x5301000000000000"
Library | Support | Terms of use | Feedback
© Copyright IBM Corporation 2004, 2007. All Rights Reserved.