<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: dm-multipath mappings not removed when disk is unmapped from host in Additional Virtualization Discussions</title>
    <link>https://community.netapp.com/t5/Additional-Virtualization-Discussions/dm-multipath-mappings-not-removed-when-disk-is-unmapped-from-host/m-p/33476#M469</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Eugene,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There's another bugizlla related to this issue:&lt;/P&gt;&lt;P&gt;&lt;A href="https://bugzilla.redhat.com/show_bug.cgi?id=488921" target="_blank"&gt;https://bugzilla.redhat.com/show_bug.cgi?id=488921&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is a new keyword for multipath.conf, &lt;STRONG&gt;queue_without_daemon&lt;/STRONG&gt;, which when set will discard I/O to the particular multipath map.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This features has made to &lt;STRONG&gt;RHEL5.3&lt;/STRONG&gt; but unfortunately it couldn't be included in &lt;STRONG&gt;RHEL 4.8&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;This might be part of &lt;STRONG&gt;RHEL 4.9&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 04 Jun 2009 11:06:37 GMT</pubDate>
    <dc:creator>rsarraf</dc:creator>
    <dc:date>2009-06-04T11:06:37Z</dc:date>
    <item>
      <title>dm-multipath mappings not removed when disk is unmapped from host</title>
      <link>https://community.netapp.com/t5/Additional-Virtualization-Discussions/dm-multipath-mappings-not-removed-when-disk-is-unmapped-from-host/m-p/33464#M467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Does anyone have experience with this Red Hat 4.x bug: &lt;A href="https://bugzilla.redhat.com/show_bug.cgi?id=491311" target="_blank"&gt;https://bugzilla.redhat.com/show_bug.cgi?id=491311&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an unmapped lun that is no longer seen on the QLogic HBA bus, however, just as the bug describes, it's dm-multipath entries remain and all paths are down.&amp;nbsp; A few disk-related activities are refusing work or error out in a timely fashion; it feels as if multipathd has no error return for all paths being down?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any specific documented procedure for removing the stale mappings would be appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!,&lt;/P&gt;&lt;P&gt;Eugene&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Eugene V.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2025 07:28:28 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Additional-Virtualization-Discussions/dm-multipath-mappings-not-removed-when-disk-is-unmapped-from-host/m-p/33464#M467</guid>
      <dc:creator>evilensky</dc:creator>
      <dc:date>2025-06-05T07:28:28Z</dc:date>
    </item>
    <item>
      <title>Re: dm-multipath mappings not removed when disk is unmapped from host</title>
      <link>https://community.netapp.com/t5/Additional-Virtualization-Discussions/dm-multipath-mappings-not-removed-when-disk-is-unmapped-from-host/m-p/33470#M468</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A kind soul on the RHEL mailing list has pointed out that this is related the the queue_if_no_path settings (as recommended by the FCP host utils guide).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="text-align: left; padding-left: 30px;"&gt;Sounds like you multipath devices are set to "queue_if_no_path" which&lt;BR /&gt; basically tells the multipath layer to queue all request forever even if&lt;BR /&gt; there are no available paths.&amp;nbsp; You can generally free hung commands on a&lt;BR /&gt; device that is not coming back by setting "fail_if_no_path" on the&lt;BR /&gt; device with dmsetup.&amp;nbsp; The command would be something like this:&lt;BR /&gt;&lt;BR /&gt; dmsetup message mpath23 0 fail_if_no_path&lt;BR /&gt;&lt;BR /&gt; Once you do that the multipath layer should return errors to the hung&lt;BR /&gt; command and it should exit.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;A href="http://www.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5/html/DM_Multipath/queueifnopath_issues.html" target="_blank"&gt;http://www.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5/html/DM_Multipath/queueifnopath_issues.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt; Once the command errors out you should be able to manually remove the&lt;BR /&gt; failed paths.&amp;nbsp; The "multipath -F" command should remove any unused&lt;BR /&gt; multipath maps, however, unused means that the VG needs to be&lt;BR /&gt; deactivated first.&amp;nbsp; Once you set "fail_if_no_path" you should be able to&lt;BR /&gt; deactivate the VG even though all paths are down.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 May 2009 15:48:10 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Additional-Virtualization-Discussions/dm-multipath-mappings-not-removed-when-disk-is-unmapped-from-host/m-p/33470#M468</guid>
      <dc:creator>evilensky</dc:creator>
      <dc:date>2009-05-08T15:48:10Z</dc:date>
    </item>
    <item>
      <title>Re: dm-multipath mappings not removed when disk is unmapped from host</title>
      <link>https://community.netapp.com/t5/Additional-Virtualization-Discussions/dm-multipath-mappings-not-removed-when-disk-is-unmapped-from-host/m-p/33476#M469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Eugene,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There's another bugizlla related to this issue:&lt;/P&gt;&lt;P&gt;&lt;A href="https://bugzilla.redhat.com/show_bug.cgi?id=488921" target="_blank"&gt;https://bugzilla.redhat.com/show_bug.cgi?id=488921&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is a new keyword for multipath.conf, &lt;STRONG&gt;queue_without_daemon&lt;/STRONG&gt;, which when set will discard I/O to the particular multipath map.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This features has made to &lt;STRONG&gt;RHEL5.3&lt;/STRONG&gt; but unfortunately it couldn't be included in &lt;STRONG&gt;RHEL 4.8&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;This might be part of &lt;STRONG&gt;RHEL 4.9&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jun 2009 11:06:37 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Additional-Virtualization-Discussions/dm-multipath-mappings-not-removed-when-disk-is-unmapped-from-host/m-p/33476#M469</guid>
      <dc:creator>rsarraf</dc:creator>
      <dc:date>2009-06-04T11:06:37Z</dc:date>
    </item>
  </channel>
</rss>

