Skip to content
  • There are no suggestions because the search field is empty.

RSA NetWitness Platform MegaCli returns The current operation is not allowed because the controller has data in cache for offline or missing virtual drives error.

Issue

The MegaCli64 tool returns the following error when the CfgLdAdd command is used. 
 
MegaCli64 -CfgLdAdd -r0 [32:10] -a1
 0: Configure Adapter Failed
 error description: 
  The current operation is not allowed because the controller has data in cache for offline or missing virtual drives.  

 Code: 0x54

Cause

Virtual disk configuration has not been deleted correctly from the RAID controller.  To confirm, please use the GetPreservedCacheList command to see which virtual disk is failing. 
MegaCli64 -GetPreservedCacheList -aALL                                     
Adapter #1
Virtual Drive(Target ID 11): Missing.
Exit Code: 0x00

Workaround

  1. First, discard the missing virtual disks configuration:  
MegaCli64 -DiscardPreservedCache -L11 -a1                                     
Adapter #0
Virtual Drive(Target ID 11): Preserved Cache Data Cleared.
Exit Code: 0x00
  1. Then configure the RAID:
MegaCli64 -CfgLdAdd -r0 [32:10] -a1                                     
Adapter 0: Created VD 11
Adapter 0: Configured the Adapter!!
Exit Code: 0x00

Notes

  • This example includes a specific enclosure and disk number that may be different on each appliance.  
  • Use the nwraidutil.pl script to get information on enclosure and disk numbers in each appliance. 
  • The command MegaCli64 is normally located in the  /opt/MegaRAID/MegaCli folder on RSA NetWitness appliances.  

Product Details

RSA Product Set: NetWitness Logs & Network
RSA Product/Service Type: Core Appliance
RSA Version/Condition: 10.6.x, 11.x 
Platform: CentOS 6, 7

Approval Reviewer Queue

RSA NetWitness Suite Approval Queue