How can we reset a Powervault DAC Raid to it's initial configuration (all the disk Unconfigured). when we are switching the DAC from an Appliance to Another?
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.
It seems that version 11.3 may have changed things:
I don't have a seperate mountpoint now. It seems to be part of the volume group.
Thanks James !
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
Retrieving data ...