Reset a DAC Raid Configuration
You can run the following command to set the disks on the DAC to Unconfigured.
/opt/MegaRAID/MegaCli/MegaCli64 -CfgLdDel -LX -nolog -aY
where “X” is the RAID volume number that you want to delete, and “Y” is the RAID adaptor.
-Lall can be used to delete all volumes under the specified adaptor.
If LVs, VGs and PVs are still present and the existing appliance will continued to be in use, please perform the following steps for all LVs, VGs and PVs on the DAC before running the above command.
1. umount volumes
e.g. umount -f /var/netwitness/logdecoder/packetdb0
2. Make LVM Logical Volumes inactive (confirm by lvscan/lsblk -i whether correct LVs)
e.g. lvchange -an /dev/logdecoder0/packetdb
3. Remove inactive LVM (uses same LVs as lvchange)
lvremove -f /dev/logdecoder0/packetdb
4. Remove empty VG (confirm by vgdisplay -C whether correct VGs)
vgremove -f logdecoder0
5. Remove PV (confirm block device names by pvscan / lsblk -i)
pvremove -ff /dev/sde
Please contact RSA Support and refer an internal KB #26974 if any assistance is required with following these steps.
On a Hybrid S6 I could do it with:
/opt/MegaRAID/MegaCli/MegaCli64 -CfgLdDel -L0 -a1
/opt/MegaRAID/MegaCli/MegaCli64 -CfgLdDel -L1 -a1
In case of any doubt you check first with:
/opt/MegaRAID/MegaCli/MegaCli64 -LDInfo -L0 -a1
/opt/MegaRAID/MegaCli/MegaCli64 -LDInfo -L1 -a1