I have once more overthought things long enough to start secondguessing my choices, and decided to come get some advice.
My understanding of the recordsize attribute is that it sets a maximum value, and ZFS will use smaller actual record sizes where possible, up to the recordsize max, when writing data.
Since I’m not trying to squeeze every last drop of performance out of a commercial production system, for ease of use it was recommended to me by someone who admins ZFS as part of their job to go with recordsize=1M whenever I didn’t have a specific workload that needed a different value (e.g., databases and virtual machines, mostly), and ZFS would happily chug along just fine and slice and dice data writes accordingly.
Is that still good practice with the latest version of ZFS. Aside from databases and virtual machines, are there other caveats I should be aware of?