<span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; "><div><span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; ">I seem to have multipath setup correctly:</span></div>
<div><span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; "><br></span></div></span><span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; "># multipath -ll<br>
vrp (360060e8010053b90052fb06900000190) dm-8 HITACHI,DF600F<br>size=70G features='1 queue_if_no_path' hwhandler='0' wp=rw<br>|-+- policy='round-robin 0' prio=1 status=enabled<br>| `- 6:0:0:0 sdc 8:32 active ready running<br>
`-+- policy='round-robin 0' prio=0 status=enabled<br> `- 5:0:0:0 sdb 8:16 active ready running<br></span><span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; "><div>
<span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; "><br></span></div><div>When I fail the /dev/sdb path, things work fine. I can fail and restore the path all day. When I fail the /dev/sdc path, the kernel marks the filesystem as read-only.</div>
<div><br></div>Background:<br>Running v0.4.9 of device-mapper-multipath<br>Hitachi AMS2500 array, using ports 0F and 1F<br>Brocade 5300 switches, split into two fabrics. (fabric A, port 30,<br>fabric B port 30)<br></span><span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; ">Host has a qlogic 2462 card with two por</span><span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; ">ts in use.</span><div>
<font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">device-mapper names the devices, LVM2 PV created from that, made into a VG, and then an LV (see below)<br>
</span></font><div><span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; ">Failures produced by disabling the fabric port at the switch level (or physically disconnecting the fiber).<br>
<br>Current multipath.conf:<br><br>blacklist {<br> devnode "^sda$"<br>}<br><br>defaults {<br> checker_timeout 5<br> polling_interval 5<br>}<br><br>multipaths {<br>
multipath {<br> wwid 360060e8010053b90052fb06900000190<br> alias vrp<br># path_selector "round-robin 0"<br> }<br>}<br><br>results of 'multipath -ll'<br>
<br># multipath -ll<br>vrp (360060e8010053b90052fb06900000190) dm-8 HITACHI,DF600F<br>size=70G features='1 queue_if_no_path' hwhandler='0' wp=rw<br>|-+- policy='round-robin 0' prio=1 status=enabled<br>
| `- 6:0:0:0 sdc 8:32 active ready running<br>`-+- policy='round-robin 0' prio=0 status=enabled<br> `- 5:0:0:0 sdb 8:16 active ready running<br><br>I've also worked with several revisions of the multipath.conf file. If I<br>
remember correctly, with some device stanza revisions, I've had multipath -ll<br>returning this result instead:<br><br># multipath -ll<br>vrp (360060e8010053b90052fb06900000190) dm-8 HITACHI,DF600F<br>size=70G features='0' hwhandler='0' wp=rw<br>
`-+- policy='round-robin 0' prio=1 status=active<br>|- 6:0:0:0 sdc 8:32 active ready running<br>`- 5:0:0:0 sdb 8:16 active ready running<br><br>However, both are affected by the same problem.<br><br>Excerpt from /etc/fstab:<br>
LABEL=vrp-db /vrp-db ext3 defaults 0 2<br><br>relevant line from pvscan:<br> PV /dev/mpath/vrp VG vrpdg lvm2 [70.00 GB / 0 free]<br><br>relevant line from vgscan:<br> Found volume group "vrpdg" using metadata type lvm2<br>
<br>While I'd prefer an 'active-active' setup, I'd accept an active/passive<br>setup, provided it failed over correctly... preferably with a fast failback.<br><br>I'm more than happy to provide any other information.<br>
<br>--<span class="il" style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(255, 255, 204); ">Jason</span></span><div><div><div></div>
</div></div></div></div>