Start a Conversation

Unsolved

MG

4 Posts

395

November 24th, 2022 05:00

On IDRAC9 SecureErase is giving operation not supported error.

We have been trying to delete the physical disks using redfish API and able  to delete disks under Storage/RAID.Slot.3-1/Drives/ using below redfish api  

 

 

redfish/v1/Systems/System.Embedded.1/Storage/RAID.Slot.3-1/Drives/Disk.Bay.5:Enclosure.Internal.0-0:RAID.Slot.3-1/Actions/Drive.SecureErase

 

 

But when we are trying to delete the drives under Storage/AHCI.Integrated.1-1/Drives using below redfish api  

 

 

redfish/v1/Systems/System.Embedded.1/Storage/AHCI.Integrated.1-1/Drives/Disk.Direct.1-1:AHCI.Integrated.1-1/Actions/Drive.SecureErase

 

 

We are getting below error message:

 

 

"The operation cannot be completed either because the operation is not supported on the target device, or the RAIDType of \"MD Software RAID\" does not allow the operation.

 

Even the drive details say it is supported

Few disk details -->

"SystemEraseCapability":"CryptographicErasePD"

"CryptographicEraseCapable":"Capable"

"RAIDType":"Unknown","RaidStatus":"NonRAID"

 

Below is complete error

 

 

{"error":{"@Message.ExtendedInfo":[{"Message":"The operation cannot be completed either because the operation is not supported on the target device, or the RAIDType of \"MD Software RAID\" does not allow the operation.","MessageArgs":[],"MessageArgs@odata.count":0,"MessageId":"IDRAC.2.5.STOR058","RelatedProperties":[],"RelatedProperties@odata.count":0,"Resolution":"Do the following and retry the operation: 1) Make sure that the target device supports the operation. 2) Make sure that if the RAIDType is set to \"MD Software RAID\" ensure that is the desired value. For more information, see the iDRAC User's Guide available on the support site.","Severity":"Informational"}],"code":"Base.1.8.GeneralError","message":"A general error has occurred. See ExtendedInfo for more information"}}

 

 

 

NOTE: If this is the expected behaviour then is there any other way to delete the Storage/AHCI.Integrated.1-1/Drives/Disk.Direct.1-1:AHCI.Integrated.1-1 using any other redfish erase api?

4 Operator

 • 

3K Posts

November 24th, 2022 20:00

What iDRAC FW you have on the server? Can you try with latest iDRAC FW if you do not have latest iDRAC FW. You can also perform a Get on drive URI and check whether Action showing secure erase.

November 25th, 2022 04:00

Hi Thanks for quick turnaround.

Yes drive Get shows secure erase, below is partial output of get drive URI

 

{"@odata.context":"/redfish/v1/$metadata#Drive.Drive","@odata.id":"/redfish/v1/Systems/System.Embedded.1/Storage/AHCI.Integrated.1-1/Drives/Disk.Direct.1-1:AHCI.Integrated.1-1","@odata.type":"#Drive.v1_10_0.Drive","Actions":{"#Drive.SecureErase":{"@Redfish.OperationApplyTimeSupport":{"@odata.type":"#Settings.v1_3_1.OperationApplyTimeSupport","SupportedValues":["Immediate","OnReset"]},"target":"/redfish/v1/Systems/System.Embedded.1/Storage/AHCI.Integrated.1-1/Drives/Disk.Direct.1-1:AHCI.Integrated.1-1/Actions/Drive.SecureErase"}}

 

 

And we are using iDRAC firmware version: 5.10.10.00, We will try with latest 6.x.x series and come back with the results.

Thanks ,

Mayank

#IWork4Dell 

No Events found!

Top