mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Re[4]: Fwd: Re: problems with scsi_transport_fc and qla2xxx
       [not found]       ` <20060301192008.GF4321@spe2>
@ 2006-03-01 20:16         ` Maxim Kozover
  0 siblings, 0 replies; only message in thread
From: Maxim Kozover @ 2006-03-01 20:16 UTC (permalink / raw)
  To: Andrew Vasquez; +Cc: linux-scsi, linux-kernel

Hi Andrew!
You're right. I didn't look at roles in Emulex case.
When using Emulex everything is OK.
Tomorrow I'll connect QLogic again to continue problem investigation.
Thanks much for quick and professional replies.

I'll just describe Emulex situation to confirm.
Let's connect only 1 Emulex port (adapter 7) to a switch and leave
adapter 6 not connected. Then we have
# ls /sys/class/fc_remote_ports/
rport-7:0-0  rport-7:0-1  rport-7:0-2
# cat /sys/class/fc_remote_ports/*/roles
Fabric Port
Directory Server
FCP Target, FCP Initiator

When the cable is disconnected from adapter 7, immediately with
LinkDown event, the rport with the role of Directory server disappears
and only 2 are left:
# ls /sys/class/fc_remote_ports/
rport-7:0-0  rport-7:0-2
# cat /sys/class/fc_remote_ports/*/roles
Fabric Port
FCP Target, FCP Initiator

Then after a timeout, the role of rport-7:0-2 is changed to unknown
and relevant entries are removed from /proc/scsi/scsi. rport-7:0-0 is
still here.

rport-7:0-2: blocked FC remote port time out: removing target and saving binding
# ls /sys/class/fc_remote_ports/
rport-7:0-0  rport-7:0-2
# cat /sys/class/fc_remote_ports/*/roles
Fabric Port
unknown

After reconnecting the cable, rport-7:0:0 disappears and rport-7:0:4
and rport-7:0-5 appear along with newly recognized LUNs in /proc/scsi/scsi.
# ls /sys/class/fc_remote_ports/
rport-7:0-2  rport-7:0-4  rport-7:0-5
# cat /sys/class/fc_remote_ports/*/roles
FCP Target, FCP Initiator
Fabric Port
Directory Server

If I'm not mistaken, in QLogic case only 1 rport per adapter appeared
instead of 3. Tomorrow I'll connect QLogic and report again.

Thanks,

Maxim.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-03-01 21:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <735056370.20060228195436@netvision.net.il>
     [not found] ` <1984428707.20060228200029@netvision.net.il>
     [not found]   ` <20060228181900.GC4541@andrew-vasquezs-powerbook-g4-15.local>
     [not found]     ` <1261469398.20060301130903@netvision.net.il>
     [not found]       ` <20060301192008.GF4321@spe2>
2006-03-01 20:16         ` Re[4]: Fwd: Re: problems with scsi_transport_fc and qla2xxx Maxim Kozover

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®