[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: Wheezy FCP problem



Hello,

I have already made a port rescan, but the result is the same (no more <wwpn> subdirectory and nothing in the log).

Here are some results of few command :

lsscsi -H -v
[0]    zfcp
  dir: /sys/class/scsi_host//host0
  device dir: /sys/devices/css0/0.0.0003/0.0.4400/host0
[1]    zfcp
  dir: /sys/class/scsi_host//host1
  device dir: /sys/devices/css0/0.0.0002/0.0.3400/host1

The result in dmesg when I chccwdev -e 3400
[  315.807811] qdio: 0.0.3400 ZFCP on SC 2 using AI:1 QEBSM:1 PCI:1 TDD:1 SIGA: W A

lszfcp -b 0.0.3400 -a
0.0.3400 host1
Bus = "ccw"
    availability        = "good"
    card_version        = "0x0006"
    cmb_enable          = "0"
    cutype              = "1731/03"
    devtype             = "1732/03"
    failed              = "0"
    hardware_version    = "0x00000000"
    in_recovery         = "0"
    lic_version         = "0x0000040f"
    modalias            = "ccw:t1731m03dt1732dm03"
    online              = "1"
    peer_d_id           = "0x000000"
    peer_wwnn           = "0x0000000000000000"
    peer_wwpn           = "0x0000000000000000"
    status              = "0x5400040a"
    uevent              = "DRIVER=zfcp"
Class = "fc_host"
    active_fc4s         = "0x00 0x00 0x01 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00"
    dev_loss_tmo        = "60"
    maxframe_size       = "2112 bytes"
    node_name           = "0x5005076400cdc8a6"
    permanent_port_name = "0xc05076e7e3801101"
    port_id             = "0x20ba41"
    port_name           = "0xc05076e7e3800000"
    port_state          = "Online"
    port_type           = "NPIV VPORT"
    serial_number       = "IBM840000000DC8A6"
    speed               = "8 Gbit"
    supported_classes   = "Class 2, Class 3"
    supported_fc4s      = "0x00 0x00 0x01 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00"
    supported_speeds    = "2 Gbit, 4 Gbit"
    symbolic_name       = "IBM     2818            840000000DC8A6  PCHID: 0110 NPIV UlpId: 00300D00   DEVNO: 0.0.3400 NAME: debian3"
    tgtid_bind_type     = "wwpn (World Wide Port Name)"
Class = "scsi_host"
    active_mode         = "Initiator"
    can_queue           = "4096"
    cmd_per_lun         = "1"
    host_busy           = "0"
    megabytes           = "0 0"
    proc_name           = "zfcp"
    prot_capabilities   = "0"
    prot_guard_type     = "0"
    queue_full          = "0 156597"
    requests            = "0 0 0"
    seconds_active      = "439"
    sg_prot_tablesize   = "0"
    sg_tablesize        = "538"
    state               = "running"
    supported_mode      = "Initiator"
    unchecked_isa_dma   = "0"
    unique_id           = "13312"
    utilization         = "0 0 0"


The strange thing is that on the Storage, my host is well seen (symbolic name for example), but I my host the device is not seen.

Should I create an udev rule or something like that ? Did I missed some parameters when loading the zfcp driver ?


-----Message d'origine-----
De : Philipp Kern [mailto:pkern@debian.org] 
Envoyé : lundi 18 mars 2013 21:44
À : PROT Pierre-François
Cc : debian-s390@lists.debian.org
Objet : Re: Wheezy FCP problem

Hi,

On Mon, Mar 18, 2013 at 02:39:09PM +0000, PROT Pierre-François wrote:
> But a chccwdev -e 3400 or chccwdev -e 4400 does nothing.
> I have the  /sys/bus/ccw/drivers/zfcp/0.0.3400 directory, but not the 
> <wwpn> subdirectory.

please try to write 1 into /sys/bus/ccw/drivers/zfcp/0.0.3400/port_rescan.
Apart from that the output of dmesg would be helpful to see why no port has been detected.

Kind regards
Philipp Kern

Reply to: