My first time to set up the partition on multiple hard drives (SSD + HDD1 + HDD2) using RAID technology. So according my research and Debian Wiki I decide to create the following scheme:
Where HDD2 is an external hard driver which suppose mirroring HDD1; HDD2=HDD1. So SDD and HDD1 also mirroring each other. So according to my understanding Debian Wiki the md scheme is:
So I'm trying to put most static files on SSD (in future adding noatime flags to make less writing on SSD) adn the rest of the system on HDD1. Which is also mirroring SSD files, in case if it failed. HDD2 is mirroring HDD1.
I'm confused with part md2=md10+SSD/partition2. How does it different from md2=HDD1/partition2 + HDD2/partition2 + SSD/partition2? Is it writing less information on SSD or I misunderstand something?
So after creating md raid partition, as I understand, I don't/need touch HDD/SSD partition now, right? I mean we work now only with md partitions, so just need to install Linux(in that case Manjaro), right?
Also HDD2 is an external drive, Do I need put any flags to active/main raid drive, after I create md(x) partition? If I unplug HDD2 and add some data, will it mirror this files on HDD1 when I plug it back?
In order to synchronize them I need to create a scheduler right? I mean if I want to sync them once a week, where I can do it (or I ned create a bash script)? And if it sync once a week automatic, but HDD2 will not be present at this time, so it will need to wait another week in order to sync, or it will sync automatically when it will plug in?
Many questions, just trying to understand how it suppose to work and how to sett this up. Thanks.