Bug 670760

Summary: [rhel6] [multipath] command multipath -ll hangs for almost 2 minutes in case one of the paths becomes unavailable
Product: Red Hat Enterprise Linux 6 Reporter: Haim <hateya>
Component: device-mapper-multipathAssignee: Ben Marzinski <bmarzins>
Status: CLOSED NOTABUG QA Contact: Red Hat Kernel QE team <kernel-qe>
Severity: medium Docs Contact:
Priority: low    
Version: 6.1CC: abaron, agk, bmarzins, christophe.varoqui, dnaori, dwysocha, egoggin, ewarszaw, heinzm, junichi.nomura, kueda, lmb, mbroz, mgoldboi, msnitzer, prockai, smizrahi, tranlan, yeylon, ykaul
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-01-20 17:19:41 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
Comment none

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