Creating an OCFS2 Volume

Format

MethodPOST
URL

/tasks/create

Request contentsImageCreate Object
Successful answerTaskResult Object
Unexpected errorHTTP 500

VolumeCreate Object

Schema

typeStringTask type identifier. In this case, "volume_create"
volume_idStringUnique identifier for the new Volume
image_storage_idStringUnique identifier of the Image Storage which contains the Volume indicated by volume_id
primary_disk_idStringUUID of the physical disk

JSON example

{
    "type": "volume_create",
    "volume_id": "myVolume",
    "image_storage_id": "local",

    "primary_disk_id": "345678ee602fe3579"
}