Description
Create a volume.
Request
Parameter
|
Required?
|
vol_name
|
Y
|
pool
|
Y
|
vol_type
|
Y
|
provisioning
|
Y
|
reserve_space
|
Y
|
reserve_units
|
Y
|
compression
|
Y
|
dedup
|
Y
|
shareISCSI
|
Y
|
shareCIFS
|
Y
|
exportNFS
|
Y
|
enable_snapshots
|
Y
|
schedule_name
|
Y
|
hourlysnaps
|
Y
|
dailysnaps
|
Y
|
weeklysnaps
|
Y
|
Response
Example
{
"result": {
"msg": "Volume 'volume5' created.",
"records": [],
"success": true,
"total": 0
},
"session_id": 11255,
"success": true
}
|
Example 2
{
"result": {
"msg": "Volume 'volume6' created.",
"records": [],
"success": true,
"total": 0
},
"session_id": 11255,
"success": true
}
|