I have two 4TB HDDs, and I want to create a RAID 1 with them. I did that using mdadm, but after a reboot it was gone and I had to reassemble it manually.
have you created a mdadm.conf ?
Where i need to create it?
it's usually located in /etc
ARRAY /dev/md0 level=raid1 num-devices=2 metadata=1.2 name=OpenWrt:0 UUID=5ba5b9d8:efc48340:f2002d7b:6ea5cb4a
devices=/dev/sda1,/dev/sdb1
this is in /etc/mdadm.conf
do i need to create an /etc/mdadm/mdadm.conf
?
or do i need to edit /etc/config/mdadm
?