Host Storage System Resolve Multiple Unresolved Vmfs Volumes Ex Task
Resignature or 'Force Mount' list of unbound VMFS volumes.
To safely enable sharing of the volume across hosts, a VMFS volume is bound to its underlying block device storage. When a low level block copy is performed to copy or move the VMFS volume, the copied volume will be unbound. In order for the VMFS volume to be usable, a resolution operation is needed to determine whether the VMFS volume should be treated as a new volume or not and what extents compose that volume in the event there is more than one unbound volume.
Resignature results in a new VMFS volume on the host. Operations performed at the HostStorageSystem interface apply only to a specific host. Hence, callers of this method are responsible for issuing rescan operations to detect the new VMFS volume on other hosts. Alternatively, callers that want VirtualCenter to handle rescanning the necessary hosts should use the HostDatastoreSystem interface.
When user wants to keep the original VMFS UUID and mount it on the host, set the resolutionSpec.uuidResolution (uuidResolution) to forceMount. This is per-host operation.
It will return an array of HostUnresolvedVmfsResolutionResult describing success or failure associated with each specification.
This method behaves the same as ResolveMultipleUnresolvedVmfsVolumes except that it returns a task to support monitoring the operation. This is important for operations with large number of unresolved volumes which may take potentially dozens of minutes to complete.
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.
Show optional properties
{
"resolutionSpec": [
{
"extentDevicePath": [
{}
],
"uuidResolution": "string"
}
]
}
{
"resolutionSpec": [
{
"_typeName": "string",
"extentDevicePath": [
"string"
],
"uuidResolution": "string"
}
]
}
List of data object that describes what the disk extents to be used for creating the new VMFS volume.
This method returns a Task object with which to monitor the operation. The info.result property in the Task contains an array of HostUnresolvedVmfsResolutionResult describing success or failure associated with each specification.
{
"_typeName": "string",
"type": "string",
"value": "string"
}
HostConfigFault: if batch operation fails on the host. Because the returned array of ResolutionResult contains the new VMFS volume or fault for each operation, as of vSphere API 5.x, we won't throw fault when batch operation fails.
{
"_typeName": "string",
"faultCause": "MethodFault Object",
"faultMessage": [
{
"_typeName": "string",
"key": "string",
"arg": [
{
"_typeName": "string",
"key": "string",
"value": {
"_typeName": "string"
}
}
],
"message": "string"
}
]
}