I've written up my experience (going into the 10th year now!) with a DIY home NAS [1],[2]. I recommend a dual setup:
- a software RAID 1 for important data (eg. contracts, receipts, emails, family pictures) paired with par2archive to counter bit rot - a JBOD with snapraid for large media collections
The posts go into details, eg. properly configuring ext4.
[1] https://blog.georgovassilis.com/2020/04/01/building-the-perf...
[2] https://blog.georgovassilis.com/2022/10/28/my-home-nas-setup...