<?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: Unmapping LUN from igroup  urgent help needed in ONTAP Discussions</title>
    <link>https://community.netapp.com/t5/ONTAP-Discussions/Unmapping-LUN-from-igroup-urgent-help-needed/m-p/134901#M29583</link>
    <description>&lt;P&gt;No you don't have to "offline" a lun before unmapping it.&amp;nbsp; You can just unmap it from the igroup containing the hosts, then Rescan for Datastores on the hosts/cluster and it should remove all new dead paths.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And No you don't have to specify the LUN ID during unmapping it.&amp;nbsp; You only need to specify it during "mapping" if you want it to be a specific LUN ID and not just the next one available.&amp;nbsp; I always make sure to use Specific LUN IDs and keep track of them on a spreadsheet.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 29 Sep 2017 20:15:58 GMT</pubDate>
    <dc:creator>J-L-B</dc:creator>
    <dc:date>2017-09-29T20:15:58Z</dc:date>
    <item>
      <title>Unmapping LUN from igroup  urgent help needed</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Unmapping-LUN-from-igroup-urgent-help-needed/m-p/134891#M29581</link>
      <description>&lt;P&gt;Hello Netapp engineers ,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I an doing a DR test , in the process I did -&amp;nbsp;&lt;/P&gt;&lt;P&gt;snapmirror break -destination-path drfcpt1:CC_hqcvcp01_SP_311_Copy_568_hqfcpt1_hq_t0_ss01_Mirror&lt;/P&gt;&lt;P&gt;next, created an igroup &amp;amp; mapped the lun to the igroup&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;lun map&amp;nbsp;&amp;nbsp;&amp;nbsp; -vserver drfcpt1 -lun /vol/CC_hqcvcp01_SP_311_Copy_568_hqfcpt1_hq_t0_ss01_Mirror/hq_t0_ss01 -igroup DR_IGROUP -lun-id 60&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;=======&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now for the post clean up test -&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1)&lt;/P&gt;&lt;P&gt;lun offline -vserver drfcpt1 -path /vol/CC_hqcvcp01_SP_311_Copy_568_hqfcpt1_hq_t0_ss01_Mirror/hq_t0_ss01&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2)lun unmap -vserver drfcpt1 -path /vol/CC_hqcvcp01_SP_311_Copy_568_hqfcpt1_hq_t0_ss01_Mirror/hq_t0_ss01 -igroup DR_IGROUP&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3)&lt;/P&gt;&lt;P&gt;snapmirror resync -destination-path CC_hqcvcp01_SP_311_Copy_568_hqfcpt1_hq_t0_ss01_Mirror&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Question -&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1)Do i have to necessarily put&amp;nbsp; the lun offline before unmapping ? If yes , I do I have to put it online again before running step 3 . i.e when running&amp;nbsp; snapmirror resync. Or the step mentioned above is good .&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2)Also, I do not see the&amp;nbsp; flag to unmap the luns using lun_id in step to 2 . For example , I used lun id 60 to map the luns&amp;nbsp; , do I have to specifically mention the&amp;nbsp; -lun-id when unmounting&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 14:32:19 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Unmapping-LUN-from-igroup-urgent-help-needed/m-p/134891#M29581</guid>
      <dc:creator>nasguy2504</dc:creator>
      <dc:date>2025-06-04T14:32:19Z</dc:date>
    </item>
    <item>
      <title>Re: Unmapping LUN from igroup  urgent help needed</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Unmapping-LUN-from-igroup-urgent-help-needed/m-p/134901#M29583</link>
      <description>&lt;P&gt;No you don't have to "offline" a lun before unmapping it.&amp;nbsp; You can just unmap it from the igroup containing the hosts, then Rescan for Datastores on the hosts/cluster and it should remove all new dead paths.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And No you don't have to specify the LUN ID during unmapping it.&amp;nbsp; You only need to specify it during "mapping" if you want it to be a specific LUN ID and not just the next one available.&amp;nbsp; I always make sure to use Specific LUN IDs and keep track of them on a spreadsheet.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Sep 2017 20:15:58 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Unmapping-LUN-from-igroup-urgent-help-needed/m-p/134901#M29583</guid>
      <dc:creator>J-L-B</dc:creator>
      <dc:date>2017-09-29T20:15:58Z</dc:date>
    </item>
  </channel>
</rss>

