Description
Create a new storage pool.
Request
Parameter
|
Required?
|
selectedItems
|
Y
|
pool_name
|
Y
|
raid_abbr
|
Y
|
forcedCreation
|
N
|
selectedItems - this is an array of devices; e.g., {/dev/sdb, /dev/sdc}
raid_abbr - the RAID type:
-
-
"1" - RAID 1/10 (mirror, striped mirrors)
-
"5" - RAID-Z (single parity)
-
"6" - RAID-Z2 (dual parity)
-
"7" - RAID-Z3 (triple parity)
Response
Example
{
"result": {
"msg": "Create pool 'pool1' was successful.",
"records": [],
"success": true,
"total": 0
},
"session_id": 27088,
"success": true
}
|