Moving from ext4-Based NAS to TrueNAS Server w/ a Pool of Mirrors: Suggestions on Recordsize for Various Datasets?

Hello,

I’m migrating from an ext4-based QNAP to a TrueNAS Scale system. The main ZFS pool on the TrueNAS comprises 4 mirror vdevs. Network connectivity is via 2x 10 GbE NICs in LACP mode. I’m not presently using any server-side encryption, and no NVME or SSD cache is present.

I need to get my stuff off the old NAS, and I want to make sure I know the recordsize to use for each of the datasets I have in mind. I’ve done some research and want to make sure I’ve got, if not the best, a recordsize that will at least not tank my performance in my … tank.

I’m including the intended share type here because I have a vague suspicion that different file sharing protocols are more or less efficient with different record sizes (and a professionally trained ZFS Person would probably be trained to understand those implications :wink: ) and, again, don’t want to shoot myself in the foot before I’ve even started.

  1. ISOs and .gz Files (Proxmox ISOs and LXC Template Files), to be Shared via NFS. Since all of these files measure in the dozens or hundreds of megabytes (for the templates) or dozens to hundreds of gigabytes, I’m pretty comfortable setting the recordize here to 1 MB. (Proxmox mounts these shares and puts some tiny management files in the shares, but I’m not worried about min-maxing my storage that much.
  2. Carbon Copy Cloner (Mac OS Backup Tool), via SMB: This tool makes a 1:1 copy of the user’s entire boot drive, with versioning information in the form of their SafetyNet feature. So it’d be a mixture of thousands of tiny and bigger files. I suppose I’m looking for a good mixed-use recordsize here? Just something that won’t kill performance.
  3. General Purpose Shared Folder for Mac OS User, via NFS or SMB(?). I’d like to set up a share for daily use remote storage, to be accessed primarily from a modern Mac OS machine that can handle NFS or SMB shares. I have no idea what recordsize to use for this.

There’s more I want to do, but that should be enough to let me decommission the QNAP. I’d really appreciate any advice. The sooner I can empty the old NAS, the sooner I can use its pair of disks in the new NAS. Thanks!

I feel that this article should probably evacuate most of your doubts:

These guys use ZFS a lot, and can probably be considered experts in the field.