Creating iSCSI volumes

To create a volume, use the vstorage-target vol-create command. For example:

# vstorage-target vol-create -name vol1 -size 1G \
-vstorage-attr "replicas=3:2 failure-domain=host tier=0"
{
  "Id": "3277153b-5296-49c5-9b66-4c200ddb343d"
}

This command creates a 1 GB volume named vol1 on storage tier 0 with 3:2 replication and host as failure domain.