<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=gb2312" http-equiv=Content-Type>
<STYLE>
BLOCKQUOTE {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px; MARGIN-LEFT: 2em
}
OL {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
UL {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
P {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
BODY {
        LINE-HEIGHT: 1.5; FONT-FAMILY: Î¢ÈíÑźÚ; COLOR: #000000; FONT-SIZE: 10.5pt
}
</STYLE>

<META name=GENERATOR content="MSHTML 9.00.8112.16443"></HEAD>
<BODY style="MARGIN: 10px">
<DIV><SPAN>Hello,develop team.I test multipath in RHEL 6.2(X86_64).I find a 
issue when test takeover.There are 8 disk in one target path;7 disk is 
active,but 1 is faulty(mpathf).I check target ,and there is well;I didn't how 
can i avoid the issue. I find some different between active and faulty var 
/var/log/message.The mpathf print "map in use,unable to flush devmap".Is there 
some helpful?</SPAN></DIV>
<DIV><SPAN></SPAN> </DIV>
<DIV><SPAN>
<DIV>[root@localhost ~]# multipath -ll</DIV>
<DIV>mpathe (23431373633313138) dm-8 _INSPUR_,vg5_lv52</DIV>
<DIV>size=300G features='1 queue_if_no_path' hwhandler='0' wp=rw</DIV>
<DIV>`-+- policy='round-robin 0' prio=1 status=active</DIV>
<DIV>  `- 19:0:0:6 sdq 65:0  active ready  running</DIV>
<DIV>mpathd (23735393139393831) dm-10 _INSPUR_,vg5_lv51</DIV>
<DIV>size=350G features='1 queue_if_no_path' hwhandler='0' wp=rw</DIV>
<DIV>`-+- policy='round-robin 0' prio=1 status=active</DIV>
<DIV>  `- 19:0:0:2 sdm 8:192 active ready  running</DIV>
<DIV>mpathc (26238643332373337) dm-9 _INSPUR_,vg4_lv41</DIV>
<DIV>size=300G features='1 queue_if_no_path' hwhandler='0' wp=rw</DIV>
<DIV>`-+- policy='round-robin 0' prio=1 status=active</DIV>
<DIV>  `- 19:0:0:1 sdl 8:176 active ready  running</DIV>
<DIV>mpathj (23238623936303261) dm-4 _INSPUR_,vg5_lv54</DIV>
<DIV>size=350G features='1 queue_if_no_path' hwhandler='0' wp=rw</DIV>
<DIV>`-+- policy='round-robin 0' prio=1 status=active</DIV>
<DIV>  `- 19:0:0:8 sds 65:32 active ready  running</DIV>
<DIV>mpathi (23966393631376439) dm-7 _INSPUR_,vg4_lv43</DIV>
<DIV>size=300G features='1 queue_if_no_path' hwhandler='0' wp=rw</DIV>
<DIV>`-+- policy='round-robin 0' prio=1 status=active</DIV>
<DIV>  `- 19:0:0:4 sdo 8:224 active ready  running</DIV>
<DIV>mpathh (26535666264653963) dm-3 _INSPUR_,vg4_lv44</DIV>
<DIV>size=300G features='1 queue_if_no_path' hwhandler='0' wp=rw</DIV>
<DIV>`-+- policy='round-robin 0' prio=1 status=active</DIV>
<DIV>  `- 19:0:0:5 sdp 8:240 active ready  running</DIV>
<DIV>mpathg (23532643461393666) dm-6 _INSPUR_,vg5_lv53</DIV>
<DIV>size=350G features='1 queue_if_no_path' hwhandler='0' wp=rw</DIV>
<DIV>`-+- policy='round-robin 0' prio=1 status=active</DIV>
<DIV>  `- 19:0:0:7 sdr 65:16 active ready  running</DIV>
<DIV>mpathf (23863333438666165) dm-5 ,</DIV>
<DIV>size=300G features='1 queue_if_no_path' hwhandler='0' wp=rw</DIV>
<DIV>`-+- policy='round-robin 0' prio=0 status=enabled</DIV>
<DIV>  |- #:#:#:#  -   #:#   failed faulty running</DIV>
<DIV>  `- 19:0:0:3 sdn 8:208 failed faulty running</DIV>
<DIV> </DIV>
<DIV>
<DIV>[root@localhost ~]# dmsetup -v status</DIV>
<DIV>Name:              mpathe</DIV>
<DIV>State:             ACTIVE</DIV>
<DIV>Read Ahead:        256</DIV>
<DIV>Tables present:    LIVE</DIV>
<DIV>Open count:        1</DIV>
<DIV>Event number:      7</DIV>
<DIV>Major, minor:      253, 8</DIV>
<DIV>Number of targets: 1</DIV>
<DIV>UUID: mpath-23431373633313138</DIV>
<DIV> </DIV>
<DIV>0 629145600 multipath 2 0 0 0 1 1 A 0 1 0 65:0 A 0 </DIV>
<DIV> </DIV>
<DIV>Name:              VolGroup-lv_swap</DIV>
<DIV>State:             ACTIVE</DIV>
<DIV>Read Ahead:        256</DIV>
<DIV>Tables present:    LIVE</DIV>
<DIV>Open count:        1</DIV>
<DIV>Event number:      0</DIV>
<DIV>Major, minor:      253, 1</DIV>
<DIV>Number of targets: 1</DIV>
<DIV>UUID: LVM-g146OXH4QW6yuzxVPQg6MTowS4n70ZQE2yXeAnBJ0rzl35hQd5ENo9JrFuavLaZ4</DIV>
<DIV> </DIV>
<DIV>0 8192000 linear </DIV>
<DIV> </DIV>
<DIV>Name:              mpathd</DIV>
<DIV>State:             ACTIVE</DIV>
<DIV>Read Ahead:        256</DIV>
<DIV>Tables present:    LIVE</DIV>
<DIV>Open count:        1</DIV>
<DIV>Event number:      7</DIV>
<DIV>Major, minor:      253, 10</DIV>
<DIV>Number of targets: 1</DIV>
<DIV>UUID: mpath-23735393139393831</DIV>
<DIV> </DIV>
<DIV>0 734003200 multipath 2 0 0 0 1 1 A 0 1 0 8:192 A 0 </DIV>
<DIV> </DIV>
<DIV>Name:              VolGroup-lv_root</DIV>
<DIV>State:             ACTIVE</DIV>
<DIV>Read Ahead:        256</DIV>
<DIV>Tables present:    LIVE</DIV>
<DIV>Open count:        1</DIV>
<DIV>Event number:      0</DIV>
<DIV>Major, minor:      253, 0</DIV>
<DIV>Number of targets: 1</DIV>
<DIV>UUID: LVM-g146OXH4QW6yuzxVPQg6MTowS4n70ZQEJuESdV8wAAi6xtZJsvue0MMdKwv8JrD1</DIV>
<DIV> </DIV>
<DIV>0 104857600 linear </DIV>
<DIV> </DIV>
<DIV>Name:              mpathc</DIV>
<DIV>State:             ACTIVE</DIV>
<DIV>Read Ahead:        256</DIV>
<DIV>Tables present:    LIVE</DIV>
<DIV>Open count:        1</DIV>
<DIV>Event number:      8</DIV>
<DIV>Major, minor:      253, 9</DIV>
<DIV>Number of targets: 1</DIV>
<DIV>UUID: mpath-26238643332373337</DIV>
<DIV> </DIV>
<DIV>0 629145600 multipath 2 0 0 0 1 1 A 0 1 0 8:176 A 0 </DIV>
<DIV> </DIV>
<DIV>Name:              mpathj</DIV>
<DIV>State:             ACTIVE</DIV>
<DIV>Read Ahead:        256</DIV>
<DIV>Tables present:    LIVE</DIV>
<DIV>Open count:        1</DIV>
<DIV>Event number:      7</DIV>
<DIV>Major, minor:      253, 4</DIV>
<DIV>Number of targets: 1</DIV>
<DIV>UUID: mpath-23238623936303261</DIV>
<DIV> </DIV>
<DIV>0 734003200 multipath 2 0 0 0 1 1 A 0 1 0 65:32 A 0 </DIV>
<DIV> </DIV>
<DIV>Name:              mpathi</DIV>
<DIV>State:             ACTIVE</DIV>
<DIV>Read Ahead:        256</DIV>
<DIV>Tables present:    LIVE</DIV>
<DIV>Open count:        1</DIV>
<DIV>Event number:      8</DIV>
<DIV>Major, minor:      253, 7</DIV>
<DIV>Number of targets: 1</DIV>
<DIV>UUID: mpath-23966393631376439</DIV>
<DIV> </DIV>
<DIV>0 629145600 multipath 2 0 0 0 1 1 A 0 1 0 8:224 A 0 </DIV>
<DIV> </DIV>
<DIV>Name:              mpathh</DIV>
<DIV>State:             ACTIVE</DIV>
<DIV>Read Ahead:        256</DIV>
<DIV>Tables present:    LIVE</DIV>
<DIV>Open count:        1</DIV>
<DIV>Event number:      7</DIV>
<DIV>Major, minor:      253, 3</DIV>
<DIV>Number of targets: 1</DIV>
<DIV>UUID: mpath-26535666264653963</DIV>
<DIV> </DIV>
<DIV>0 629145600 multipath 2 0 0 0 1 1 A 0 1 0 8:240 A 0 </DIV>
<DIV> </DIV>
<DIV>Name:              VolGroup-lv_home</DIV>
<DIV>State:             ACTIVE</DIV>
<DIV>Read Ahead:        256</DIV>
<DIV>Tables present:    LIVE</DIV>
<DIV>Open count:        1</DIV>
<DIV>Event number:      0</DIV>
<DIV>Major, minor:      253, 2</DIV>
<DIV>Number of targets: 1</DIV>
<DIV>UUID: LVM-g146OXH4QW6yuzxVPQg6MTowS4n70ZQEXnAad4uTeBensk60oEaKeheiQTGKySgB</DIV>
<DIV> </DIV>
<DIV>0 1839439872 linear </DIV>
<DIV> </DIV>
<DIV>Name:              mpathg</DIV>
<DIV>State:             ACTIVE</DIV>
<DIV>Read Ahead:        256</DIV>
<DIV>Tables present:    LIVE</DIV>
<DIV>Open count:        0</DIV>
<DIV>Event number:      8</DIV>
<DIV>Major, minor:      253, 6</DIV>
<DIV>Number of targets: 1</DIV>
<DIV>UUID: mpath-23532643461393666</DIV>
<DIV> </DIV>
<DIV>0 734003200 multipath 2 0 0 0 1 1 A 0 1 0 65:16 A 0 </DIV>
<DIV> </DIV>
<DIV>Name:              mpathf</DIV>
<DIV>State:             ACTIVE</DIV>
<DIV>Read Ahead:        256</DIV>
<DIV>Tables present:    LIVE</DIV>
<DIV>Open count:        1</DIV>
<DIV>Event number:      9</DIV>
<DIV>Major, minor:      253, 5</DIV>
<DIV>Number of targets: 1</DIV>
<DIV>UUID: mpath-23863333438666165</DIV>
<DIV> </DIV>
<DIV>0 629145600 multipath 2 39 0 0 1 1 E 0 2 0 8:64 F 1 8:208 F 1 </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>
<DIV>May  2 21:54:02 localhost kernel: sd 19:0:0:3: [sdn] Unhandled error code</DIV>
<DIV>May  2 21:54:02 localhost kernel: sd 19:0:0:3: [sdn] Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK</DIV>
<DIV>May  2 21:54:02 localhost kernel: sd 19:0:0:3: [sdn] CDB: Write(10): 2a 00 0a 21 b2 00 00 00 60 00</DIV>
<DIV>May  2 21:54:02 localhost kernel: end_request: I/O error, dev sdn, sector 169980416</DIV>
<DIV>May  2 21:54:03 localhost multipathd: sdb: remove path (uevent)</DIV>
<DIV>May  2 21:54:03 localhost multipathd: sdc: remove path (uevent)</DIV>
<DIV>May  2 21:54:03 localhost kernel: device-mapper: table: 253:5: multipath: error getting device</DIV>
<DIV>May  2 21:54:03 localhost kernel: device-mapper: ioctl: error adding target to table</DIV>
<DIV>May  2 21:54:03 localhost kernel: device-mapper: table: 253:5: multipath: error getting device</DIV>
<DIV>May  2 21:54:03 localhost kernel: device-mapper: ioctl: error adding target to table</DIV>
<DIV>May  2 21:54:03 localhost multipathd: mpathc: load table [0 629145600 multipath 1 queue_if_no_path 0 1 1 round-robin 0 1 1 8:176 1]</DIV>
<DIV>May  2 21:54:03 localhost multipathd: sdc: path removed from map mpathc</DIV>
<DIV>May  2 21:54:03 localhost multipathd: sdd: remove path (uevent)</DIV>
<DIV>May  2 21:54:03 localhost multipathd: sdg: remove path (uevent)</DIV>
<DIV>May  2 21:54:03 localhost multipathd: mpathh: load table [0 629145600 multipath 1 queue_if_no_path 0 1 1 round-robin 0 1 1 8:240 1]</DIV>
<DIV>May  2 21:54:03 localhost multipathd: sdg: path removed from map mpathh</DIV>
<DIV>May  2 21:54:03 localhost multipathd: sdf: remove path (uevent)</DIV>
<DIV>May  2 21:54:03 localhost multipathd: mpathi: load table [0 629145600 multipath 1 queue_if_no_path 0 1 1 round-robin 0 1 1 8:224 1]</DIV>
<DIV>May  2 21:54:03 localhost multipathd: sdf: path removed from map mpathi</DIV>
<DIV>May  2 21:54:03 localhost multipathd: sdi: remove path (uevent)</DIV>
<DIV>May  2 21:54:03 localhost multipathd: mpathg: load table [0 734003200 multipath 1 queue_if_no_path 0 1 1 round-robin 0 1 1 65:16 1]</DIV>
<DIV>May  2 21:54:03 localhost multipathd: sdi: path removed from map mpathg</DIV>
<DIV>May  2 21:54:03 localhost multipathd: sdj: remove path (uevent)</DIV>
<DIV>May  2 21:54:03 localhost multipathd: mpathj: load table [0 734003200 multipath 1 queue_if_no_path 0 1 1 round-robin 0 1 1 65:32 1]</DIV>
<DIV>May  2 21:54:03 localhost multipathd: sdj: path removed from map mpathj</DIV>
<DIV>May  2 21:54:03 localhost multipathd: sde: remove path (uevent)</DIV>
<DIV>May  2 21:54:03 localhost multipathd: mpathf: failed in domap for removal of path sde</DIV>
<DIV>May  2 21:54:03 localhost multipathd: uevent trigger error</DIV>
<DIV>May  2 21:54:03 localhost multipathd: sdh: remove path (uevent)</DIV>
<DIV>May  2 21:54:03 localhost multipathd: mpathe: load table [0 629145600 multipath 1 queue_if_no_path 0 1 1 round-robin 0 1 1 65:0 1]</DIV>
<DIV>May  2 21:54:03 localhost multipathd: sdh: path removed from map mpathe</DIV>
<DIV>May  2 21:54:03 localhost multipathd: mpathf: Entering recovery mode: max_retries=300</DIV>
<DIV>May  2 21:54:03 localhost multipathd: 8:64: mark as failed</DIV>
<DIV>May  2 21:54:03 localhost multipathd: mpathf: Entering recovery mode: max_retries=300</DIV>
<DIV>May  2 21:54:03 localhost multipathd: 8:64: mark as failed</DIV>
<DIV>May  2 21:55:19 localhost multipathd: reconfigure (SIGHUP)</DIV>
<DIV>May  2 21:55:19 localhost multipathd: mpathc: stop event checker thread (140270187837184)</DIV>
<DIV>May  2 21:55:19 localhost multipathd: mpathh: stop event checker thread (140270180927232)</DIV>
<DIV>May  2 21:55:19 localhost multipathd: mpathf: stop event checker thread (140270180894464)</DIV>
<DIV>May  2 21:55:19 localhost multipathd: mpathi: stop event checker thread (140270180861696)</DIV>
<DIV>May  2 21:55:19 localhost multipathd: mpathe: stop event checker thread (140270180828928)</DIV>
<DIV>May  2 21:55:19 localhost multipathd: mpathg: stop event checker thread (140270180796160)</DIV>
<DIV>May  2 21:55:19 localhost multipathd: mpathj: stop event checker thread (140270180763392)</DIV>
<DIV>May  2 21:55:19 localhost multipathd: mpathd: stop event checker thread (140270180730624)</DIV>
<DIV>May  2 21:55:20 localhost kernel: device-mapper: table: 253:11: multipath: error getting device</DIV>
<DIV>May  2 21:55:20 localhost kernel: device-mapper: ioctl: error adding target to table</DIV>
<DIV>May  2 21:55:20 localhost kernel: device-mapper: table: 253:11: multipath: error getting device</DIV>
<DIV>May  2 21:55:20 localhost kernel: device-mapper: ioctl: error adding target to table</DIV>
<DIV>May  2 21:55:20 localhost multipathd: mpatha: ignoring map</DIV>
<DIV>May  2 21:55:20 localhost multipathd: mpathc: load table [0 629145600 multipath 1 queue_if_no_path 0 1 1 round-robin 0 1 1 8:176 1]</DIV>
<DIV>May  2 21:55:20 localhost multipathd: mpathd: load table [0 734003200 multipath 1 queue_if_no_path 0 1 1 round-robin 0 1 1 8:192 1]</DIV>
<DIV>May  2 21:55:20 localhost multipathd: mpathg: load table [0 734003200 multipath 1 queue_if_no_path 0 1 1 round-robin 0 1 1 65:16 1]</DIV>
<DIV>May  2 21:55:20 localhost multipathd: mpathe: load table [0 629145600 multipath 1 queue_if_no_path 0 1 1 round-robin 0 1 1 65:0 1]</DIV>
<DIV>May  2 21:55:20 localhost multipathd: mpathh: load table [0 629145600 multipath 1 queue_if_no_path 0 1 1 round-robin 0 1 1 8:240 1]</DIV>
<DIV>May  2 21:55:20 localhost multipathd: mpathi: load table [0 629145600 multipath 1 queue_if_no_path 0 1 1 round-robin 0 1 1 8:224 1]</DIV>
<DIV>May  2 21:55:20 localhost multipathd: mpathj: load table [0 734003200 multipath 1 queue_if_no_path 0 1 1 round-robin 0 1 1 65:32 1]</DIV>
<DIV>May  2 21:55:20 localhost multipathd: mpathf: map in use</DIV>
<DIV>May  2 21:55:20 localhost multipathd: mpathf: unable to flush devmap</DIV>
<DIV>May  2 21:55:20 localhost multipathd: mpathc: event checker started</DIV>
<DIV>May  2 21:55:20 localhost multipathd: mpathd: event checker started</DIV>
<DIV>May  2 21:55:20 localhost multipathd: mpathg: event checker started</DIV>
<DIV>May  2 21:55:20 localhost multipathd: mpathe: event checker started</DIV>
<DIV>May  2 21:55:20 localhost multipathd: mpathh: event checker started</DIV>
<DIV>May  2 21:55:20 localhost multipathd: mpathi: event checker started</DIV>
<DIV>May  2 21:55:20 localhost multipathd: mpathj: event checker started</DIV>
<DIV>May  2 21:55:20 localhost multipathd: mpathf: event checker started</DIV></DIV></DIV></SPAN></DIV>
<DIV><SPAN></SPAN> </DIV></BODY></HTML>