you need to build ZFS Zpool https://wiki.ubuntu.com/ZFS/ZPool
please read about differences and similarities
https://www.klennet.com/notes/2019-07-04-raid5-vs-raidz.aspx
and you add to it HDD for Z1/ Z2 min 4/5HDD and SSD with logs and cache - I am using it from 2015 and do not have any...