|
Post by amithalperin on Sept 14, 2023 12:11:15 GMT
Hello, i want to configure raid1 on my Cisco servers, between two drives. in redfish i try to POST to URI "https://IP/redfish/v1/Systems/Serial_Number/Storage/MRAID/Volumes" and i add some pay load that contains: RAIDType Name CapacityBytes DrivesList Spans with DrivesList and SpanId and more configurations.
it gives me an error that the request must included "spans" and i don't know what is the problem. Can you give me an examples of the right request? or another way to configure raid1 between 2 drives in cisco raid controller.
|
|
|
Post by mraineri on Sept 14, 2023 12:33:58 GMT
Can you provide the exact payload? "Spans", "DrivesList", and "SpanId" are not standard properties. I would expect a payload to create a RAID volume would look like this at a bare minimum:
{ "RAIDType": "RAID0", "CapacityBytes": 1000000000000, "Links": { "Drives": [ { "@odata.id": "/redfish/v1/Chassis/1/Drives/5" }, { "@odata.id": "/redfish/v1/Chassis/1/Drives/6" }, { "@odata.id": "/redfish/v1/Chassis/1/Drives/10" }, { "@odata.id": "/redfish/v1/Chassis/1/Drives/15" } ] } } If it's requiring OEM properties, that's something that should be given back to Cisco as feedback since off the shelf tools will likely never implement OEM properties.
|
|
|
Post by amithalperin on Sept 28, 2023 12:54:59 GMT
hi, i can't take drives from "/redfish/v1/Chassis/1/Drives/5" i use "/redfish/v1/Systems/SERIAL_NUMBER/Storage/MRAID/Drives/1" and also i received the error on "spans"
|
|
|
Post by mraineri on Sept 28, 2023 14:26:42 GMT
Yes, that payload was just an example; you'd have to populate it with values that map to the system and what you're trying to accomplish.
I have no idea what "spans" is though; that isn't defined in the Volume schema. Are you able to provide a sample of what you're sending to the service? Again, I wouldn't expect a good service to require OEM properties; if Cisco's service is requiring that, it would need to be raised to their support to address.
|
|