vSphere Automation REST API /vm/guest/local-filesystem/get/ may return empty mapping information or show inconsistent disk information
search cancel

vSphere Automation REST API /vm/guest/local-filesystem/get/ may return empty mapping information or show inconsistent disk information

book

Article ID: 407463

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

vSphere Automation REST API /vm/guest/local-filesystem/get/ may not always report disk information depending on the context of the request. 

Environment

VMware vCenter Server 7.x

VMware vCenter Server 8.x

VMware vCenter Server 9.x

Resolution

The known limitations of requesting disk information:

  • Dynamic disks on Windows will return empty mapping information. Please see KB 313451 for more information on this issue and note that dynamic disks are now a deprecated feature on Windows. 
  • Because this API uses VMTools as the means to retrieve the data, VMTools must be version 11.0.0 or higher to access the information.
  • Information on Linux systems is broken up by filesystems, not disks. In this case all user accessible filesystems on the same disk will report the same "free_space" and "capacity" information.