All of lore.kernel.org
 help / color / mirror / Atom feed
From: James Smart <James.Smart@Emulex.Com>
To: Michael Reed <mdr@sgi.com>
Cc: Jeremy Higdon <jeremy@sgi.com>, Gary Hagensen <gwh@sgi.com>,
	linux-scsi <linux-scsi@vger.kernel.org>
Subject: Re: fc transport creates second set of targets for devices in an "md"
Date: Thu, 08 Jun 2006 15:57:40 -0400	[thread overview]
Message-ID: <44888134.70805@emulex.com> (raw)
In-Reply-To: <448876C8.3090303@sgi.com>

The data that would be most interesting is a recursive listing of the
device via the /sys/devices tree.  This would show the host, rports,
targets, and sdevs.  Getting a copy of this both before, when missing,
and after they are reconnected. The additional contents to look at
is : contents of /sys/class/fc_remote_ports.

Also - it's unlikely that FC is to blame here. The above data would
show whether we had the same WWN's, reused target id's or not, and
what the midlayer reassigned to h/c/t/l's. It would show if the FC
transport is in error or not.

Relative to volume managers - yes, they have some difficulty. However,
the tact they plan on taking is to bind the device based on the udev
name that get built on it. Which means - md would have issues, but DM
is planning for it.

I do have a request to make an option for the transport to not remove
the devices upon disconnect.

-- james

Michael Reed wrote:
> I created an md device on two fibre channel disks, sde and sdf.
> I then disabled the switch port to which the hba is connected.
> After the remote port time out messages, I re-enabled the switch
> port.  Three things happen that are weird.  First, two unexpected
> responses while scanning.  Second, the creation of sdm and
> sdn.  Third, the md device remains inaccessible.
> 
> I don't think this is working the way it's intended to.  I
> suspect it will cause big problems for multi-path volume managers
> in a fail back situation.
> 
> Mike
> 

  reply	other threads:[~2006-06-08 19:57 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-08 19:13 fc transport creates second set of targets for devices in an "md" Michael Reed
2006-06-08 19:57 ` James Smart [this message]
2006-06-09 16:26   ` Michael Reed
2006-06-09 18:10     ` Michael Reed
2006-06-09 18:22       ` Michael Reed
2006-06-08 20:19 ` Mike Christie
2006-06-09 16:35   ` Michael Reed
2006-06-09 19:34     ` Mike Christie
2006-06-09 19:52     ` James Smart
2006-06-09  0:43 ` James Bottomley
2006-06-09 16:35   ` Michael Reed
2006-06-09 19:23     ` James Bottomley

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=44888134.70805@emulex.com \
    --to=james.smart@emulex.com \
    --cc=gwh@sgi.com \
    --cc=jeremy@sgi.com \
    --cc=linux-scsi@vger.kernel.org \
    --cc=mdr@sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.