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.
Symptoms:
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
For securely wiped drives on Inspur platform, please follow the below mentioned steps to bring them online.
1. Use ARCCONF, the drive could be brought to an online state.
For example,
# ARCCONF SETSTATE <Controller#> DEVICE <Channel# ID#> EED
EED stands for Enable the 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 ARCCONF RESCAN ALL) should discover the lost device.
For example:
# ARCCONF RESCAN <Controller#> # esxcli storage core adapter rescan -A <vmhba adapter>
3. Once the given disk is shown online, list the devices on the ESX host and now it should show the lost device # esxcli storage core device list