Linux Device Mapper development
 help / color / mirror / Atom feed
From: John Hughes <john@Calva.COM>
To: device-mapper development <dm-devel@redhat.com>
Subject: Re: multipath - AAArgh! How do I turn "features=1	queue_if_no_path" off?
Date: Wed, 30 Sep 2009 19:11:10 +0200	[thread overview]
Message-ID: <4AC3912E.3060908@Calva.COM> (raw)
In-Reply-To: <E463DF2B2E584B4A82673F53D62C2EF474E780A7@cosmail01.lsi.com>

Moger, Babu wrote:
> You will see "features=1 queue_if_no_path" if you have one of the following entry in your multipath.conf.
>
> 1. Features		"1 queue_if_no_path"
>
>   Or
>
> 2. no_path_retry           5
>   
Ah, that was the problem.   Now I have "features=0".

I did my silly test again (deleting a LUN that was in use from the 
external cabinet) and the system kept working.  The errors on the dm-xxx 
device propogated back to mdadm which marked it as failed an all was well.

Except that I'm still getting lots of I/O errors:

[ 9019.822396] Buffer I/O error on device dm-17, logical block 17790463
[ 9019.822432] Buffer I/O error on device dm-17, logical block 0
[ 9019.822473] Buffer I/O error on device dm-17, logical block 0
[ 9020.735190] sd 4:0:0:1: queueing MODE_SELECT command.
[ 9020.771075] sd 4:0:0:1: MODE_SELECT failed with sense 0x59100.
[ 9020.793828] sd 4:0:0:1: [sdah] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE,SUGGEST_OK
[ 9020.793894] sd 4:0:0:1: [sdah] Sense Key : Illegal Request [current] 
[ 9020.793932] sd 4:0:0:1: [sdah] Add. Sense: Logical unit not supported
[ 9020.793968] end_request: I/O error, dev sdah, sector 0
[ 9020.793995] device-mapper: multipath: Failing path 66:16.

... endlessly repeating

I was able to stop the errors by

   1. removing the failed multipath from the mdadm array
   2. using the multipath -f command to flush the deleted disk.

  reply	other threads:[~2009-09-30 17:11 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
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 [this message]
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=4AC3912E.3060908@Calva.COM \
    --to=john@calva.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox