From: James Smart <James.Smart@Emulex.Com>
To: device-mapper development <dm-devel@redhat.com>
Subject: Re: Problems with multipathing
Date: Tue, 18 Apr 2006 15:38:44 -0400 [thread overview]
Message-ID: <44454044.7010902@emulex.com> (raw)
In-Reply-To: <44446F7E.2060502@free.fr>
> Roger Håkansson a écrit :
>> Also, I've noticed that it's not only when a controller fails that this
>> happens, when a failed controller is "revived" the same thing might
>> happen.
>>
>> As far as I've been able to tell, the more I/O-transactions at the time
>> of the failure, the more likely that the (SCSI) device will be marked as
>> "dead".
Hmmm.. I'm wondering if he's hitting the scenario in which the midlayer
marks the sdev in an offline state - which could be the "dead" state.
This occurs if an i/o hits the LLDD when the device is disconnected, and
error recovery fails. If so, at a later time when the LLDD has connectivity
and can access the device, the scsi layer would still likely bounce i/o.
It requires a manual interaction to change it back to a running state,
any i/o requests by dm would be failed back by the midlayer.
What doesn't jive is the rescan re-enabling the device. As I stated, this
is usually a manual action to restore things. If the rescans are just
prior to the transition to the offline state, they may be making dm change
it's path mappings to avoid i/o to the failed path, thus deflecting the
sdev transition. Can you report the contents of
/sys/class/scsi_device/1:0:*/device/state at the following states in both
the works and does not work cases :
working, right after failover but before dm fails it; after failure/success
-- james
next prev parent reply other threads:[~2006-04-18 19:38 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-11 18:10 Problems with multipathing Roger Håkansson
2006-04-11 18:42 ` Christophe Varoqui
2006-04-11 21:04 ` Roger Håkansson
2006-04-13 17:14 ` Roger Håkansson
2006-04-13 20:48 ` Christophe Varoqui
2006-04-16 22:44 ` Roger Håkansson
2006-04-17 0:35 ` Roger Håkansson
2006-04-17 9:43 ` Christophe Varoqui
2006-04-17 14:17 ` Roger Håkansson
2006-04-18 4:47 ` Christophe Varoqui
2006-04-18 5:04 ` Roger Håkansson
2006-04-18 19:38 ` James Smart [this message]
2006-04-18 19:24 ` James Smart
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=44454044.7010902@emulex.com \
--to=james.smart@emulex.com \
--cc=dm-devel@redhat.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.