Hacker News new | past | comments | ask | show | jobs | submit login
Set up software RAID on Linux using mdadm (fndl.ro)
4 points by gergof 38 days ago | hide | past | favorite | 3 comments



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.


having few most probable disaster recovery cases are must like simulating drive failure or pilling drive while raid is working and recovery followup Also booting with degraded raid




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: