Skip to content

Pages: 1 2

8 Comments

  1. Boris Büttner
    July 4, 2018 @ 2:47 am

    Thank you very much we had the same issue even though all ESX hosts had the same patchlevel. All the time one datastore was reverting to the original size. Your workaround fixed it.

    Reply

  2. Jeff
    July 13, 2018 @ 3:23 pm

    Thanks! This worked for us, as well! We were running the same version of ESX across all hosts and kept having a handful of datastores revert to their original size…even after upgrading all ESX hosts. After performing the workaround as described, the issue is fixed! I’m glad it was simple.

    Reply

  3. Tom Borcher
    October 19, 2018 @ 10:01 am

    Thank you! We had this problem with one of our datastores too. And like the other commenters, all hosts in the datacenter were running the same version of ESXi (in our case it was 6.5U1g – 7967591). Rescanning all hosts worked. FYI, you can just select the cluster (if the hosts are in a cluster) and kick off a scan of all the hosts rather than scanning them one at a time. Thanks again!

    Reply

  4. Lucas Vieira
    December 4, 2018 @ 1:42 am

    Thxxx!!! Worked for me, i wasted some hours to discovery this shit.

    Reply

  5. VNA Admin
    January 8, 2019 @ 4:47 pm

    That did the trick, thank you!

    Reply

  6. vikram ma
    July 10, 2019 @ 10:02 pm

    thank you.. issue fixed permanently

    Reply

  7. Kevin
    August 30, 2019 @ 11:12 am

    I do a lot of datastore expansions and run into this issue ALL the time… Thank you Amira for the solution!

    How about a PowerCLI script to automate this? On my last expansion I ran this script after the LUN expansion and again after the datastore expansion. Worked for me!

    import-module “VMware.VimAutomation.Core”
    connect-viserver
    Get-Datacenter | Get-VMHost | Get-VMHostStorage -Refresh
    Get-Datacenter | Get-VMHost | Get-VMHostStorage -RescanAllHba
    Get-Datacenter | Get-VMHost | Get-VMHostStorage -RescanVmfs
    sleep 10
    Get-Datacenter | Get-VMHost | Get-VMHostStorage -Refresh
    Get-Datacenter | Get-VMHost | Get-VMHostStorage -RescanAllHba
    Get-Datacenter | Get-VMHost | Get-VMHostStorage -RescanVmfs

    Reply

  8. Oliver Saße
    January 8, 2021 @ 6:56 am

    Thank you very much. We had the same issue. All the time the datastore was reverting to the original size, but your workaround fixed it.

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *