From: "Roger Håkansson" <hson@ludd.luth.se>
To: linux-scsi@vger.kernel.org
Subject: Re: lpfc target renumbering problem
Date: Sun, 16 Apr 2006 23:35:53 +0200 [thread overview]
Message-ID: <4442B8B9.3040103@ludd.luth.se> (raw)
In-Reply-To: <4441A693.7060004@ludd.luth.se>
Roger Håkansson wrote:
>
> Now my question:
> Is there anything I can do to "fix" this, or do I have to "accept" that
> this hardware/software-combination can't do what I want?
>
I've found a "solution" which seems to work, but I'm not sure how to
implement it.
If I, before device-mapper-multipath determines the devices to be
"dead", do "echo 1 > /sys/class/scsi_device/1:0:0:0/device/rescan", both
sdb (which 1:0:0:0 was mapped to at the time of my test) and(!, even
though its on another HBA) sdc (2:0:0:0) doesn't get marked as dead.
But how do this in a more automatic fashion?
I could set up a script which polls /var/log/messages, or write a
program which opens a pipe and let syslogd write to that pipe, and parse
the log in order to watch for SCSI-errors, but none of this seems like
the right way to do it.
Anyone got a better solution?
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2006-04-16 21:36 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-16 2:06 lpfc target renumbering problem Roger Håkansson
2006-04-16 21:35 ` Roger Håkansson [this message]
2006-04-18 16:41 ` 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=4442B8B9.3040103@ludd.luth.se \
--to=hson@ludd.luth.se \
--cc=linux-scsi@vger.kernel.org \
/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.