Host Storage System Format Vffs
Format a new VFFS on a SSD disk
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.2.0 APIs.
{
"createSpec": {
"_typeName": "string",
"devicePath": "string",
"partition": {
"_typeName": "string",
"partitionFormat": "string",
"chs": {
"_typeName": "string",
"cylinder": 0,
"head": 0,
"sector": 0
},
"totalSectors": 0,
"partition": [
{
"_typeName": "string",
"partition": 0,
"startSector": 0,
"endSector": 0,
"type": "string",
"guid": "string",
"logical": false,
"attributes": 0,
"partitionAlignment": 0
}
]
},
"majorVersion": 0,
"volumeName": "string"
}
}
A data object that represents the VFFS file system.
{
"_typeName": "string",
"type": "string",
"name": "string",
"capacity": 0,
"majorVersion": 0,
"version": "string",
"uuid": "string",
"extent": [
{
"_typeName": "string",
"diskName": "string",
"partition": 0
}
]
}
Major version number of VFFS.
Version string.
Contains major and minor version numbers.
The universally unique identifier assigned to VFFS.
The list of partition names that comprise this disk's VFFS extents.
InvalidArgument: if VFFS version is invalid, the SSD disk does not exist or is of an invalid type.
AlreadyExists: if the volume name is already being used by another volume on the host.
HostConfigFault: for all other configuration failures.
ResourceInUse: VFFS volume is being used.
{
"_typeName": "string",
"faultCause": "MethodFault Object",
"faultMessage": [
{
"_typeName": "string",
"key": "string",
"arg": [
{
"_typeName": "string",
"key": "string",
"value": {
"_typeName": "string"
}
}
],
"message": "string"
}
]
}