<?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: esxcli storage vmfs unmap in Docker Container Integration</title>
    <link>https://community.hpe.com/t5/docker-container-integration/esxcli-storage-vmfs-unmap/m-p/6987169#M9</link>
    <description>&lt;P&gt;&lt;STRONG&gt;ESXi 5.5 and later:&lt;/STRONG&gt;&lt;/P&gt;&lt;P class="p"&gt;In ESXi 5.5, VMware have simplified the process by not requiring a lookup of the datastore device code, only a datastore name is required. Also, rather than creating a temporary ‘balloon file’ that processes all the requested unmaps in one swing (that can lead to the volume filling up if a too high a percentage is specified), unmaps are issued to the target volume in a steadier fashion.&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;SPAN class="ph"&gt;Connect to the ESXi hosts CLI via SSH. SSH access may need enabling through the vSphere clients security settings.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class="ph"&gt;Obtain the datastore name as shown in the vSphere client that the space discrepancy issue is seen on, and begin the unmap process using the following command:&lt;/SPAN&gt;&lt;P class="p"&gt;# esxcli storage vmfs unmap -l &amp;lt;datastore-name&amp;gt;&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P class="p"&gt;OR: If the array is utilizing a large percentage please consider unmaping a small amount of space&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; in each iteration using the -n flag.&lt;/P&gt;&lt;P class="p"&gt;# esxcli storage vmfs unmap -n &amp;lt;amount of blocks&amp;gt; -l &amp;lt;datastore-name&amp;gt;&lt;/P&gt;&lt;P class="p NormalWeb"&gt;&lt;SPAN class="ph"&gt;Example:&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;P class="p NormalWeb"&gt;# esxcli storage vmfs unmap -n 20 -l datastore1&lt;/P&gt;&lt;/DIV&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN class="ph"&gt;This command will unmap the entire datastore at 20MB per unmap operation, while the script is running.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P class="p"&gt;By default, the space reservation for the temporary files depends on the block size of the underlying VMFS file system (the default is&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;--reclaim-unit=200&lt;/EM&gt;):&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;200 MB for 1 MB block under VMFS3 / VMFS5&lt;/LI&gt;&lt;LI&gt;800 MB for 4 MB block under VMFS3&lt;/LI&gt;&lt;LI&gt;1600 MB for 8 MB block under VMFS3&lt;/LI&gt;&lt;/UL&gt;</description>
    <pubDate>Wed, 01 Nov 2017 17:38:54 GMT</pubDate>
    <dc:creator>barryram121</dc:creator>
    <dc:date>2017-11-01T17:38:54Z</dc:date>
    <item>
      <title>esxcli storage vmfs unmap</title>
      <link>https://community.hpe.com/t5/docker-container-integration/esxcli-storage-vmfs-unmap/m-p/6984035#M1</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am running esxi 6.0 and would like to reclaim some space by running this command on my nimble luns&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is there a specific ocmmand I should run as far as the reclaimable units?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;esxcli storage vmfs unmap 4000 ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what number should i use?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Oct 2017 18:10:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/docker-container-integration/esxcli-storage-vmfs-unmap/m-p/6984035#M1</guid>
      <dc:creator>vmw9</dc:creator>
      <dc:date>2017-10-23T18:10:46Z</dc:date>
    </item>
    <item>
      <title>Re: esxcli storage vmfs unmap</title>
      <link>https://community.hpe.com/t5/docker-container-integration/esxcli-storage-vmfs-unmap/m-p/6987169#M9</link>
      <description>&lt;P&gt;&lt;STRONG&gt;ESXi 5.5 and later:&lt;/STRONG&gt;&lt;/P&gt;&lt;P class="p"&gt;In ESXi 5.5, VMware have simplified the process by not requiring a lookup of the datastore device code, only a datastore name is required. Also, rather than creating a temporary ‘balloon file’ that processes all the requested unmaps in one swing (that can lead to the volume filling up if a too high a percentage is specified), unmaps are issued to the target volume in a steadier fashion.&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;SPAN class="ph"&gt;Connect to the ESXi hosts CLI via SSH. SSH access may need enabling through the vSphere clients security settings.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class="ph"&gt;Obtain the datastore name as shown in the vSphere client that the space discrepancy issue is seen on, and begin the unmap process using the following command:&lt;/SPAN&gt;&lt;P class="p"&gt;# esxcli storage vmfs unmap -l &amp;lt;datastore-name&amp;gt;&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P class="p"&gt;OR: If the array is utilizing a large percentage please consider unmaping a small amount of space&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; in each iteration using the -n flag.&lt;/P&gt;&lt;P class="p"&gt;# esxcli storage vmfs unmap -n &amp;lt;amount of blocks&amp;gt; -l &amp;lt;datastore-name&amp;gt;&lt;/P&gt;&lt;P class="p NormalWeb"&gt;&lt;SPAN class="ph"&gt;Example:&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;P class="p NormalWeb"&gt;# esxcli storage vmfs unmap -n 20 -l datastore1&lt;/P&gt;&lt;/DIV&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN class="ph"&gt;This command will unmap the entire datastore at 20MB per unmap operation, while the script is running.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P class="p"&gt;By default, the space reservation for the temporary files depends on the block size of the underlying VMFS file system (the default is&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;--reclaim-unit=200&lt;/EM&gt;):&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;200 MB for 1 MB block under VMFS3 / VMFS5&lt;/LI&gt;&lt;LI&gt;800 MB for 4 MB block under VMFS3&lt;/LI&gt;&lt;LI&gt;1600 MB for 8 MB block under VMFS3&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Wed, 01 Nov 2017 17:38:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/docker-container-integration/esxcli-storage-vmfs-unmap/m-p/6987169#M9</guid>
      <dc:creator>barryram121</dc:creator>
      <dc:date>2017-11-01T17:38:54Z</dc:date>
    </item>
  </channel>
</rss>

