Host Nvdimm System Create Nvdimm P Mem Namespace Task
Create persistent memory mode nvd namespace from information passed in PMemNamespaceCreationSpec.
A new persistent namespace can be created on the NVDIMM(s) when the system is in maintenance mode. If all the parameters passed are valid and system is in maintenance mode, then a DSM (Device Specific Method) call is made to create the namespace. DSM calls are blockable and slow operations and hence the use of task.
If a new namespace is created, its UUID is returned.
Required privileges: Host.Config.Nvdimm
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 HostNvdimmSystem/{moId}
.
The vSphere release schema. The current specification covers vSphere 8.0.2.0 APIs.
{
"createSpec": {
"_typeName": "string",
"friendlyName": "string",
"size": 0,
"interleavesetID": 0
}
}
Arguments for creating a persistent memory mode namespace
This method returns a Task object which is used to monitor this operation. The task result (info.result) contains a NvdimmGuid object that has the UUID of the newly created namespace.
{
"_typeName": "string",
"type": "string",
"value": "string"
}
InvalidArgument: if an argument to create namespace is invalid.
NotSupported: if no NVDIMMs are found or if operation does not have the supporting DSM method.
InvalidHostState: if operation is not allowed as system is not in maintenance mode.
AlreadyExists: if the namespace of type already exists.
SystemError: for other system errors along with localized reason for failure.
HostConfigFault: for any other failure.
{
"_typeName": "string",
"faultCause": "MethodFault Object",
"faultMessage": [
{
"_typeName": "string",
"key": "string",
"arg": [
{
"_typeName": "string",
"key": "string",
"value": {
"_typeName": "string"
}
}
],
"message": "string"
}
]
}