Reference Guide

Species the volume size. Enter the number of 512-byte blocks or the total byte size. To specify a total byte size, use k for kilobytes, m for
megabytes, g for gigabytes, or t for terabytes. For example: enter 32m to specify a block size of 32 MB. This option is required.
–storageprofile string
Species a Storage Prole for the volume. Use storageprole show to show a list of available Storage Proles.
–storageprofileindex integer
Species a Storage Prole index for the volume. Use storageprole show to show a list of available Storage Proles.
–storagetype string
Species a storage type for the volume. This option overrides values specied for the –redundancy, –pagesize, and –diskfolder options. If
there is more than one storage type of the same name on the Storage Center, the rst storage type found that matches the name is used.
–storagetypeindex integer
Species a storage type index for the volume. When you specify this option, storage types are found by their indexes. Using this option
guarantees that all storage types with the same name on a Storage Centerare found.
–writecache {true | false}
Enables or disables volume write cache. Specify true (or 1) to enable volume write cache or specify false (or 0) to disable volume write
cache. The default is false.
Mapping a Volume
The Command Utility supports the ability to map to a server that is oine. If a server is oine, the volume create command creates a
mapping prole to the down server. The actual mapping is not created until the server is back online. Therefore, validation of server
creation and/or mapping success cannot be determined until the server is back online.
Basic Examples
Create a 32-GB volume:
volume create -name 'volume 1' -size 32g
Create a volume in a folder:
volume create -name 'volume 1' -size 32g -folder 'vol folder 1'
Create a volume using the maxwrite option:
volume create -name testvol3 -size 32g -maxwrite 32g
Create a Volume with a Specic Storage Prole
volume create -name 'volume 1' -size 32g -storageprofile 'Low Priority'
Create Volumes with Cache Settings
volume create -name testvolread -size 32g -readcache true -writecache false
volume create -name testvolwrite -size 32g -readcache false -writecache true
volume create -name testvolboth -size 32g -readcache true -writecache true
Command Reference
81