Redfish-Tacklebox icon indicating copy to clipboard operation
Redfish-Tacklebox copied to clipboard

RAID creation for internal HDD in the server

Open gparanth opened this issue 2 years ago • 1 comments

I want to create RAID1 for two internal hard disks in a server. Please guide me the procedure to do using redfish utilities

gparanth avatar May 16 '22 07:05 gparanth

We do not have a tool available in Tacklebox at the moment. However, the process would be to perform a POST operation to the VolumeCollection for the storage subsystem in the desired system where you reference the drives involved in the RAID, the capacity, and the raid type. It would look something like this:

POST /redfish/v1/Systems/1/Storage/1/Volumes

{
    "RAIDType": "RAID01",
    "CapacityBytes": 50000000000,
    "Links": {
        "Drives": [
            {
                "@odata.id": "/redfish/v1/Chassis/1/Drives/6"
            },
            {
                "@odata.id": "/redfish/v1/Chassis/1/Drives/7"
            }
        ]
    }
}

mraineri avatar May 17 '22 00:05 mraineri