Re: naming system of raid devices
From: Rudy Zijlstra <hidden>
Date: 2021-01-02 22:13:27
On 02-01-2021 16:39, c.buhtz@posteo.jp wrote:
Thanks to you and all other answers. It helped me a lot to understand the backgrounds. On 2021-01-01 14:09 Phil Turmel [off-list ref] wrote:quoted
I recommend creating an mdadm.conf file containing ARRAY entries for your desired setup. Trim those lines to only have the desired name and UUID.Maybe I should open a new thread for that topic? Please correct me, because I am not an usual admin nor an mdadm expert. I do not want to convince you with the following! I just want to bring up my point of view and my opinion to make it possible for you experts to "correct" me. ;) I do not see the advantage of creating mdadm.conf. Via fstab I mount the devices by their UUID. And all other information's mdadm needs to use the RAID is stored in the superblock. So information's in mdadm.conf would be redundant. And especially for a non-routine home-admin like me each conf-file I modify keep the possibility of misstakes/missconfigurations and more problems. Keeping it as simple as possible is very important for my environment.
Nope, it is not redundant. It tells the init system that your UUID is on a raid device, which means it has to wait for the raid devices to be online. Without mdadm.conf it cannot know this.