VMware vSphere

 View Only
  • 1.  esxcli storage vmfs unmap process status

    Posted Oct 23, 2017 02:05 PM

    I am logged into an esxi host. how do I find out if my esxcli storage vmfs unmap process is still running?



  • 2.  RE: esxcli storage vmfs unmap process status

    Posted Oct 23, 2017 02:22 PM

    Check the /var/log/hostd.log, it should contain information on when the task was started and completed with Op-ID.



  • 3.  RE: esxcli storage vmfs unmap process status

    Posted Oct 23, 2017 02:37 PM

    what should it look like or what should i grep for?



  • 4.  RE: esxcli storage vmfs unmap process status

    Posted Oct 23, 2017 02:42 PM

    grep for key word "unmap", you may also check in vmkernel.log.

    For time stamp of the command execution you can check shell.log in case if the command was run from ssh.



  • 5.  RE: esxcli storage vmfs unmap process status

    Posted Jun 20, 2018 02:20 PM

    I am running esxcli storage vmfs unmap -u "uuid" from an idle HP Proliant BL460CG8 server on a 16TB 3Par presented storage LUN.

    I started it at approximately 11:15, its now 15:15.

    Can anyone give me guidelines on how long I should expect this process to take please?

    Cheers

    Al



  • 6.  RE: esxcli storage vmfs unmap process status

    Posted Sep 26, 2018 03:08 PM

    We usually see about 60GB/min reclamation rate with our VNX array, based on datastore free space.  So for a 5TB datastore with 2TB free space, it would take about 34 minutes.  But your mileage may vary.  I would recommend timing the process on a smaller volume and then planning accordingly.  You can watch the hostd.log file for completion of the process ( I believe it outputs a "Unmap Done" summary line).



  • 7.  RE: esxcli storage vmfs unmap process status

    Posted Sep 26, 2018 03:58 PM

    You can check in esxtop to see how much MB's are getting deleted (unmap issued) per second from the column 'MBDEL/s'. Refer VAAI Thin Provisioning Block Reclaim/UNMAP In Action - VMware vSphere Blog for more details.

    Cheers,

    Supreet