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

Document created by RSA Customer Support Employee on Jun 15, 2016Last modified by RSA Customer Support on Feb 1, 2018
Version 3Show Document
  • View in full screen mode

Article Content

Article Number000029500
Applies ToRSA Product Set: Security Analytics
RSA Product/Service Type: Packet Hybrid, Log Hybrid , Log Decoder , Packet Decoder , Warehouse , Concentrator , Broker , 
RSA Version/Condition: 10.4.0.0, 10.4.0.1, 10.3 , 10.3.1 , 10.3.2, 10.3.3, 10.2 ,10.1 
Platform: CentOS
O/S Version: 6 , 5
IssueThe 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
CauseVirtual 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 Security Analytics appliances.  

Attachments

    Outcomes