<?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: how to avoid suprise removal of disk on host when using remove-nclunmap in Microsoft Virtualization Discussions</title>
    <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/how-to-avoid-suprise-removal-of-disk-on-host-when-using-remove-nclunmap/m-p/157582#M6204</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;The powershell toolkit does not have any other command that map more to snapdrive beside the one you are using or can find in the TR below:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.netapp.com/us/media/tr-4475.pdf" target="_blank"&gt;https://www.netapp.com/us/media/tr-4475.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Add-N?LunMap Maps the LUN to all the initiators in the specified initiator group&lt;/P&gt;
&lt;P&gt;Remove-N?LunMap Reverses the effect of Add-NaLunMap on the specified LUN for&lt;BR /&gt;the specified group&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When issuing the remove-Nlunmap the behavior you seeing in your host is expected as this ID 157 was introduced in windows 8.1 and server&amp;nbsp;&lt;SPAN&gt;2012 R2 to log a record of a disk disappearing.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://docs.microsoft.com/en-us/archive/blogs/ntdebugging/event-id-157-disk-has-been-surprise-removed" target="_blank"&gt;https://docs.microsoft.com/en-us/archive/blogs/ntdebugging/event-id-157-disk-has-been-surprise-removed&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 08 Jul 2020 01:27:45 GMT</pubDate>
    <dc:creator>hmoubara</dc:creator>
    <dc:date>2020-07-08T01:27:45Z</dc:date>
    <item>
      <title>how to avoid suprise removal of disk on host when using remove-nclunmap</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/how-to-avoid-suprise-removal-of-disk-on-host-when-using-remove-nclunmap/m-p/157081#M6196</link>
      <description>&lt;P&gt;Hey guys,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am currently working on a powershell module which would kinda give the same functionality that snapdrive would give us for lun management. (snapcenter would be a better option but this is not something which we have in place anyway).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Now, I have run into a problem where at a certain point i just want to disconnect a lun by using the powershell toolkit . I am using remove-nclunmap for this but this ofcourse has the effect that my host suddenly looses its connection to that particular disk.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And well,&amp;nbsp; the host is not that happy about it as it seems that no diskrelated diskcommando's are possible untill the host validates the suprise removal of the disk.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have also made sure that the volume is first dismounted from the system before removing the lunmap, but he keeps giving me a delay of 1-2 minutes before i can actually procceed with doing anything diskrelated.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do you guys have an idea how to actually solve this problem?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 11:04:41 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/how-to-avoid-suprise-removal-of-disk-on-host-when-using-remove-nclunmap/m-p/157081#M6196</guid>
      <dc:creator>JEROENVRANCKX</dc:creator>
      <dc:date>2025-06-04T11:04:41Z</dc:date>
    </item>
    <item>
      <title>Re: how to avoid suprise removal of disk on host when using remove-nclunmap</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/how-to-avoid-suprise-removal-of-disk-on-host-when-using-remove-nclunmap/m-p/157582#M6204</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;The powershell toolkit does not have any other command that map more to snapdrive beside the one you are using or can find in the TR below:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.netapp.com/us/media/tr-4475.pdf" target="_blank"&gt;https://www.netapp.com/us/media/tr-4475.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Add-N?LunMap Maps the LUN to all the initiators in the specified initiator group&lt;/P&gt;
&lt;P&gt;Remove-N?LunMap Reverses the effect of Add-NaLunMap on the specified LUN for&lt;BR /&gt;the specified group&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When issuing the remove-Nlunmap the behavior you seeing in your host is expected as this ID 157 was introduced in windows 8.1 and server&amp;nbsp;&lt;SPAN&gt;2012 R2 to log a record of a disk disappearing.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://docs.microsoft.com/en-us/archive/blogs/ntdebugging/event-id-157-disk-has-been-surprise-removed" target="_blank"&gt;https://docs.microsoft.com/en-us/archive/blogs/ntdebugging/event-id-157-disk-has-been-surprise-removed&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jul 2020 01:27:45 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/how-to-avoid-suprise-removal-of-disk-on-host-when-using-remove-nclunmap/m-p/157582#M6204</guid>
      <dc:creator>hmoubara</dc:creator>
      <dc:date>2020-07-08T01:27:45Z</dc:date>
    </item>
  </channel>
</rss>

