Method Name | Request Type | Response Type | Description |
---|---|---|---|
ListVolumesOnDisk | ListVolumesOnDiskRequest | ListVolumesOnDiskResponse | ListVolumesOnDisk returns the volume IDs (in \.\Volume{GUID} format) for all volumes from a given disk number and partition number (optional) |
MountVolume | MountVolumeRequest | MountVolumeResponse | MountVolume mounts the volume at the requested global staging path. |
UnmountVolume | UnmountVolumeRequest | UnmountVolumeResponse | UnmountVolume flushes data cache to disk and removes the global staging path. |
IsVolumeFormatted | IsVolumeFormattedRequest | IsVolumeFormattedResponse | IsVolumeFormatted checks if a volume is formatted. |
FormatVolume | FormatVolumeRequest | FormatVolumeResponse | FormatVolume formats a volume with NTFS. |
ResizeVolume | ResizeVolumeRequest | ResizeVolumeResponse | ResizeVolume performs resizing of the partition and file system for a block based volume. |
GetVolumeStats | GetVolumeStatsRequest | GetVolumeStatsResponse | GetVolumeStats gathers total bytes and used bytes for a volume. |
GetDiskNumberFromVolumeID | GetDiskNumberFromVolumeIDRequest | GetDiskNumberFromVolumeIDResponse | GetDiskNumberFromVolumeID gets the disk number of the disk where the volume is located. |
GetVolumeIDFromTargetPath | GetVolumeIDFromTargetPathRequest | GetVolumeIDFromTargetPathResponse | GetVolumeIDFromTargetPath gets the volume id for a given target path. |
WriteVolumeCache | WriteVolumeCacheRequest | WriteVolumeCacheResponse | WriteVolumeCache write volume cache to disk. |
Field | Type | Label | Description |
---|---|---|---|
volume_id | string | Volume device ID of the volume to format. |
Intentionally empty.
Field | Type | Label | Description |
---|---|---|---|
volume_id | string | Volume device ID of the volume to get the disk number for. |
Field | Type | Label | Description |
---|---|---|---|
disk_number | uint32 | Corresponding disk number. |
Field | Type | Label | Description |
---|---|---|---|
target_path | string | The target path. |
Field | Type | Label | Description |
---|---|---|---|
volume_id | string | The volume device ID. |
Field | Type | Label | Description |
---|---|---|---|
volume_id | string | Volume device Id of the volume to get the stats for. |
Field | Type | Label | Description |
---|---|---|---|
total_bytes | int64 | Total bytes | |
used_bytes | int64 | Used bytes |
Field | Type | Label | Description |
---|---|---|---|
volume_id | string | Volume device ID of the volume to check. |
Field | Type | Label | Description |
---|---|---|---|
formatted | bool | Is the volume formatted with NTFS. |
Field | Type | Label | Description |
---|---|---|---|
disk_number | uint32 | Disk device number of the disk to query for volumes. | |
partition_number | uint32 | The partition number (optional), by default it uses the first partition of the disk. |
Field | Type | Label | Description |
---|---|---|---|
volume_ids | string | repeated | Volume device IDs of volumes on the specified disk. |
Field | Type | Label | Description |
---|---|---|---|
volume_id | string | Volume device ID of the volume to mount. | |
target_path | string | Path in the host's file system where the volume needs to be mounted. |
Intentionally empty.
Field | Type | Label | Description |
---|---|---|---|
volume_id | string | Volume device ID of the volume to resize. | |
size_bytes | int64 | New size in bytes of the volume. |
Intentionally empty.
Field | Type | Label | Description |
---|---|---|---|
volume_id | string | Volume device ID of the volume to dismount. | |
target_path | string | Path where the volume has been mounted. |
Intentionally empty.
Field | Type | Label | Description |
---|---|---|---|
volume_id | string | Volume device ID of the volume to flush the cache. |
Intentionally empty.