This issue is specific to the given hardware (HPE server) wherein SAS drives connected through the Microsemi HPE P* series SAS HBAs or through HPE SR 416i series controllers. After the secure-wipe operation is complete, the device rescans performed on these adapters (Microsemi HPE P* and HPE SR 416i*) does not report the securely wiped drive.
Issuing the CLI esxcfg-scsidevs -l after the secure-wipe operation does not list the drive which is just securely wiped.
This issue is caused by HBA firmware.
Follow the below Workaround:
1. Use HPE storage controller management (ssacli), the drive could be brought to an online state.
For example,
# esxcli ssacli cmd -q "ctrl slot=X pd XX:X:XX modify enable <erased_drive>"
2. After successful completion of step #1, ESXi device rescan (esxcfg-rescan -A or esxcli storage core adapter rescan -A <vmhba adapter> or esxcli storage core adapter rescan --all) should discover the lost device.
For example:
# esxcli ssacli cmd -q " ctrl slot=X pd all show status"
# esxcli storage core adapter rescan -A <vmhba adapter>
3. Once the given disk is shown online in "esxcli ssacli" (esxcli ssacli cmd -q "ctrl slot=X pd all show status"), list the devices on the ESX host and now it should show the lost device
# esxcli storage core device list