Currently, I have a Synology DS423+ NAS which allows me:
- to store all my files (document, image, video, music)
- save photos from our phones
- to host my docker containers and a virtual machine
- to secure the storage of my files (RAID5)
- to have a modification history on particular directories
- ...
The problem is that the synology is not powerful enough to do what I want to do.
This part of your reply points to the need for an application server.
TrueNAS interests me because the ZFS file system allows:
- to have data integrity
- take snapshots
- to encrypt data
- to create redundancy
Here we come in the ZFS world and TrueNAS.
So about encryption, you should not touch that before you took a few years of experience with TrueNAS and ZFS. A single mistake and ZFS encryption will turn to a self-inflicted ransomware. Considering the almost non-existent cases where that encryption is of any use, do not touch this.
ZFS is surely very good at ensuring data integrity when all its requirements are satisfied. Unfortunately, you already discarded one of them (ECC).
Snapshots is also a fundamental feature that ZFS is very good at. Good that you separated snapshots and redundancy because indeed, snapshots are not redundant nor are they backups.
About redundancy, this point can be at different level (disk level, data level, server level). At disk level, we are talking about RaidZ and mirrors. Know that RaidZ1 is not considered safe anymore and it will betray you down the road. You should go for RaidZ2 or mirrors at least.
At data level, ZFS can create redundant copies within the same pool. That is of very little use and your resources will be better used by leaving that copy=1 (default) and do different redundancy.
Server level redundancy will require more than 1 server. Do you have a second server ? If you do, we will need the specs for the other one.
So for disk level redundancy, with only 4 drives, that leaves you with the usable space of only 2 drives.
It is dangerous to load a pool beyond 80%.
Because it is often difficult / costly to add space in a pool, it is not recommended to design a pool that will be loaded up to 50% day 1.
So that means you need each of your SSD drive be bigger than 100% of your actual data volume. I doubt this is the case but please confirm.
From what you described, you need an application server more than anything else. Of course, every application is meant to handle data, so you do need data storage.
TrueNAS is storage first, apps second and way behind.
Proxmox is application first, storage way behind.
Unraid and Synology try to score somewhere in between for both functions.
TrueNAS is specialized and enterprise-class solution but that means it also has some enterprise-class requirements.
Others are more consumer and end-user oriented, so their requirements like ECC are not the same.