<?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: LUN SpaceReclaim Procedure-Get-NaHostDisk Hangs in Microsoft Virtualization Discussions</title>
    <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/LUN-SpaceReclaim-Procedure-Get-NaHostDisk-Hangs/m-p/47742#M2246</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mark, from where are you running this cmdlet? can you provide some more details&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Mar 2013 11:27:16 GMT</pubDate>
    <dc:creator>vinith</dc:creator>
    <dc:date>2013-03-06T11:27:16Z</dc:date>
    <item>
      <title>LUN SpaceReclaim Procedure-Get-NaHostDisk Hangs</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/LUN-SpaceReclaim-Procedure-Get-NaHostDisk-Hangs/m-p/47737#M2245</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using latest Powershell Toolkit for NetApp Ontap. Using Windows 2008 Core in a Hyper-V Cluster, Running DOT 7.3.2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I execute the NaHostDisk command to list the disk that I wish to "punch holes in", the server returns back the following message:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"The requested resource is in use"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have loaded the Powershell module into the PS dir on this server that IS part of the Windows Hyper-V Cluster. When I unmap the LUN and&lt;/P&gt;&lt;P&gt;run the same command, it returns like normal, but obviously not showing the LUN I wish to punch.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I map in the LUN from another server that is outside of the Hyper-V cluster, that same command just sits there and hangs (Note, all the other cluster host still see the LUN as well)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do I need to present this LUN exclusive to the server that I am using? Like remove from Hyper-V cluster and unmap from all the host that are part of the cluster except for the one I execute the PS command from?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Someone that knows Windows Hyper-V and punching holes in LUN's please help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2025 06:08:29 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/LUN-SpaceReclaim-Procedure-Get-NaHostDisk-Hangs/m-p/47737#M2245</guid>
      <dc:creator>markryanwillis</dc:creator>
      <dc:date>2025-06-05T06:08:29Z</dc:date>
    </item>
    <item>
      <title>Re: LUN SpaceReclaim Procedure-Get-NaHostDisk Hangs</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/LUN-SpaceReclaim-Procedure-Get-NaHostDisk-Hangs/m-p/47742#M2246</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mark, from where are you running this cmdlet? can you provide some more details&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Mar 2013 11:27:16 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/LUN-SpaceReclaim-Procedure-Get-NaHostDisk-Hangs/m-p/47742#M2246</guid>
      <dc:creator>vinith</dc:creator>
      <dc:date>2013-03-06T11:27:16Z</dc:date>
    </item>
    <item>
      <title>Re: LUN SpaceReclaim Procedure-Get-NaHostDisk Hangs</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/LUN-SpaceReclaim-Procedure-Get-NaHostDisk-Hangs/m-p/47745#M2247</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As I indicated in my original post:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"&lt;/P&gt;&lt;P style="font-family: Arial, Helvetica, Verdana, sans-serif; color: #454545; background-color: #ffffff;"&gt;I have loaded the Powershell module into the PS dir on this server that IS part of the Windows Hyper-V Cluster. When I unmap the LUN and&lt;/P&gt;&lt;P style="font-family: Arial, Helvetica, Verdana, sans-serif; color: #454545; background-color: #ffffff;"&gt;run the same command, it returns like normal, but obviously not showing the LUN I wish to punch."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: Arial, Helvetica, Verdana, sans-serif; color: #454545; background-color: #ffffff;"&gt;AND&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: Arial, Helvetica, Verdana, sans-serif; color: #454545; background-color: #ffffff;"&gt;"&lt;SPAN style="color: #454545; font-family: Arial, Helvetica, Verdana, sans-serif; background-color: #ffffff;"&gt;When I map in the LUN from another server that is outside of the Hyper-V cluster, that same command just sits there and hangs (Note, all the other cluster host still see the LUN as well)&lt;/SPAN&gt;"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: Arial, Helvetica, Verdana, sans-serif; color: #454545; background-color: #ffffff;"&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Mar 2013 14:22:01 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/LUN-SpaceReclaim-Procedure-Get-NaHostDisk-Hangs/m-p/47745#M2247</guid>
      <dc:creator>markryanwillis</dc:creator>
      <dc:date>2013-03-06T14:22:01Z</dc:date>
    </item>
    <item>
      <title>Re: LUN SpaceReclaim Procedure-Get-NaHostDisk Hangs</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/LUN-SpaceReclaim-Procedure-Get-NaHostDisk-Hangs/m-p/47749#M2248</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a clustered Hyper-V set up with a CSV file and a dedicated disk attached to one of the two hosts in the cluster &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OCPMHyperv1 has a dedicated disk attached to it so if i run Get-NaHostDisk -DataOntap i get a result of all List all disks on the local Windows host that are served by Data ONTAP LUNs&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="http://community.netapp.com/legacyfs/online/19119_hyperv1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now if i run the similar command in OCPMHyperv2 which has only csv attached i get the below output, you can also see that now the dedicated disk attached to ocpmhyperv1 does not show up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="http://community.netapp.com/legacyfs/online/19120_hyperv2.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I Guess you need to exclusively present this LUN to the server you are using and it should work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Mar 2013 14:36:10 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/LUN-SpaceReclaim-Procedure-Get-NaHostDisk-Hangs/m-p/47749#M2248</guid>
      <dc:creator>vinith</dc:creator>
      <dc:date>2013-03-06T14:36:10Z</dc:date>
    </item>
    <item>
      <title>Re: LUN SpaceReclaim Procedure-Get-NaHostDisk Hangs</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/LUN-SpaceReclaim-Procedure-Get-NaHostDisk-Hangs/m-p/47758#M2249</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the information. I really do appreciate you help.&lt;/P&gt;&lt;P&gt;I'm still not having any luck though. I ensured that the server I was on (running pS) had ownership of just one CSV and no others (although the other host in the cluster are still zoneds and mapped to same luns), and still get the following message:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS C:\Windows\System32&amp;gt; Get-NaHostDisk&lt;/P&gt;&lt;P&gt;Get-NaHostDisk : The requested resource is in use. (Exception from HRESULT: 0x800700AA)&lt;/P&gt;&lt;P&gt;At line:1 char:15&lt;/P&gt;&lt;P&gt;+ Get-NaHostDisk &amp;lt;&amp;lt;&amp;lt;&amp;lt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; + CategoryInfo&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : NotSpecified: (:) [Get-NaHostDisk], COMException&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; + FullyQualifiedErrorId : System.Runtime.InteropServices.COMException,DataONTAP.PowerShell.SDK.Cmdlets.Windows.GetHostDisk&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know this works as I'm able to run on CSV's that I have completely unmapped from everything but the server I run the PS from. I'm just thinking in a production environment where I am trying to reclaim storage, I am not going to be able to do that process.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ever see that error message before?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Mar 2013 17:30:34 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/LUN-SpaceReclaim-Procedure-Get-NaHostDisk-Hangs/m-p/47758#M2249</guid>
      <dc:creator>markryanwillis</dc:creator>
      <dc:date>2013-03-06T17:30:34Z</dc:date>
    </item>
  </channel>
</rss>

