code
mdadm -E /dev/sd[a-c][0-3]
cat /proc/mdstats
mdamd --detail /dev/md125
grep for State
mdadm --detail --scan --verbose >> /etc/mdadm.conf
This also shows devices UUID
restorecon -R /mnt/raid1
where /mnt/raid1
is the mount path of the RAID
Build: https://www.tecmint.com/create-raid1-in-linux/
Repair: https://www.tecmint.com/recover-data-and-rebuild-failed-software-raid/
Reenable a disabled array: http://fibrevillage.com/storage/676-how-to-fix-linux-mdadm-inactive-array
Rescue mbr/UEFI: https://www.thegeekdiary.com/centos-rhel-7-how-to-reinstall-grub2-from-rescue-mode/