Bug 670760 - [rhel6] [multipath] command multipath -ll hangs for almost 2 minutes in case one of the paths becomes unavailable
Summary: [rhel6] [multipath] command multipath -ll hangs for almost 2 minutes in case ...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: device-mapper-multipath
Version: 6.1
Hardware: x86_64
OS: Linux
low
medium
Target Milestone: rc
: ---
Assignee: Ben Marzinski
QA Contact: Red Hat Kernel QE team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-01-19 09:44 UTC by Haim
Modified: 2014-01-13 00:48 UTC (History)
20 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-01-20 17:19:41 UTC
Target Upstream Version:


Attachments (Terms of Use)
Comment (94.06 KB, text/plain)
2011-01-19 09:44 UTC, Haim
no flags Details

Description Haim 2011-01-19 09:44:30 UTC
Created attachment 915184 [details]
Comment

(This comment was longer than 65,535 characters and has been moved to an attachment by Red Hat Bugzilla).

Comment 2 Mike Snitzer 2011-01-19 18:30:20 UTC
The iscsi timeout defaults to 120 sec.

This 2 minute delay would appear to be expected -- I'm inclined to close this NOTABUG but will defer to Ben.

Comment 3 Ben Marzinski 2011-01-20 17:19:41 UTC
Mike is correct.  Running multipath -ll calls the path checker.  You are using the readsector checker, which tries to read the first sector of the device. This won't return until iscsi times out. If you just want a listing of you multipath devices, 
just run

# multipath -l

This won't run the path checker.

For more information on how to avoid this, read section 8.1 (iSCSI settings for dm-multipath) in:

/usr/share/doc/iscsi-initiator-utils-<version>/README


Note You need to log in before you can comment on or make changes to this bug.