Installation guide

This directory contains directories for each of the block devices on the system. These are
mostly disk type devices such as real DASD, loopback devices, and software raid block
devices. The noticeable difference between older Linux systems and ones that use sysfs is
the need to refer to devices by their sysfs name. On a 2.4 kernel image, the zFCP driver was
passed as its device addresses. On the 2.6 Kernel image system the driver is passed as
0.0.1600.
2. Using the zFCP Driver
During the initial installation, you are prompted to enter SCSI/FCP information. If this information
is entered, it creates the /etc/zfcp.conf file which contains your SCSI configuration. It also
adds the line alias scsi_hostadapter zFCP to /etc/modprobe.conf. This loads the required zFCP
modules.
# cat /etc/zfcp.conf
0.0.010a 0x01 0x5005076300c18154 0x00 0x5719000000000000
# cat /etc/modprobe.conf
alias eth0 qeth
options dasd_mod dasd=201,4b2e
alias scsi_hostadapter zfcp
If no SCSI devices were defined during the initial installation, the following example demon-
strates how to add one manually:
# cd /lib/modules/2.6.7-1.451.2.3/kernel/drivers/s390/scsi
# modprobe zfcp
# lsmod
Module Size Used by
zfcp 221460 0 [permanent]
autofs4 39944 0
qeth 166288 0
qdio 60240 3 zfcp,qeth
ccwgroup 25344 1 qeth
ipt_REJECT 23552 1
ipt_state 18944 5
ip_conntrack 57904 1 ipt_state
iptable_filter 19712 1
ip_tables 37888 3 ipt_REJECT,ipt_state,iptable_filter
sd_mod 39688 0
scsi_mod 182904 2 zfcp,sd_mod
dm_mod 86408 0
ext3 179056 2
jbd 92720 1 ext3
dasd_fba_mod 25344 0
dasd_eckd_mod 77056 4
dasd_mod 85328 6 dasd_fba_mod,dasd_eckd_mod
# cd /sys/bus/ccw/drivers/zfcp/0.0.010a
# echo 1 > online
# cat online
1
# echo 0x5005076300c18154 > /sys/bus/ccw/drivers/zfcp/0.0.010a/port_add
# ls
0x5005076300c18154 failed lic_version s_id
availability fc_link_speed nameserver status
card_version fc_service_class online wwnn
2. Using the zFCP Driver
196