HostVmfsVolume

HostVmfsVolume
HostVmfsVolume

The VMFS file system.

AllOf
This class requires all of the following:
JSON Example
{
    "_typeName": "string",
    "type": "string",
    "name": "string",
    "capacity": 0,
    "blockSizeMb": 0,
    "blockSize": 0,
    "unmapGranularity": 0,
    "unmapPriority": "string",
    "unmapBandwidthSpec": {
        "_typeName": "string",
        "policy": "string",
        "fixedValue": 0,
        "dynamicMin": 0,
        "dynamicMax": 0
    },
    "maxBlocks": 0,
    "majorVersion": 0,
    "version": "string",
    "uuid": "string",
    "extent": [
        {
            "_typeName": "string",
            "diskName": "string",
            "partition": 0
        }
    ],
    "vmfsUpgradable": false,
    "forceMountedInfo": {
        "_typeName": "string",
        "persist": false,
        "mounted": false
    },
    "ssd": false,
    "local": false,
    "scsiDiskType": "string"
}
integer As int32 As int32
blockSizeMb
Required

Deprecated as of vSphere API 6.5, use HostVmfsVolume.blockSize instead.

Block size of VMFS.

Determines maximum file size. The maximum number of blocks is typically fixed with each specific version of VMFS. To increase the maximum size of a VMFS file, increase the block size.

The minimum block size is 1MB.

integer As int32 As int32
blockSize
Optional

Block size of VMFS in KB.

Determines maximum file size. The maximum number of blocks is typically fixed with each specific version of VMFS. To increase the maximum size of a VMFS file, increase the block size.

The minimum block size is 1MB.

integer As int32 As int32
unmapGranularity
Optional

VMFS unmap reclaims unused storage space.

This property determines the granularity of unmap operations. The unit is KB. If not specified, the default value is the same as the block size of VMFS HostVmfsVolume.blockSize. This property cannot be changed after a VMFS volume is created.

string
unmapPriority
Optional

VMFS unmap reclaims unused storage space.

This property determines the processing rate of unmaps. See HostVmfsVolumeUnmapPriorityEnum for supported values. If not specified, the default value is low, which means unmap is processed at low rate. This property can be updated by calling HostStorageSystem.UpdateVmfsUnmapPriority.

unmapBandwidthSpec
Optional

VMFS unmap reclaims unused storage space.

This data object type describes the specification of VMFS unmap bandwidth.

integer As int32 As int32
maxBlocks
Required

Maximum number of blocks.

Determines maximum file size along with blockSize. See information about the blockSize.

integer As int32 As int32
majorVersion
Required

Major version number of VMFS.

string
version
Required

Version string.

Contains major and minor version numbers.

string
uuid
Required

The universally unique identifier assigned to VMFS.

extent
Required

The list of partition names that comprise this disk's VMFS extents.

This property can be accessed via various enclosing objects. In VirtualCenter, where it can be accessed from multiple hosts, the value of this property may differ according to the context in which it is accessed. When accessed from the VmfsDatastoreInfo object, in VirtualCenter, this property reflects the extent information of any one of the hosts visible to the datastore.

For a VirtualCenter system which manages ESX Server 2.x and ESX Server 3.x hosts, this extent information is only correlatable across hosts if the extents are exposed on the same adapter on all hosts which can access them. To find the extent names for a specific host, this same property should be accessed via the host's HostFileSystemVolume object, by correlating the uuid of the VMFS datastore in the VmfsDatastoreInfo object to the uuid in the FileSystemVolume object.

For a Virtual Center system which manages only ESX Server hosts with versions 4.0 onwards , this extent information is correlatable across hosts, irrespective of the adapters the extents are exposed on.

boolean
vmfsUpgradable
Required

Can the filesystem be upgraded to a newer version.

See also HostStorageSystem.UpgradeVmfs.

forceMountedInfo
Optional

When the system detects a copy of a VmfsVolume, it will not be auto-mounted on the host and it will be detected as 'UnresolvedVmfsVolume'.

If user decides to keep the original Uuid and mount it on the host, it will have 'forceMounted' flag and 'forceMountedInfo' set. 'ForceMountedInfo' provides additional information specific to user-mounted VmfsVolume.

boolean
ssd
Optional

Indicates whether the volume is SSD backed.

If unset, the information whether the volume is SSD backed is unknown.

boolean
local
Optional

Indicates whether the volume is backed by local disk.

If unset, the information of the volume is local-disk backed is unknown.

string
scsiDiskType
Optional

The type of disk drives.

See ScsiDiskTypeEnum for supported types. If unset, the default disk drive type is native512.