Creating RAID Group
POST /raidgroup
Introduction
Creates a RAID Group.
You can find the Href of the created RAID Group in resource_href_list of "GET /job/{job_id}".
Tenant users cannot execute this command.
Request Examples
This is an example of creating a RAID Group for a RAID Level 1 RAID Group named RAIDG with drives in Slot#0 and Slot #1 of DE#00.
$ curl -i -H "Content-Type:application/json" -H "Authorization: Bearer g17e4umvwYoHuhkG7yCSee.." -X POST "https://192.168.1.1:5665/api/v1/raidgroup" -d '{"name": "RAIDG","drive_id_list": ["0000","0001"],"level": "RAID1"}'This is an example of creating a RAID Group for a RAID Level 6FR named RAIDG.
$ curl -i -H "Content-Type:application/json" -H "Authorization: Bearer g17e4umvwYoHuhkG7yCSee.." -X POST "https://192.168.1.1:5665/api/v1/raidgroup" -d '{"name": "RAIDG","drive_id_list": ["0000","0001","0100","0101","0200","0201","0300","0301","0400","0401","0500"],"level": "RAID6FR","raid6fr_drive_configuration": "3Dx2_2Px2_1HS"}'
Response Examples
{
"job_id": 8192001,
"job_href": "/api/v1/job/8192001"
}
Parameters
REQUEST BODY
| name
(required) |
string RAID Group name. Input criteria:
|
||||||||||||||||||||||
| drive_id_list
(required) |
Array of strings Drives that configure the RAID Group. Specify drive_id for all the drives that configure the RAID Group. Format is as follows:
Input criteria:
|
||||||||||||||||||||||
| level
(required) |
string RAID Level.
|
||||||||||||||||||||||
| raid6fr_drive_configuration | string RAID Group Drive configuration for RAID 6FR. Indicates D: Data, P: Parity, and HS: Hot Spare.
Input criteria:
|
||||||||||||||||||||||
| assigned_cm | string Default: "Automatically selected." Assigned CM of the RAID Group. Specifies the CM assigned to the RAID Group. It is usually determined automatically to distribute the load per CM, so no specification is required. Specify this value if you want a specific CM to be the assigned CM. To use CE#0-CM#0, specify "00"; or to use CE#a-CM#1, specify "a1". If there is only one CE, it is assumed to be CE#0. |
Responses
If the job registration is successful, the HTTP status code will be 202 (Accepted) and the response body will respond.
RESPONSE BODY
| job_id | integer Job ID. |
| job_href | string Resource link of the job. |

