I'm repurposing a PC as a NAS.
Specs:
Gigabyte Aorus x570 Master motherboard
Ryzen 2700X CPU
32GB 3200MHz non-ECC RAM
Seasonic Prime 750W PSU
2 x OEM Samsung 512GB Gen 3 NVME SSDs
6 x Seagate Exos X14 12TB HDDs
The GPU will be removed after I've configured everything.
I'm running Ubuntu 22.04 server on the NVMEs (set up in RAID1 via the motherboard: I don't know if it's necessary, but I did it anyway). This is a learning project, so I opted to go the Ubuntu route vs something like TrueNAS. This is meant to eventually become my main NAS, at which point I'll likely add ECC RAM to the system (unbuffered, as buffered/registered ECC RAM is apparently incompatible with x570 motherboards).
Aside from being a learning platform, the NAS will primarily serve for data storage (backups of different devices, photos and video, etc.). I also place a lot of value in data integrity at the expense of some performance and cost. I'll definitely be using encryption and as many data protection features as I can reasonably enable.
I know that many people prefer ZFS to MD RAID for similar scenarios, and that ZFS offers many built-in data corruption protections. From what I've read, the most compelling use case for MD RAID, aside from niche scenarios, appears to be its slightly better performance (with similar resources). I'm still undecided, especially since a lot of the articles/posts I've read comparing ZFS to MD RAID are now pretty old. Normally I'd be leaning towards ZFS, but some more recent posts mention that dm-integrity offers some of the same benefits of ZFS, albeit the MD RAID/dm-integrity combo is less intuitive to set up and use.
Question: Can MD RAID/dm-integrity play a similar role as ZFS, in terms of avoiding data corruption? I'm willing to put in some time to learn how the first combination works, but I need to strike some balance between performance/safety/convenience since I don't have unlimited time.
Specs:
Gigabyte Aorus x570 Master motherboard
Ryzen 2700X CPU
32GB 3200MHz non-ECC RAM
Seasonic Prime 750W PSU
2 x OEM Samsung 512GB Gen 3 NVME SSDs
6 x Seagate Exos X14 12TB HDDs
The GPU will be removed after I've configured everything.
I'm running Ubuntu 22.04 server on the NVMEs (set up in RAID1 via the motherboard: I don't know if it's necessary, but I did it anyway). This is a learning project, so I opted to go the Ubuntu route vs something like TrueNAS. This is meant to eventually become my main NAS, at which point I'll likely add ECC RAM to the system (unbuffered, as buffered/registered ECC RAM is apparently incompatible with x570 motherboards).
Aside from being a learning platform, the NAS will primarily serve for data storage (backups of different devices, photos and video, etc.). I also place a lot of value in data integrity at the expense of some performance and cost. I'll definitely be using encryption and as many data protection features as I can reasonably enable.
I know that many people prefer ZFS to MD RAID for similar scenarios, and that ZFS offers many built-in data corruption protections. From what I've read, the most compelling use case for MD RAID, aside from niche scenarios, appears to be its slightly better performance (with similar resources). I'm still undecided, especially since a lot of the articles/posts I've read comparing ZFS to MD RAID are now pretty old. Normally I'd be leaning towards ZFS, but some more recent posts mention that dm-integrity offers some of the same benefits of ZFS, albeit the MD RAID/dm-integrity combo is less intuitive to set up and use.
Question: Can MD RAID/dm-integrity play a similar role as ZFS, in terms of avoiding data corruption? I'm willing to put in some time to learn how the first combination works, but I need to strike some balance between performance/safety/convenience since I don't have unlimited time.