Host Storage System Mount Vmfs Volume
Mount the unmounted Vmfs volume.
A newly discovered vmfs volume will be mounted unless, it has been explicitly unmounted. The default mount behavior of Vmfs volumes is auto-mount. See UnmountVmfsVolume.
mountVmfsVolume is part of the Unmount / Detach workflow used when a device will be permanently removed. See also DetachScsiLun.
Required privileges: Host.Config.Storage
The unique identifier for the managed object to which the method attaches; the serialized managed object reference for a request has the form moType/moId
, in this case HostStorageSystem/{moId}
.
The vSphere release schema. The current specification covers vSphere 8.0.3.0 APIs.
"MountVmfsVolumeRequestType Object"
vmfsUuid
No Content
NotFound: if VMFS Uuid is not found on the host.
InvalidState: if
- The volume is already mounted.
- The volume is inaccessible.
HostConfigFault: for all other configuration failures.
"VimFault Object"
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/sdk/vim25/{release}/HostStorageSystem/{moId}/MountVmfsVolume