storcli add vd complains that "controller has data in cache for offline or missing virtual.

storcli add vd complains that "controller has data in cache for offline or missing virtual.

Environment:

VxRack Node Hardware

 

Description:

storcli add vd command returns error that "controller has data in cache for offline or missing virtual disks."

 

# /opt/MegaRAID/storcli/storcli64 /c0 add vd type=raid0 drives=252:4 direct wb ra

Controller = 0

Status = Failure

Description = controller has data in cache for offline or missing virtual disks

 

Unable to add virtual disks.​

 

 

Resolution:

The preserved cache needs to be cleared before proceeding to add virtual disks. During reboot, this can be done via controller BIOS. It can also be done with storcli:.

For a detailed step by step resolution please refer to EMC Support Solution 479900 https://support.emc.com/kb/479900