Looking for some advice and knowlege validation about ZFS metadata and disaster recovery for my new build below.
hardware:
- 1TB PCIe 4.0 nvme (3500mb/s rw - passthru to TrueNAS VM)
- 4x 18TB drives
- TrueNAS Scale (running as a proxmox VM)
- SAS3008 HBA (passthrough from proxmox to VM)
My workload looks like:
- Proxmox VMs
- Filestorage
My primary goal is to leverage the NVME drive to its full potential to speed up my entire storage array/workloads. As I understand it, as long as I setup ZFS stripe data vdevs I can easily add or remove metadata vdevs as I please and I was able to validate this on a test VM.
However, I am not sure what a disaster scenario looks like when the metadata NVME drive dies unexpectedly. Would my data be safe? I am going to setup a stripe of mirror vdevs - so logically it would be:
data
- vdev1 (stripe)
—> 18TB
—> 18TB mirror - vdev2 (stripe)
—> 18TB
—> 18TB mirror - nvme_vdev
—> metadata + slog/cache (possibly take the 1TB and split into partitions to get two separate vdev’s out of a single physical nvme device)
Thanks in advance!