From: Hannes Reinecke <hare@suse.de>
To: dm-devel@redhat.com
Subject: Re: multipath - AAArgh! How do I turn "features=1 queue_if_no_path" off?
Date: Thu, 01 Oct 2009 08:24:30 +0200 [thread overview]
Message-ID: <4AC44B1E.7020509@suse.de> (raw)
In-Reply-To: <20090930154212.GA8507@us.ibm.com>
malahal@us.ibm.com wrote:
> John Hughes [john@Calva.COM] wrote:
>> I want to turn queue_if_no_path off and use
>>
>> polling_interval 5
>> no_path_retry 5
>>
>> because I've had problems with things hanging when a lun "vanishes" (I
>> deleted it from my external raid box).
>>
>> But whatever I put in /etc/multipath.conf when I do a "multipath -l" or
>> "multipath-ll" it shows:
>
> Did you reload the mapper table?
>
>> 360024e80005b3add000001b64ab05c87dm-28 DELL ,MD3000
>> [size=68G][features=1 queue_if_no_path][hwhandler=1 rdac]
>> \_ round-robin 0 [prio=3][active]
>> \_ 3:0:1:13 sdad 65:208 [active][ready]
>> \_ round-robin 0 [prio=0][enabled]
>> \_ 4:0:0:13 sdas 66:192 [active][ghost]
>>
Which is entirely correct. The 'queue_if_no_path' flag _has_ to
be set here as we do want to retry failed paths, if only for
a limited amount of retries.
The in-kernel dm-multipath module should handle the situation correctly
and switch off the queue_if_no_path flag (= pass I/O errors upwards)
when the amount of retries is exhausted.
You can only switch the flag off by setting 'no_path_retry failed'.
Cheers,
Hannes
--
Dr. Hannes Reinecke zSeries & Storage
hare@suse.de +49 911 74053 688
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: Markus Rex, HRB 16746 (AG Nürnberg)
next prev parent reply other threads:[~2009-10-01 6:24 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-30 10:33 multipath - AAArgh! How do I turn "features=1 queue_if_no_path" off? John Hughes
2009-09-30 15:42 ` malahal
2009-10-01 6:24 ` Hannes Reinecke [this message]
2009-10-01 8:55 ` John Hughes
2009-10-01 9:41 ` Diedrich Ehlerding
2009-10-01 9:44 ` Hannes Reinecke
2009-09-30 16:22 ` Moger, Babu
2009-09-30 17:11 ` John Hughes
2009-10-01 9:05 ` John Hughes
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=4AC44B1E.7020509@suse.de \
--to=hare@suse.de \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox