VMWare – Get-DataStore

Get-DataStore

In a VMware vSphere 4.1 Update 1 or newer environment, the Datastores view and the Summary tab in vCenter Server report an incorrect amount of free space on the hostIn a direct vSphere Client connection to an ESXi/ESX host, the values may be reported correctly if you manually refreshEven after a manual refresh, the values may eventually be shown incorrectly.(origin Link)

 

The design of the vCenter Server environment in vSphere 4.1 Update 1 and later may show freespace of datastores in various resource windows which are out of sync from the actual value on the host for a period of five minutes. The vpxa agent on each host schedules a thread to monitor the free space on the datastore every five minutes; if the change in value is greater than 100 MB, it re-syncs this value on  vCenter Server.(origin Link)

 

 

so what we do ? how you can handle it ?

this issue can be resolved easily with oneline of PowerCLI of course do not forget to load the VMWare Automation Module –

load  VMWare Automation Module

 

check DataStore

to check it on real time just add “-Refresh”

 

 

 

(Visited 1,404 times, 1 visits today)

Leave a Reply