VMware Cloud Community
tdubb123
Expert
Expert

esxcli storage vmfs unmap process status

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

Reply
0 Kudos
6 Replies
SureshKumarMuth
Commander
Commander

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

Regards,
Suresh
https://vconnectit.wordpress.com/
tdubb123
Expert
Expert

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

Reply
0 Kudos
SureshKumarMuth
Commander
Commander

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.

Regards,
Suresh
https://vconnectit.wordpress.com/
Reply
0 Kudos
alharri
Contributor
Contributor

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

Reply
0 Kudos
sgas_harbin
Contributor
Contributor

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).

Reply
0 Kudos
SupreetK
Commander
Commander

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

Reply
0 Kudos