Recently, I decided to get a big upgrade for my home NAS, so I had to set up a RAID array once again. Since I’m not doing this on a daily basis, I tend to forget the commands, so I have a document with all the instructions. I think that it might be helpful for some of you, so I polished it up a bit.
I’m going to cover the following aspects of the process:
- choosing the drives
- choosing and setting up the HBA
- choosing a software RAID solution
- and finally setting up the array itself
Thank you for sharing and also mentioning FS RAID solutions like zfs and btrfs.
I am in the process of creating my home NAS via nixos, "so i dont have to remember these steps". But as it seems, maintaining a RAID always involves manual steps.
I havent decided on zfs/btrfs/mdadm yet, but i am inclined to turn toward a FS solution, since they have apparently more resilience features, which mdadm lacks. Unfortunately you didnt touch that aspect of mdadm, maybe there are some knobs and alerts to tune.
I’m going to cover the following aspects of the process: - choosing the drives - choosing and setting up the HBA - choosing a software RAID solution - and finally setting up the array itself