×
Menu
Index

createvolume

 

Description

 
Create a volume.
 
POST createvolume
 

Request

 
In addition to the Standard Request Structure, the following parameters are required.
 
For more information, consult section Parameters.
 
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
}
Made with help of Dr.Explain
Copyright (c) SoftNAS LLC