I have an ashift=12-based dataset set up on an NVME-based mirror to use to store LXC containers and templates.
My understanding is that LXCs do not use zVols, so the relevant property for controlling how data is written to disk is recordsize. Is that correct?
If so, PVE defaults to the default recordsize for new datasets: 128K.
I don’t really trust PVE’s defaults for ZFS to be actually optimized, since the PVE devs assume you know what you’re doing when it comes to setting up your own storage. ![]()
So, question: I typically set recordsize to 1Mon datasets that don’t have workloads with specific instructions for how set it, since that’s ceiling. This isn’t a QEMU/KVM VM, so I’m not sure that the safe default 64k applies. For an LXC running a general purpose Linux server workload that doesn’t have some specific tuning recommendation, what’s a sane default? 1M, or something else?